General
Hakutest common settings, specified under the general
field in the config file.
Fields
tests_directory
Specifies the folder where tests files are stored.
- Value: path (absolute or relative) to the folder where you want to store the tests.
- Default: Depends on your operating system.
results_directory
Specifies the folder where students' results are stored.
- Value: path (absolute or relative) to the folder where you want to store the results.
- Default: Depends on your operating system.
show_results
Specifies whether the results will be displayed immediately after the response is sent.
- Value: bool (
true
orfalse
), show results or not respectively. - Default:
true
.
overwrite_results
Specifies whether the results are allowed to be overwritten if the same student resubmits the solution again.
- Value: bool (
true
orfalse
), allow overwrite or not respectively. - Default:
false
.
Example
Example of general configuration:
config.yaml
general:
tests_directory: ./data/tests
results_directory: ./data/results
show_results: true
overwrite_results: false
# Other fields...