summaryrefslogtreecommitdiff
path: root/yaksh/settings.py
diff options
context:
space:
mode:
authorankitjavalkar2016-03-11 12:11:49 +0530
committerankitjavalkar2016-05-05 18:59:22 +0530
commit1e993bee18028c59d809f49d853b60e41326991c (patch)
treee1af06404a634e54f9ad8a27c6948b131481b127 /yaksh/settings.py
parentceb4f2cbc1a03835a3c7e34d806ec21e47e3f059 (diff)
downloadonline_test-1e993bee18028c59d809f49d853b60e41326991c.tar.gz
online_test-1e993bee18028c59d809f49d853b60e41326991c.tar.bz2
online_test-1e993bee18028c59d809f49d853b60e41326991c.zip
Add a python standard out evaluator
Diffstat (limited to 'yaksh/settings.py')
-rw-r--r--yaksh/settings.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/yaksh/settings.py b/yaksh/settings.py
index 63bd875..f8b240d 100644
--- a/yaksh/settings.py
+++ b/yaksh/settings.py
@@ -20,7 +20,10 @@ SERVER_TIMEOUT = 2
URL_ROOT = ''
code_evaluators = {
- "python": "python_code_evaluator.PythonCodeEvaluator",
+ "python": {"assert_based": "python_code_evaluator.PythonCodeEvaluator",
+ "argument_based": "python_argument_based_evaluator.PythonCodeEvaluator",
+ "stdout_based": "python_stdout_evaluator.PythonStdoutEvaluator"
+ },
"c": "cpp_code_evaluator.CppCodeEvaluator",
"cpp": "cpp_code_evaluator.CppCodeEvaluator",
"java": "java_code_evaluator.JavaCodeEvaluator",