Commit Graph

97 Commits

Author SHA1 Message Date
769287a798 feat: make convert work on Windows
All checks were successful
build / build (push) Successful in 2m12s
2025-05-30 07:01:29 -04:00
37acb8690a feat: default health check score = 0 2025-05-30 07:01:28 -04:00
d4b84d30e5 fix: new fields in test cases 2025-05-30 07:01:14 -04:00
caaa07187a docs: command to upgrade to latest version
All checks were successful
build / build (push) Successful in 1m46s
2025-05-30 03:59:47 -04:00
a7a2300f03 feat: support health check score in repo.toml
All checks were successful
build / build (push) Successful in 1m53s
2025-05-29 00:59:27 -04:00
11ca053704 feat: support proc limit (#19)
All checks were successful
build / build (push) Successful in 1m38s
2025-05-27 22:19:24 -04:00
7a30ef1bf0 feat: control show CPU time in toml
All checks were successful
build / build (push) Successful in 1m56s
2025-05-27 22:02:51 -04:00
9dda8ca7d9 chore: joj3-forge as script alias
All checks were successful
build / build (push) Successful in 1m48s
2025-05-27 20:46:59 -04:00
58037b4672 feat(elf): support for elf (#18)
All checks were successful
build / build (push) Successful in 1m31s
- elf support added
- testcases for elf

Reviewed-on: #18
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-28 08:20:55 +08:00
f8a032a156 chore: use latest pycln
All checks were successful
build / build (push) Successful in 1m50s
2025-05-27 18:07:42 -04:00
91ecfe333b chore: hide WIP commands
All checks were successful
build / build (push) Successful in 1m50s
2025-05-27 18:01:04 -04:00
9290167a7e ci: skip coverage upload
All checks were successful
build / build (push) Successful in 1m58s
2025-05-27 15:24:24 +08:00
ae592a3825 fix: log path (#17)
Some checks failed
build / build (push) Failing after 5m17s
- fix log path for `joj-mon`

Reviewed-on: #17
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 (#16)
All checks were successful
build / build (push) Successful in 2m43s
fix problems in #15

Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Reviewed-on: #16
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 (#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
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
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
56c4981340
chore: better template files list
All checks were successful
build / build (push) Successful in 1m55s
2025-03-19 23:59:19 -04:00
160f16ca2b
style: better types
All checks were successful
build / build (push) Successful in 2m2s
2025-03-19 09:19:58 -04:00
19f5c7193f
ci(build): upload coverage on master only
All checks were successful
build / build (push) Successful in 1m54s
2025-03-19 02:18:41 -04:00
48c04d2830
feat: support create from template files
All checks were successful
build / build (push) Successful in 2m1s
2025-03-19 01:53:48 -04: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
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
75558700b4
refactor: use partial to simplify parsers function maps
All checks were successful
build / build (push) Successful in 2m2s
2025-03-17 19:19:50 -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
87dd8acb69
chore: more consts
All checks were successful
build / build (push) Successful in 2m1s
2025-03-15 03:23:29 -04:00
cc000c93ff
chore: move functions 2025-03-15 03:19:01 -04:00
ce4605a22a
chore: rename files
All checks were successful
build / build (push) Successful in 1m53s
2025-03-15 03:03:28 -04:00
6630612915
feat: create toml to stdout by default 2025-03-15 02:37:08 -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
a4a45fbc07
chore: un-ignore pdm.lock
All checks were successful
build / build (push) Successful in 1m54s
2025-03-06 15:51:42 -05:00
a7b8bf8c12
ci(build): upload coverage
All checks were successful
build / build (push) Successful in 2m40s
2025-03-06 15:34:21 -05:00
0b8671f48f
docs(README): codacy badges 2025-03-06 15:30:08 -05:00
f7fad87307
style: simplier logic
All checks were successful
build / build (push) Successful in 2m18s
2025-03-06 07:00:23 -05:00
a828716fd8
chore: coverage script
All checks were successful
build / build (push) Successful in 2m58s
2025-03-05 03:31:47 -05: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
ae77fa23b5
fix: default path for tests 2025-02-27 01:26:21 -05:00
870f20dde9
chore: remove unused utils 2025-02-27 01:25:56 -05:00
723705b94f
fix: store path for both conf objs
All checks were successful
build / build (push) Successful in 2m21s
2025-02-27 01:17:14 -05:00
4c12bf9a34
fix: store root path
Some checks failed
build / build (push) Has been cancelled
2025-02-27 01:14:40 -05:00
c4639aef76
fix: store relative path to root
All checks were successful
build / build (push) Successful in 2m46s
2025-02-27 00:24:43 -05:00
ab5bfc6cfe
fix: find repo.toml recursively
All checks were successful
build / build (push) Successful in 2m23s
2025-02-25 14:05:00 -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