judge: objective: ensure typeof score = number

pull/386/head
undefined 2 years ago
parent f051bbf553
commit 9b92b47656

@ -141,7 +141,7 @@ To disable this feature, checkout our sourcecode.`);
setenv('PATH', `${__env.HOME}/.nix-profile/bin:${__env.PATH}`); setenv('PATH', `${__env.HOME}/.nix-profile/bin:${__env.PATH}`);
}, },
'nix-env -iA nixpkgs.busybox', 'nix-env -iA nixpkgs.busybox',
'nix-env --set-flag priority 5 busybox', 'nix-env --set-flag priority 3 busybox',
'nix-env -iA nixpkgs.bash nixpkgs.unzip nixpkgs.zip nixpkgs.diffutils nixpkgs.qrencode', 'nix-env -iA nixpkgs.bash nixpkgs.unzip nixpkgs.zip nixpkgs.diffutils nixpkgs.qrencode',
() => { () => {
return; // Not implemented yet return; // Not implemented yet
@ -238,7 +238,7 @@ To disable this feature, checkout our sourcecode.`);
`pm2 start "MINIO_ACCESS_KEY=${MINIO_ACCESS_KEY} MINIO_SECRET_KEY=${MINIO_SECRET_KEY} minio server /data/file" --name minio`, `pm2 start "MINIO_ACCESS_KEY=${MINIO_ACCESS_KEY} MINIO_SECRET_KEY=${MINIO_SECRET_KEY} minio server /data/file" --name minio`,
'pm2 start mongod --name mongodb -- --auth --bind_ip 0.0.0.0', 'pm2 start mongod --name mongodb -- --auth --bind_ip 0.0.0.0',
() => sleep(1000), () => sleep(1000),
`pm2 start hydro-sandbox -- -mount-conf ${__env.HOME}/.hydro/mount.yaml`, `pm2 start bash --name hydro-sandbox -- -c "ulimit -s unlimited && hydro-sandbox -mount-conf ${__env.HOME}/.hydro/mount.yaml"`,
'pm2 start hydrooj', 'pm2 start hydrooj',
'pm2 startup', 'pm2 startup',
'pm2 save', 'pm2 save',

@ -1,7 +1,7 @@
{ {
"name": "@hydrooj/hydrojudge", "name": "@hydrooj/hydrojudge",
"bin": "bin/hydrojudge.js", "bin": "bin/hydrojudge.js",
"version": "2.22.9", "version": "2.22.10",
"main": "package.json", "main": "package.json",
"author": "undefined <i@undefined.moe>", "author": "undefined <i@undefined.moe>",
"repository": "https://github.com/hydro-dev/Hydro.git", "repository": "https://github.com/hydro-dev/Hydro.git",

Loading…
Cancel
Save