Commit Graph

13 Commits

Author SHA1 Message Date
3bb7cc195c
feat: more diff settings 2025-06-02 21:38:45 -04:00
df5295258f
feat: alias to all underscore 2025-06-02 19:20:36 -04:00
dce6e5d598
chore: update test results 2025-06-02 19:18:46 -04:00
26b128d2c7
fix: typo 2025-06-01 21:41:23 -04:00
d4b84d30e5 fix: new fields in test cases 2025-05-30 07:01:14 -04:00
ae592a3825 fix: log path ()
- fix log path for `joj-mon`

Reviewed-on: 
Reviewed-by: 张泊明518370910136 <bomingzh@sjtu.edu.cn>
Co-authored-by: Nuvole <jon-lee@sjtu.edu.cn>
Co-committed-by: Nuvole <jon-lee@sjtu.edu.cn>
2025-05-26 10:19:26 +08:00
b1ea7d9591 fix(diff): bugs on diff stdin and numerics ()
fix problems in 

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-24 02:45:38 +08:00
6375a37069 fix(diff): bugs in auto detect cases ()
- 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: 
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
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
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