Skip to content

Hobby project about local judging with Python. Used in training camps to prepare problems.

License

Notifications You must be signed in to change notification settings

stevennovaryo/python-judge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5863001 · Mar 6, 2024

History

7 Commits
Oct 26, 2023
Jan 21, 2024
Oct 26, 2023
Oct 26, 2023
Oct 26, 2023
Oct 26, 2023
Oct 26, 2023
Oct 26, 2023
Jan 19, 2024
Oct 26, 2023
Jan 21, 2024

Repository files navigation

Used to test solution and scorer based on public test data.

usage: main.py [-h] [-v] [-b] [--beta-mode] [--solution SOLUTION] [--scorer SCORER] [--test-dir TEST_DIR] [--config CONFIG]

optional arguments:
  -h, --help           show this help message and exit
  -v, --verbose        will also print error message if rte
  -b, --brief          only print the results
  --beta-mode          beta mode, uses cpu time to measure time limit
  --solution SOLUTION  solution file path
  --scorer SCORER      scorer file path
  --test-dir TEST_DIR  directory containing test cases
  --config CONFIG      config file path

Installation for Global Call

  1. Clone this repository and navigate to the directory.

  2. Enable execution permissions on start.sh

chmod +x start.sh
  1. Add the following alias to ~/.bashrc. Change ~/path/to/python-judge/ to the path where the repository directory is located.
alias "python-judge"="~/path/to/python-judge/start.sh"

About

Hobby project about local judging with Python. Used in training camps to prepare problems.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published