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
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