The next generation judging system for Hydro (and vijos)
HydroJudge 是一个用于信息学算法竞赛的高效评测后端。
和之前的版本相比,HydroJudge 支持了自定义比较器、子任务、交互器等多种新特性。
前置需求:
下载本仓库,并切换到仓库目录。
npm install -g yarn # 如果已经安装yarn请跳过该步骤
yarn
创建设置目录 ~/.config/hydro
,并放置 judge.yaml
,配置文件格式详见 examples/judge.yaml
启动 go-sandbox,监听端口5050。
您应当以 root 身份运行。
node judge/daemon.js
--config=/path/to/config
--langs=/path/to/langs
--tmp=/path/to/tmp
--cache=/path/to/cache
--files=/path/to/files
--execute=http://executionhost/
在压缩包中添加 config.yaml (无此文件表示自动识别,默认1s, 256MB)。 见 测试数据格式
为旧版评测机设计的数据包仍然可用。 针对 problem.conf 的兼容性测试仍在进行中。