Commit Graph

4 Commits

Author SHA1 Message Date
6375a37069 fix(diff): bugs in auto detect cases (#14)
All checks were successful
build / build (push) Successful in 2m5s
- fix original logic issue of cases generation (originally there is duplication on cases, e.g. `case5`, `task1/case5`)
- fix the issue that without any specification there is no cases input and output in `diff` stage

Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Reviewed-on: #14
Reviewed-by: 张泊明518370910136 <bomingzh@sjtu.edu.cn>
Co-authored-by: jon-lee <jon-lee@sjtu.edu.cn>
Co-committed-by: jon-lee <jon-lee@sjtu.edu.cn>
2025-05-22 01:34:01 +08:00
8a6c34f3e9 feat(diff): auto detect testcases (#13)
All checks were successful
build / build (push) Successful in 2m1s
- added support for subfolders
- complete the duplication for `*.toml` file, now ta only need to specify the param for the specific one. default values are hardcoded
- all testcases should be named as `casei.in/out`, with no interactions in their name in each of the subfolders, (for hidden cases and non-hidden cases, just change position and run again)

Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Reviewed-on: #13
Reviewed-by: 张泊明518370910136 <bomingzh@sjtu.edu.cn>
Co-authored-by: jon-lee <jon-lee@sjtu.edu.cn>
Co-committed-by: jon-lee <jon-lee@sjtu.edu.cn>
2025-05-15 17:47:08 +08:00
80ba2f1451
feat: remove task.type from task.toml
Some checks failed
build / build (push) Failing after 2m2s
2025-03-15 05:10:42 -04:00
18df2ef1c0
feat: support convert (#10)
All checks were successful
build / build (push) Successful in 2m18s
- basic generation of json files
  - supported parsers:
    - healthcheck
    - result-detail
    - result-status
    - file
    - log
    - dummy
    - keyword (keyword, clangtidy, cppcheck, cpplint)
    - diff
- `convert` functions is mature, tested in engr151-24fa last two homeworks and engr151-24fa p3
- teapot and healthcheck should be up to date

Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Reviewed-on: #10
Reviewed-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Co-authored-by: jon-lee <jon-lee@sjtu.edu.cn>
Co-committed-by: jon-lee <jon-lee@sjtu.edu.cn>
2025-03-05 03:23:52 -05:00