Commit Graph

17 Commits

Author SHA1 Message Date
927e5ce95d fix: cases specific numerics remove when unecessary 2025-05-22 14:59:50 +08:00
ca63a94238 feat: add default score for diff 2025-05-22 14:28:35 +08:00
5acb2ca201 fix: remove stdin for diff stage 2025-05-22 14:08:39 +08:00
2f1686c1e3 test: case.command 2025-05-21 22:43:00 +08:00
2c3944ea3f fix: merge conflict 2025-05-21 22:37:50 +08:00
26df677b36 fix(diff): cases not properly detected 2025-05-21 22:36:12 +08:00
01759efb7b
fix: set default env PATH 2025-05-20 08:07:29 -04:00
8a6c34f3e9 feat(diff): auto detect testcases ()
- 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: 
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
a8a7fd47a0 feat: support for subfolder change param 2025-05-14 21:27:33 +08:00
e775992e5d
fix: sort default cases 2025-03-19 02:13:46 -04:00
a4717268ec fix: pytest 2025-03-19 12:56:07 +08:00
45903ae308 fix: master conflict 2025-03-19 12:34:28 +08:00
890120c479 fix(diff): use list instead of set to past tests 2025-03-18 15:59:26 +08:00
e4246ecf45 feat(diff): add auto detect testcases feature 2025-03-18 15:46:01 +08:00
dc8ae85cc8
feat: use default cmd in diff parser 2025-03-18 03:27:58 -04:00
80ba2f1451
feat: remove task.type from task.toml 2025-03-15 05:10:42 -04:00
18df2ef1c0
feat: support convert ()
- 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: 
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