tioj-judge 2.0.0
This version is NOT backward compatible with TIOJ 2.x. Upgrade to TIOJ 3.0 when upgrading the judge client.
Breaking Changes
Library
- Separate
Submissionclass into two classes:Submissionfor the settings andSubmissionResultfor the results - Replace the old
Reporterinterface withSubmission::reporter - Merge
Submission::td_limitsandSubmission::td_groupsintoSubmission::testdatausingstruct Submission::TestdataLimit - Explicitly specify the testdata paths in
Submission::TestdataLimit::[input/answer]_file- The old testdata saving interface (e.g.
TdInput,TdOutput) is thus removed
- The old testdata saving interface (e.g.
Judge Client
- Use base64 code fetching of TIOJ 3.0
New Features
- Judge client: Add a configuration file option to change the testdata storing path
- Can be used for running multiple judge instances (#4)
- Allow passing additional compilation arguments
Submission::[user/specjudge]_compile_options
- Add
Compiler::CUSTOMfor custom compilation
Other Changes
- Upgrade to spdlog 1.12.0 and use its built-in fmt library