diff options
Diffstat (limited to 'yaksh/settings.py')
-rw-r--r-- | yaksh/settings.py | 36 |
1 files changed, 21 insertions, 15 deletions
diff --git a/yaksh/settings.py b/yaksh/settings.py index 6383999..690ddb1 100644 --- a/yaksh/settings.py +++ b/yaksh/settings.py @@ -19,22 +19,28 @@ SERVER_TIMEOUT = 4 # host.org/foo/exam set URL_ROOT='/foo' URL_ROOT = '' +# code_evaluators = { +# "python": {"standardtestcase": "yaksh.python_assertion_evaluator.PythonAssertionEvaluator", +# "stdiobasedtestcase": "yaksh.python_stdio_evaluator.PythonStdioEvaluator" +# }, +# "c": {"standardtestcase": "yaksh.cpp_code_evaluator.CppCodeEvaluator", +# "stdiobasedtestcase": "yaksh.cpp_stdio_evaluator.CppStdioEvaluator" +# }, +# "cpp": {"standardtestcase": "yaksh.cpp_code_evaluator.CppCodeEvaluator", +# "stdiobasedtestcase": "yaksh.cpp_stdio_evaluator.CppStdioEvaluator" +# }, +# "java": {"standardtestcase": "yaksh.java_code_evaluator.JavaCodeEvaluator", +# "stdiobasedtestcase": "yaksh.java_stdio_evaluator.JavaStdioEvaluator"}, + +# "bash": {"standardtestcase": "yaksh.bash_code_evaluator.BashCodeEvaluator", +# "stdiobasedtestcase": "yaksh.bash_stdio_evaluator.BashStdioEvaluator" +# }, + +# "scilab": {"standardtestcase": "yaksh.scilab_code_evaluator.ScilabCodeEvaluator"}, +# } + code_evaluators = { "python": {"standardtestcase": "yaksh.python_assertion_evaluator.PythonAssertionEvaluator", "stdiobasedtestcase": "yaksh.python_stdio_evaluator.PythonStdioEvaluator" - }, - "c": {"standardtestcase": "yaksh.cpp_code_evaluator.CppCodeEvaluator", - "stdiobasedtestcase": "yaksh.cpp_stdio_evaluator.CppStdioEvaluator" - }, - "cpp": {"standardtestcase": "yaksh.cpp_code_evaluator.CppCodeEvaluator", - "stdiobasedtestcase": "yaksh.cpp_stdio_evaluator.CppStdioEvaluator" - }, - "java": {"standardtestcase": "yaksh.java_code_evaluator.JavaCodeEvaluator", - "stdiobasedtestcase": "yaksh.java_stdio_evaluator.JavaStdioEvaluator"}, - - "bash": {"standardtestcase": "yaksh.bash_code_evaluator.BashCodeEvaluator", - "stdiobasedtestcase": "yaksh.bash_stdio_evaluator.BashStdioEvaluator" - }, - - "scilab": {"standardtestcase": "yaksh.scilab_code_evaluator.ScilabCodeEvaluator"}, + } } |