Commit Graph

242 Commits

Author SHA1 Message Date
72df2ce33c
chore(parser): rename struct variable
All checks were successful
submodules sync / sync (push) Successful in 53s
build / build (push) Successful in 2m9s
build / trigger-build-image (push) Successful in 9s
2025-02-17 12:04:39 -05:00
b4e706f8e9
chore(parser): make unnecessary methods private
All checks were successful
submodules sync / sync (push) Successful in 43s
build / build (push) Successful in 1m46s
build / trigger-build-image (push) Successful in 9s
2025-02-17 09:28:36 -05:00
1e75ab1c6e
feat(parser/plugin): new parser that can load from a plugin (#81)
All checks were successful
submodules sync / sync (push) Successful in 46s
build / build (push) Successful in 1m48s
build / trigger-build-image (push) Successful in 8s
2025-02-17 09:10:19 -05:00
45490f3d1e
feat(parser/tierscore): new tiered scoring parser
All checks were successful
submodules sync / sync (push) Successful in 49s
build / build (push) Successful in 1m48s
build / trigger-build-image (push) Successful in 9s
2025-02-17 08:20:35 -05:00
dd4e375dd4
docs(internal/stage): units in struct fields 2025-02-17 07:07:29 -05:00
19bcc90ae9
refactor: move internal/conf to cmd/joj3 2025-02-11 11:16:38 -05:00
a834e0ff17
docs(executor, parser): move README content to package comments (#85) 2025-02-11 11:16:37 -05:00
7254c48f9a
chore(executor): move struct to meta.go 2025-02-11 10:01:53 -05:00
49b7c7c5db
chore(parser): move Conf struct to meta.go 2025-02-11 03:41:17 -05:00
6b3ebebecb
feat(parser/log): support specify log level
All checks were successful
submodules sync / sync (push) Successful in 31s
build / build (push) Successful in 1m5s
build / trigger-build-image (push) Successful in 6s
2025-02-01 21:52:26 -05:00
10ff3ebfa1
feat(cmd/joj3): remove hardcoded teapot part (#83) [force build]
All checks were successful
submodules sync / sync (push) Successful in 35s
build / build (push) Successful in 1m11s
build / trigger-build-image (push) Successful in 7s
2025-02-01 09:10:03 -05:00
290b614159
feat(parser/log): new parser 2025-02-01 08:43:36 -05:00
98cf2c812f
feat(executor/local): clock time limit
All checks were successful
submodules sync / sync (push) Successful in 35s
build / build (push) Successful in 1m7s
build / trigger-build-image (push) Successful in 6s
2025-02-01 03:13:18 -05:00
58c6d5607f
feat(parser/debug): debug parser
All checks were successful
submodules sync / sync (push) Successful in 34s
build / build (push) Successful in 1m1s
build / trigger-build-image (push) Successful in 7s
2025-01-31 22:07:59 -05:00
d6b3cce551
revert: "feat(executor/local): rlimit on CPU, Memory, Stack"
Some checks failed
submodules sync / sync (push) Successful in 46s
build / build (push) Successful in 1m14s
build / trigger-build-image (push) Has been cancelled
This reverts commit 198fcc3c86.
2025-01-31 19:27:08 -05:00
5d78017c36
feat(cmd/joj3): support skip teapot
Some checks failed
submodules sync / sync (push) Successful in 53s
build / build (push) Failing after 1m3s
build / trigger-build-image (push) Has been skipped
2025-01-29 09:00:57 -05:00
41734ef5d5
chore(cmd/joj3): remove redundant return value
Some checks failed
build / build (push) Failing after 0s
build / trigger-build-image (push) Has been skipped
submodules sync / sync (push) Failing after 0s
2025-01-29 08:39:30 -05:00
454df2c6fc
feat(conf): pre-stages and post-stages (#83)
Some checks failed
build / build (push) Failing after 1s
build / trigger-build-image (push) Has been skipped
submodules sync / sync (push) Failing after 0s
2025-01-29 08:13:33 -05:00
0f339656aa
chore(internal/conf): split models to a new file 2025-01-29 07:57:58 -05:00
950708cd11
chore(internal/conf): remove single parser config
Some checks failed
build / build (push) Failing after 1s
build / trigger-build-image (push) Has been skipped
submodules sync / sync (push) Failing after 0s
2025-01-27 22:50:38 -05:00
a6353dfed8
chore(parser): remove unused conf parts
Some checks failed
build / build (push) Failing after 1s
submodules sync / sync (push) Failing after 0s
build / trigger-build-image (push) Has been skipped
2025-01-27 21:08:41 -05:00
a82f8eb90c
chore(internal/conf): remove group from desc 2025-01-21 02:50:01 -05:00
198fcc3c86
feat(executor/local): rlimit on CPU, Memory, Stack
All checks were successful
submodules sync / sync (push) Successful in 51s
build / build (push) Successful in 1m47s
build / trigger-build-image (push) Successful in 9s
2025-01-11 20:50:40 -05:00
e25cfa78f5
refactor(parser/file): remove
All checks were successful
submodules sync / sync (push) Successful in 1m9s
build / build (push) Successful in 1m21s
build / trigger-build-image (push) Successful in 9s
2024-12-06 10:53:58 -05:00
7e5dbd733e
fix(executor/local): append env
All checks were successful
submodules sync / sync (push) Successful in 39s
build / build (push) Successful in 1m15s
build / trigger-build-image (push) Successful in 7s
2024-12-05 13:20:54 -05:00
d0c6d27637
chore(parser/healthcheck): more logs
All checks were successful
submodules sync / sync (push) Successful in 39s
build / build (push) Successful in 1m15s
build / trigger-build-image (push) Successful in 7s
2024-12-05 12:53:34 -05:00
0f5ccf8af2
feat(healthcheck): add teapot-checker to repo-health-checker
All checks were successful
submodules sync / sync (push) Successful in 44s
build / build (push) Successful in 1m28s
build / trigger-build-image (push) Successful in 8s
2024-12-05 12:05:22 -05:00
648fe7d0a4
feat(cmd/teapot-checker): only block used groups
All checks were successful
submodules sync / sync (push) Successful in 46s
build / build (push) Successful in 1m30s
build / trigger-build-image (push) Successful in 9s
2024-12-05 07:35:40 -05:00
5abda79a54
feat(parser/file): force quit on non empty conf
All checks were successful
submodules sync / sync (push) Successful in 46s
build / build (push) Successful in 1m34s
build / trigger-build-image (push) Successful in 10s
2024-12-04 06:35:39 -05:00
868154b440
feat(executor/local): full result state 2024-12-04 06:30:44 -05:00
a708e768ec
refactor(parser/diff): rename field with default
All checks were successful
submodules sync / sync (push) Successful in 37s
build / build (push) Successful in 1m8s
build / trigger-build-image (push) Successful in 6s
2024-11-29 01:57:44 -05:00
862693bf1f
feat(parser/file): show file content
All checks were successful
submodules sync / sync (push) Successful in 35s
build / build (push) Successful in 1m6s
build / trigger-build-image (push) Successful in 6s
2024-11-29 01:53:30 -05:00
96ed65f05d
fix(parser/diff): add cases on non-accepted
All checks were successful
submodules sync / sync (push) Successful in 32s
build / build (push) Successful in 1m5s
build / trigger-build-image (push) Successful in 7s
2024-11-29 01:41:31 -05:00
505f776e6e
feat(parser/diff): fail on non-accepted status
All checks were successful
submodules sync / sync (push) Successful in 42s
build / build (push) Successful in 1m19s
build / trigger-build-image (push) Successful in 8s
2024-11-29 01:26:21 -05:00
b3f76c24a7
feat(parser/resultdetail): files in code block conf
All checks were successful
submodules sync / sync (push) Successful in 35s
build / build (push) Successful in 1m6s
build / trigger-build-image (push) Successful in 7s
2024-11-28 14:30:31 -05:00
d76270d1ba
fix(executor/local): skip existing files
All checks were successful
submodules sync / sync (push) Successful in 33s
build / build (push) Successful in 1m8s
build / trigger-build-image (push) Successful in 7s
2024-11-28 14:17:46 -05:00
11c2f65ea2
refactor(executor/local): remove unused buffer struct
Some checks failed
build / build (push) Failing after 30s
build / trigger-build-image (push) Has been skipped
submodules sync / sync (push) Successful in 32s
2024-11-28 13:56:09 -05:00
83f3721eb2
feat(executor/local): append env to current
Some checks failed
submodules sync / sync (push) Successful in 38s
build / build (push) Failing after 45s
build / trigger-build-image (push) Has been skipped
2024-11-28 10:43:33 -05:00
2a3ccb71df
refactor: move cmd/joj3/conf to internal/conf
Some checks failed
build / build (push) Failing after 4s
build / trigger-build-image (push) Has been skipped
submodules sync / sync (push) Successful in 31s
2024-11-28 10:32:57 -05:00
c3f7b0fa2b
feat(executor/local): simple local executor without limits
Some checks failed
build / trigger-build-image (push) Blocked by required conditions
submodules sync / sync (push) Has been cancelled
build / build (push) Has been cancelled
2024-11-28 10:05:44 -05:00
be1d697fdb
refactor(parser/diff): better compare strings performance
All checks were successful
submodules sync / sync (push) Successful in 40s
build / build (push) Successful in 1m32s
build / trigger-build-image (push) Successful in 7s
2024-11-16 03:29:51 -05:00
b8c233b1bb
test(parser/diff): add myers diff test
All checks were successful
submodules sync / sync (push) Successful in 43s
build / build (push) Successful in 1m32s
build / trigger-build-image (push) Successful in 8s
2024-11-16 03:07:12 -05:00
79297a26f7
chore: log force quit stage name
Some checks failed
submodules sync / sync (push) Failing after 4s
build / build (push) Successful in 1m30s
build / trigger-build-image (push) Successful in 8s
2024-11-15 03:17:17 -05:00
c992ca383d
feat(stage): executor result log per case
All checks were successful
submodules sync / sync (push) Successful in 50s
build / build (push) Successful in 1m43s
build / trigger-build-image (push) Successful in 8s
2024-11-15 01:03:35 -05:00
158bba1460
chore: debug level executor logs
All checks were successful
submodules sync / sync (push) Successful in 44s
build / build (push) Successful in 1m32s
build / trigger-build-image (push) Successful in 8s
2024-11-14 06:45:40 -05:00
4b418600e3
chore(executor/sandbox): different default call options max size
All checks were successful
submodules sync / sync (push) Successful in 39s
build / build (push) Successful in 1m22s
build / trigger-build-image (push) Successful in 7s
2024-11-14 04:19:29 -05:00
d5857e15b5
revert: "chore(executor/sandbox): log pbReq byte size"
Some checks failed
submodules sync / sync (push) Successful in 42s
build / build (push) Successful in 1m29s
build / trigger-build-image (push) Failing after 6s
This reverts commit 6931f3d102.
2024-11-14 03:27:14 -05:00
6931f3d102
chore(executor/sandbox): log pbReq byte size
All checks were successful
submodules sync / sync (push) Successful in 43s
build / build (push) Successful in 1m30s
build / trigger-build-image (push) Successful in 7s
2024-11-14 03:00:16 -05:00
70804cdce2
feat(parser/diff): debug log for case & parser summary
All checks were successful
submodules sync / sync (push) Successful in 44s
build / build (push) Successful in 1m26s
build / trigger-build-image (push) Successful in 7s
2024-11-13 23:31:30 -05:00
a88a6f3e17
feat(parser/diff): extra field in log parser summary
All checks were successful
submodules sync / sync (push) Successful in 42s
build / build (push) Successful in 1m25s
build / trigger-build-image (push) Successful in 7s
2024-11-12 21:34:42 -05:00
c2818bb348
feat(parser/diff): log parser summary
All checks were successful
submodules sync / sync (push) Successful in 48s
build / build (push) Successful in 1m43s
build / trigger-build-image (push) Successful in 7s
2024-11-12 21:24:43 -05:00
5c6915ad36
chore: remove period in short sentences
Some checks failed
build / trigger-build-image (push) Blocked by required conditions
build / build (push) Has been cancelled
submodules sync / sync (push) Has been cancelled
2024-11-10 01:01:10 -05:00
d8cead75b4
fix(parser/resultstatus): add newline in comment
All checks were successful
submodules sync / sync (push) Successful in 45s
build / build (push) Successful in 1m29s
build / trigger-build-image (push) Successful in 8s
2024-11-10 00:26:07 -05:00
58b69523aa
feat(executor): only log pbCmd & pbReq size
All checks were successful
submodules sync / sync (push) Successful in 41s
build / build (push) Successful in 1m23s
build / trigger-build-image (push) Successful in 8s
2024-11-06 08:08:16 -05:00
153c261ab8
feat(executor): default 2 GiB grpc msg size
All checks were successful
submodules sync / sync (push) Successful in 39s
build / build (push) Successful in 1m19s
build / trigger-build-image (push) Successful in 7s
2024-11-06 07:46:44 -05:00
adb9dd2a9a
feat(executor): default 512 MB grpc msg size
All checks were successful
submodules sync / sync (push) Successful in 41s
build / build (push) Successful in 1m17s
build / trigger-build-image (push) Successful in 7s
2024-11-06 07:20:05 -05:00
0cb1a63025
feat(executor): debug log total protobuf cmds size
All checks were successful
submodules sync / sync (push) Successful in 41s
build / build (push) Successful in 1m28s
build / trigger-build-image (push) Successful in 8s
2024-11-06 07:14:53 -05:00
ce794f1315
feat(executor): debug log protobuf sizes only
All checks were successful
submodules sync / sync (push) Successful in 43s
build / build (push) Successful in 1m21s
build / trigger-build-image (push) Successful in 8s
2024-11-06 04:38:22 -05:00
8bc1b8284d
feat(executor): debug log protobuf cmds
Some checks failed
build / trigger-build-image (push) Blocked by required conditions
submodules sync / sync (push) Successful in 40s
build / build (push) Failing after 11m38s
2024-11-06 03:16:35 -05:00
d9fd85d4a5
feat(executor): debug log protobuf request
All checks were successful
submodules sync / sync (push) Successful in 50s
build / build (push) Successful in 1m53s
build / trigger-build-image (push) Successful in 11s
2024-11-06 03:08:41 -05:00
a2ae94dbcd
feat(stage): remove debug log of files
All checks were successful
submodules sync / sync (push) Successful in 47s
build / build (push) Successful in 1m53s
build / trigger-build-image (push) Successful in 8s
2024-11-05 23:13:08 -05:00
6b99cc41a9
feat(parser/resultdetail): rename MaxFilesLength => MaxFileLength
All checks were successful
submodules sync / sync (push) Successful in 36s
build / build (push) Successful in 1m58s
build / trigger-build-image (push) Successful in 8s
2024-11-04 19:06:17 -05:00
f66ab6d493
feat(parser/resultdetail): default MaxFilesLength 65536 2024-11-04 19:05:27 -05:00
0b841dd730
feat(parser/diff): default max diff length 2048
All checks were successful
submodules sync / sync (push) Successful in 39s
build / build (push) Successful in 1m20s
build / trigger-build-image (push) Successful in 7s
2024-11-04 09:00:04 -05:00
e5ae6fc223
chore(parser/diff): rename size to length
All checks were successful
submodules sync / sync (push) Successful in 38s
build / build (push) Successful in 1m20s
build / trigger-build-image (push) Successful in 7s
2024-11-04 08:40:52 -05:00
5d5bc21447
feat(parser/resultdetail): support MaxFilesLength
All checks were successful
submodules sync / sync (push) Successful in 40s
build / build (push) Successful in 1m18s
build / trigger-build-image (push) Successful in 7s
2024-11-04 08:32:01 -05:00
0df4df339f
refactor(parser/diff): MaxDiffSize => MaxDiffLength 2024-11-04 08:31:40 -05:00
cc435f9156
feat(parser/diff): support max diff size
All checks were successful
submodules sync / sync (push) Successful in 40s
build / build (push) Successful in 1m26s
build / trigger-build-image (push) Successful in 7s
2024-11-04 08:26:53 -05:00
59bbd98a58
style: use += 1 instead of ++
All checks were successful
submodules sync / sync (push) Successful in 47s
build / build (push) Successful in 1m28s
build / trigger-build-image (push) Successful in 8s
2024-11-04 08:09:35 -05:00
5fd7c19783
feat(parser/diff): support max diff lines
All checks were successful
submodules sync / sync (push) Successful in 47s
build / build (push) Successful in 1m32s
build / trigger-build-image (push) Successful in 8s
2024-11-04 08:07:05 -05:00
bcaed579e5
feat(parser/cppcheck): match both id and severity
All checks were successful
submodules sync / sync (push) Successful in 44s
build / build (push) Successful in 1m30s
build / trigger-build-image (push) Successful in 8s
2024-11-04 04:07:24 -05:00
d54a557d23 feat(parser): show match occurrences (#76)
Some checks failed
build / trigger-build-image (push) Blocked by required conditions
build / build (push) Has been cancelled
submodules sync / sync (push) Has been cancelled
Reviewed-on: #76
Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Co-committed-by: Boming Zhang <bomingzh@sjtu.edu.cn>
2024-11-04 09:44:05 +08:00
b34645d76e
feat(parser/cppcheck): ignore nofile
Some checks failed
build / trigger-build-image (push) Blocked by required conditions
build / build (push) Has been cancelled
submodules sync / sync (push) Has been cancelled
2024-11-03 02:12:37 -05:00
f0349a461b
fix(parser/cppcheck): backward compatibility
Some checks failed
submodules sync / sync (push) Successful in 43s
build / build (push) Failing after 1m28s
build / trigger-build-image (push) Has been skipped
2024-11-03 01:20:50 -05:00
e68de4fcc5
feat(parser): only check result status in resultstatus and healthcheck parser
Some checks failed
build / build (push) Failing after 6s
build / trigger-build-image (push) Has been skipped
submodules sync / sync (push) Has been cancelled
2024-11-03 01:59:53 -04:00
a29fccbfa4 feat(parser): unify parsers conf (#74)
Some checks failed
build / trigger-build-image (push) Blocked by required conditions
build / build (push) Has been cancelled
submodules sync / sync (push) Has been cancelled
Reviewed-on: #74
Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Co-committed-by: Boming Zhang <bomingzh@sjtu.edu.cn>
2024-11-02 16:35:07 +08:00
cc3b4b0b13
feat(parser/keyword): use Keywords in Matches
All checks were successful
submodules sync / sync (push) Successful in 40s
build / build (push) Successful in 1m17s
build / trigger-build-image (push) Successful in 7s
2024-11-02 04:08:21 -04:00
f23d8932ea feat(parser/keyword): force quit on deduct (#75)
All checks were successful
submodules sync / sync (push) Successful in 37s
build / build (push) Successful in 1m17s
build / trigger-build-image (push) Successful in 7s
Reviewed-on: #75
Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Co-committed-by: Boming Zhang <bomingzh@sjtu.edu.cn>
2024-11-02 15:53:37 +08:00
4b848bf1f1
feat(parser/cpplint): better summary
Some checks failed
build / trigger-build-image (push) Blocked by required conditions
build / build (push) Has been cancelled
submodules sync / sync (push) Has been cancelled
2024-11-01 21:21:15 -04:00
bbde1136ad
fix(parser/resultstatus): default forcequit option 2024-11-01 21:20:42 -04:00
fa649fcabe
feat(parser/resultstatus): conf force quit on not accepted
Some checks failed
submodules sync / sync (push) Successful in 42s
build / build (push) Failing after 1m40s
build / trigger-build-image (push) Has been skipped
2024-11-01 18:39:36 -04:00
419da6c19b
fix(parser/clangtidy): skip empty category
Some checks failed
build / trigger-build-image (push) Blocked by required conditions
build / build (push) Has been cancelled
submodules sync / sync (push) Has been cancelled
2024-11-01 05:36:53 -04:00
9e1ecf164b
feat(parser/clangtidy): summary by category
Some checks failed
build / trigger-build-image (push) Blocked by required conditions
build / build (push) Has been cancelled
submodules sync / sync (push) Has been cancelled
2024-11-01 05:26:06 -04:00
e4dc1adc13
feat(parser/keyword): remove min score
All checks were successful
submodules sync / sync (push) Successful in 40s
build / build (push) Successful in 1m21s
build / trigger-build-image (push) Successful in 7s
2024-11-01 03:38:22 -04:00
03c2819d25
feat(parser/keyword): max match count
All checks were successful
submodules sync / sync (push) Successful in 42s
build / build (push) Successful in 1m21s
build / trigger-build-image (push) Successful in 7s
2024-11-01 03:31:04 -04:00
5de4c3ee78
feat(parser): unify default init score = 0 (#73)
All checks were successful
submodules sync / sync (push) Successful in 36s
build / build (push) Successful in 1m28s
build / trigger-build-image (push) Successful in 7s
2024-11-01 03:13:38 -04:00
6a7787a974
feat(parser/resultstatus): 0 score on non-accepted status
All checks were successful
submodules sync / sync (push) Successful in 42s
build / build (push) Successful in 1m26s
build / trigger-build-image (push) Successful in 7s
2024-11-01 03:08:20 -04:00
2ddeb473af
chore(executor/sandbox): clearer error log
All checks were successful
submodules sync / sync (push) Successful in 38s
build / build (push) Successful in 1m26s
build / trigger-build-image (push) Successful in 7s
2024-10-30 01:52:09 -04:00
132a50833b
chore(parser/healthcheck): output in code format on error 2024-10-29 17:04:27 -04:00
cda3faeb9a
feat(parser): make stdout & stderr file in conf 2024-10-29 17:02:35 -04:00
08cd9d287b
feat(parser/dummy): support force quit
Some checks failed
build / build (push) Failing after 8s
build / trigger-build-image (push) Has been skipped
submodules sync / sync (push) Successful in 32s
2024-10-28 23:59:43 -04:00
2c045b8494
feat(resultdetail): show executor status by default
Some checks failed
submodules sync / sync (push) Failing after 2s
build / build (push) Successful in 1m29s
build / trigger-build-image (push) Successful in 10s
2024-10-22 06:59:56 -04:00
358f097235 feat(cmd/joj3): return non-zero on force quit (#63)
All checks were successful
build / build (push) Successful in 1m14s
build / trigger-build-image (push) Successful in 7s
Reviewed-on: #63
Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Co-committed-by: Boming Zhang <bomingzh@sjtu.edu.cn>
2024-10-18 14:54:53 +08:00
7ff6dfb002 fix(parser/clangtidy): ignore empty lines
All checks were successful
build / build (push) Successful in 1m8s
build / trigger-build-image (push) Successful in 7s
2024-10-16 16:15:54 -04:00
1e83ba4b87
fix(parser/resultdetail): format on empty error
All checks were successful
build / build (push) Successful in 1m3s
build / trigger-build-image (push) Successful in 7s
2024-10-15 20:56:04 -04:00
c218c93069
feat(parser/diff): option to force quit on diff
All checks were successful
build / build (push) Successful in 1m7s
build / trigger-build-image (push) Successful in 8s
2024-10-15 03:43:19 -04:00
a001b26b66
feat(parser/diff): remove result status check 2024-10-15 03:42:16 -04:00
5084b659f6
fix(parser/diff): ns to ms conversion
All checks were successful
build / build (push) Successful in 1m9s
build / trigger-build-image (push) Successful in 7s
2024-10-13 06:11:38 -04:00
303e742d90
refactor(parser/keyword): rename EndOnMatch -> ForceQuitOnMatch
All checks were successful
build / build (push) Successful in 1m3s
build / trigger-build-image (push) Successful in 7s
2024-10-12 23:46:31 -04:00
f4662eb123
fix(parser/resultdetail): file format 2024-10-12 17:41:08 -04:00