Skip to main content

CLI Judge to validate SQL and Java exercises

Project description

jutge

This is CLI judge to validate SQL and Java exercises.

It runs the provided code in a docker dedicated docker container and runs some tests to validate its correctness.

It supports:

  • Output comparison.
  • Unit tests (Only SQL for now).
  • JSON results.
  • Git integration.
    • Use Git tag.
    • Deadlines (using commit date).

Install requeriments

git clone https://github.com/joapuiib/jutge jutge-joapuiib
python3.8 -m pip install jutge-joapuiib

Example usage

$ check_repo.py -d dir/ repositories.csv

$ grade_repo.py testcase_file.yml directory/

TODO

  • Installation and usage
  • Testcase files documentation
  • YAML validators for each judge
  • Jutge version requeriment in tests file

SQL Judge

  • Normalize output new line endings
  • run_object instead of run_exercise and run_test

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jutge-joapuiib-1.0.7.tar.gz (12.6 kB view hashes)

Uploaded Source

Built Distribution

jutge_joapuiib-1.0.7-py3-none-any.whl (15.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page