Skip to content
/ kelvin Public
forked from mrlvsb/kelvin

Kelvin - The Ultimate Code Examinator

License

Notifications You must be signed in to change notification settings

Kobzol/kelvin

 
 

Repository files navigation

Kelvin

Kelvin - The Ultimate Code Examinator

Implementation

LDAP Howto

LDAP VSB with Python

Needed System Libraries

On Debian/Ubuntu:

libldap2-dev libsasl2-dev libcap-dev

Start worker

$ ./manage.py rqworker

How to create a new task

  1. Udelat novy adresar v /srv/kelvin/kelvin/tasks
  2. Vytvorit readme.md a nejake vstupy (mala_cisla.in) a vystupy (mala_cisla.out)
  3. Pripadne dalsi konfigurace je v config.yml ve stejnem adresari
  4. Pak se vytvorit zaznam v tabulce Tasks (zvolit nazev, a nazev adresare)
  5. Nasledne dany task priradit na cviceni

OPT: a obrazky se muzou davat treba do adresare figures

Task options in config.yml

  • filters:
    • TrailingSpaces - Removes spaces at the end of each line
    • Strip - stdout.strip()

Reevaluate a submit

./manage.py reevaluate --id <submit-id>

Run testing evaluation

$ ./manage.py evaluate ./tasks/gaura/komb_05_strings/ ./submit.c
$ chromium /tmp/eval/result.html

Run evaluator tests

python -m evaluator.tests

About

Kelvin - The Ultimate Code Examinator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 73.7%
  • HTML 20.9%
  • CSS 3.1%
  • C 1.5%
  • Other 0.8%