🎉 XLorJudge v1.0 has now been released.
XLorJudge is a competitive programming contest judge core for XLor Online Judge. It can use uploaded testcase to run contestants' untrusted code in a reliable sandbox nsjail, and check if its result is correct with testlib (XLorJudge now fully supports testlib).
❗ XLorJudge must run in Linux with a kernel vision higher than 4.15.
I highly recommend that you deploy XLorJudge with docker
, because docker
reduce the burden on environment configuration and you can easily deploy many XLorJudge.
Make sure that you have installed docker
and docker-compose
.
git clone https://github.com/yjl9903/XLorJudge.git
cd XLorJudge
docker-compose up -d
Before running
docker-compose
, I recommend that you edit the configuration filesrc/configs/token.ts
to change the username and password.
XLorJudge will listen 3000
port.
You can run npm run mytest
to check whether judge core is working.
Docs is coming soon.
Detailed to do projects are in projects.
MIT © XLor