diff options
author | Prabhu Ramachandran | 2016-09-01 17:59:39 +0530 |
---|---|---|
committer | GitHub | 2016-09-01 17:59:39 +0530 |
commit | 01e08dd15b59ce353043d541c9be81592cda3fe0 (patch) | |
tree | ba1a9f7ffee92b79262b83fa9eb6eed303550f98 /yaksh/settings.py | |
parent | 27e7a443ef132e04cc5aeece7a5bf34d0687f482 (diff) | |
parent | a4b636508d572cbe00ae8d0336c7b30494bad4a6 (diff) | |
download | online_test-01e08dd15b59ce353043d541c9be81592cda3fe0.tar.gz online_test-01e08dd15b59ce353043d541c9be81592cda3fe0.tar.bz2 online_test-01e08dd15b59ce353043d541c9be81592cda3fe0.zip |
Merge pull request #105 from adityacp/stdin_stdout_evaluator
Stdin stdout evaluators
Diffstat (limited to 'yaksh/settings.py')
-rw-r--r-- | yaksh/settings.py | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/yaksh/settings.py b/yaksh/settings.py index 70e5471..b1336f4 100644 --- a/yaksh/settings.py +++ b/yaksh/settings.py @@ -11,7 +11,7 @@ SERVER_PORTS = [8001] # range(8001, 8026) SERVER_POOL_PORT = 53579 # Timeout for the code to run in seconds. This is an integer! -SERVER_TIMEOUT = 2 +SERVER_TIMEOUT = 4 # The root of the URL, for example you might be in the situation where you # are not hosted as host.org/exam/ but as host.org/foo/exam/ for whatever @@ -21,11 +21,20 @@ URL_ROOT = '' code_evaluators = { "python": {"standardtestcase": "python_assertion_evaluator.PythonAssertionEvaluator", - "stdoutbasedtestcase": "python_stdout_evaluator.PythonStdoutEvaluator" - }, - "c": {"standardtestcase": "cpp_code_evaluator.CppCodeEvaluator"}, - "cpp": {"standardtestcase": "cpp_code_evaluator.CppCodeEvaluator"}, - "java": {"standardtestcase": "java_code_evaluator.JavaCodeEvaluator"}, - "bash": {"standardtestcase": "bash_code_evaluator.BashCodeEvaluator"}, + "stdiobasedtestcase": "python_stdio_evaluator.PythonStdioEvaluator" + }, + "c": {"standardtestcase": "cpp_code_evaluator.CppCodeEvaluator", + "stdiobasedtestcase": "cpp_stdio_evaluator.CppStdioEvaluator" + }, + "cpp": {"standardtestcase": "cpp_code_evaluator.CppCodeEvaluator", + "stdiobasedtestcase": "cpp_stdio_evaluator.CppStdioEvaluator" + }, + "java": {"standardtestcase": "java_code_evaluator.JavaCodeEvaluator", + "stdiobasedtestcase": "java_stdio_evaluator.JavaStdioEvaluator"}, + + "bash": {"standardtestcase": "bash_code_evaluator.BashCodeEvaluator", + "stdiobasedtestcase": "bash_stdio_evaluator.BashStdioEvaluator" + }, + "scilab": {"standardtestcase": "scilab_code_evaluator.ScilabCodeEvaluator"}, } |