dodona-edu / universal-judge

Universal judge for educational software testing
https://docs.dodona.be/en/tested
MIT License
9 stars 4 forks source link

Run custom oracles with test directory as its current working directory #470

Closed pdawyndt closed 7 months ago

pdawyndt commented 7 months ago

The current working directory for a custom oracle is set to the judge directory (e.g. /mnt/wMMhNsWdAoiKynoYIdvQZA/judge). It would make more sense if the current directory were set to the temporary directory in which the tests are run. This way, the custom oracle has access to the same working directory as the submission.

Use case: check validity of generated book code from given subdirectory of working directory