diff options
author | maheshgudi | 2017-01-09 15:05:18 +0530 |
---|---|---|
committer | maheshgudi | 2017-01-09 18:10:30 +0530 |
commit | 1a8838084cea43525575521e88017f3106d44379 (patch) | |
tree | dcab58fbca690997330a36dddfd671f4e99a9ce0 /yaksh/hook_evaluator.py | |
parent | cf4f207f710b9f67e0973a99f5894c4a866bca4c (diff) | |
download | online_test-1a8838084cea43525575521e88017f3106d44379.tar.gz online_test-1a8838084cea43525575521e88017f3106d44379.tar.bz2 online_test-1a8838084cea43525575521e88017f3106d44379.zip |
added default value to hook code in models
Diffstat (limited to 'yaksh/hook_evaluator.py')
-rw-r--r-- | yaksh/hook_evaluator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/hook_evaluator.py b/yaksh/hook_evaluator.py index c125b21..891192c 100644 --- a/yaksh/hook_evaluator.py +++ b/yaksh/hook_evaluator.py @@ -36,7 +36,7 @@ class HookEvaluator(BaseEvaluator): Returns a tuple (success, error, test_case_weight) success - Boolean, indicating if code was executed successfully, correctly - weight - Float, indicating total weight of all successful test cases + mark_fraction - Float, indicating fraction of the weight to a test case error - String, error message if success is false returns (True, "Correct answer", 1.0) : If the student script passes all |