A PHP repository offering examples for customizing judge script.
1. Resource Website
JudgeBoy/public/ is root of 45.32.107.147:83 that is placed css, js, and svg files for configuring the response of each submission.
Its configuration file is JudgeBoy/config/000-judgeboy.conf.
2. Judge Script Examples
We hope you can modify JudgeBoy/src/ClassicXX as your customizing one, so please change database and custom information:
interface IConnectInfo {
const HOST = '45.32.107.147';
const UNAME = 'account';
const PW = 'password';
const DBNAME = 'TAFreeDB';
public static function doConnect();
}
interface ICustomInfo {
const TESTDATA = 2; // 1) No testdata 2) Static testdata
const NORMALIZE = 3; // 1) Raw output 2) Trim output 3) Normalized output
const CLASSIC = 1; // 1) Standard comparison 2) Branch comparison 3) Post-process comparison
}
3. The Detailed Ideas
Yu-Tzu Wu (2017). An Automatic Assessment System for Marking Programming Exercises with Random Output (Master's thesis).
JudgeBoy is open-sourced software licensed under the MIT license.