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.9.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

jutge_joapuiib-1.0.9-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

Details for the file jutge_joapuiib-1.0.9.tar.gz.

File metadata

  • Download URL: jutge_joapuiib-1.0.9.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for jutge_joapuiib-1.0.9.tar.gz
Algorithm Hash digest
SHA256 9c7db32e970c761a1bb026ff3194fc94940b367194259c44499630ee030e8aff
MD5 d4e30f31112d35c952c3f355fabce29a
BLAKE2b-256 70cfc4be59f0442f335e0caf7fec109ae2d949e1697a597a2899daa10101dfd2

See more details on using hashes here.

File details

Details for the file jutge_joapuiib-1.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for jutge_joapuiib-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 9d771102aa44015c340ab493847de785536e457ed9fb2a9ec0e7263b3260f0c0
MD5 580de5856dda8d2c6466adeaa19de31a
BLAKE2b-256 98c5cbf5f611ff0a5402a40d79f1450dfb4d4cf20b8597fcbde53fb0dbcddb0f

See more details on using hashes here.

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