Commit Graph

41 Commits

Author SHA1 Message Date
2f1686c1e3 test: case.command
All checks were successful
build / build (push) Successful in 1m40s
build / build (pull_request) Successful in 1m44s
2025-05-21 22:43:00 +08:00
2c3944ea3f fix: merge conflict
All checks were successful
build / build (push) Successful in 1m24s
2025-05-21 22:37:50 +08:00
26df677b36 fix(diff): cases not properly detected
Some checks failed
build / build (push) Has been cancelled
2025-05-21 22:36:12 +08:00
01759efb7b
fix: set default env PATH
Some checks failed
build / build (push) Failing after 3m24s
2025-05-20 08:07:29 -04: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
a8a7fd47a0 feat: support for subfolder change param
All checks were successful
build / build (push) Successful in 1m50s
build / build (pull_request) Successful in 1m37s
2025-05-14 21:27:33 +08:00
ba456cf7f0 Merge branch 'master' into fix/diff
All checks were successful
build / build (push) Successful in 1m48s
2025-05-14 18:07:25 +08:00
305663538d
feat: higher mem limit for clang
All checks were successful
build / build (push) Successful in 1m59s
2025-03-21 19:10:32 -04:00
81e08b4a8c
feat: longer time limit for teapot upload
All checks were successful
build / build (push) Successful in 2m26s
2025-03-21 17:50:05 -04:00
2c78d75e07
feat: longer time limit for health check
Some checks failed
build / build (push) Failing after 3m15s
2025-03-21 17:26:58 -04:00
160f16ca2b
style: better types
All checks were successful
build / build (push) Successful in 2m2s
2025-03-19 09:19:58 -04:00
e775992e5d
fix: sort default cases
Some checks failed
build / build (push) Failing after 3m22s
2025-03-19 02:13:46 -04:00
a4717268ec fix: pytest
Some checks failed
build / build (push) Failing after 1m42s
2025-03-19 12:56:07 +08:00
45903ae308 fix: master conflict
Some checks failed
build / build (push) Failing after 1m41s
2025-03-19 12:34:28 +08:00
4103b18673
chore: better test failure hints
All checks were successful
build / build (push) Successful in 1m58s
2025-03-18 04:21:28 -04:00
d5780c5837
chore: use pure python tomli & tomlkit
All checks were successful
build / build (push) Successful in 1m48s
2025-03-18 04:03:36 -04:00
890120c479 fix(diff): use list instead of set to past tests
Some checks failed
build / build (push) Failing after 1m38s
2025-03-18 15:59:26 +08:00
e4246ecf45 feat(diff): add auto detect testcases feature
Some checks failed
build / build (push) Failing after 1m38s
2025-03-18 15:46:01 +08:00
dc8ae85cc8
feat: use default cmd in diff parser
Some checks failed
build / build (push) Failing after 2m1s
2025-03-18 03:27:58 -04:00
df14ad801b
feat: language specific create questions
All checks were successful
build / build (push) Successful in 1m48s
2025-03-17 19:07:11 -04: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
ce4605a22a
chore: rename files
All checks were successful
build / build (push) Successful in 1m53s
2025-03-15 03:03:28 -04:00
b43a25285e
feat: sample create command
All checks were successful
build / build (push) Successful in 1m53s
2025-03-13 20:57:05 -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
f5b7563869
feat: union type cmd files
All checks were successful
build / build (push) Successful in 2m32s
2025-02-28 08:13:08 -05:00
aee123601f
fix: root path for tests
All checks were successful
build / build (push) Successful in 2m23s
2025-02-27 01:28:43 -05:00
870f20dde9
chore: remove unused utils 2025-02-27 01:25:56 -05:00
67d2fcc4e4
feat: dump with exclude_none
All checks were successful
build / build (push) Successful in 2m26s
2025-02-25 04:15:05 -05:00
bddb67decf
test: allow non-exist toml file input
All checks were successful
build / build (push) Successful in 2m36s
2025-02-24 22:36:08 -05:00
48d01045b5
refactor: more compact test codes
All checks were successful
build / build (push) Successful in 1m50s
2024-10-23 01:39:36 -04:00
3b0b36c539
feat: convert joj1 cli 2024-10-22 06:29:33 -04:00
51b68b7c87
refactor: re-organize tests & models
Some checks failed
build / build (push) Failing after 1m38s
2024-10-22 06:17:09 -04:00
078ebd8147
feat: add pyyaml 2024-10-21 07:25:51 -04:00
75bb6d6667
feat: convert joj1 test dir 2024-10-21 07:21:23 -04:00
782ee0af72
refactor: organize convert test code files 2024-10-21 06:58:22 -04:00
74579cd539
style: make it python 3.6 compatible 2024-10-21 06:55:02 -04:00
9660ece52d
feat: set default CopyInDir
All checks were successful
build / build (push) Successful in 1m5s
2024-10-20 04:59:39 -04:00
8bf0f7cfff
feat: LLM generated convert function
All checks were successful
build / build (push) Successful in 1m3s
2024-10-20 04:46:41 -04:00
228488cbf2
feat: repo & task config model
All checks were successful
build / build (push) Successful in 1m5s
2024-10-20 01:54:55 -04:00
b804833e65
chore: cleanup & setup pdm 2024-10-17 18:28:01 -04:00
4f4f0fb3f5
chore: setup example for pytest 2024-10-17 05:46:20 -04:00