summaryrefslogtreecommitdiff
path: root/yaksh/java_code_evaluator.py
AgeCommit message (Collapse)Author
2020-06-10Allow moderator to hide test cases from the userprathamesh
2018-07-12Raise appropriate exceptions for C and Java language to the Gradermaheshgudi
- Raise AssertionError,CompilationError and TestCaseError for assertion, user answer compilation and testcase compilation errors respectively. - Add test case for C/C++ and Java
2018-06-07Add tests for models and cpp, java evaluatorsadityacp
2018-06-07Further pep8 changesadityacp
2018-06-07Pep8 changesadityacp
2017-01-03Merge pull request #169 from ankitjavalkar/create_mark_fractionPrabhu Ramachandran
Add floating point mark_weight to control test case weightage
2016-12-27Add floating point mark_weight to control test case weightageankitjavalkar
2016-12-23Fix conflictadityacp
2016-12-23Remove the use of files for specifying test casesadityacp
2016-12-22Refactor check method for cleaner code and fixing multiple issuesankitjavalkar
- Question should skip to new question with new error rendering - Fix test cases Fix change_dir context manager in grader
2016-12-21Fix rendering and representation of errorsankitjavalkar
- Error are sent as list - Error are None if answer is fully correct - Error is rendered as in grade user and code questions as neat CSS divs - Fix corresponding test cases - Fix get_question answers in models.py
2016-12-20Change weight variable name to mark_fractionankitjavalkar
2016-12-20Remove commented codeankitjavalkar
2016-12-20Change all evaluator structure and make sure eval test cases passankitjavalkar
2016-11-16Change test_case weightage field name to weightankitjavalkar
2016-11-10Add point based weightage for partial grading instead of percentage based ↵ankitjavalkar
partial grading
2016-11-10Add partial grading to multiple evaluatorsankitjavalkar
2016-09-30Add unicode_literal import for Python2ankitjavalkar
2016-09-30Fix test cases and corresponding changes in evaluators for Python 2/3 ↵ankitjavalkar
compatibility
2016-09-30Migrate python code server and evaluators to python 2/3 compatibleankitjavalkar
2016-07-28changed file module name in evaluatorsadityacp
2016-07-28changed evaluators to support file based questionsadityacp
2016-05-10- Adhere to 80 columnsankitjavalkar
- add docstrings - Fix further tests
2016-05-05Remove commented code and cleanupankitjavalkar
2016-05-05Post review improvements:ankitjavalkar
- compiled_output is set during setup - python exec context renamed - _compile_command deprecated
2016-05-05add compile_code function to compile before checkingankitjavalkar
2016-05-05Multiple test cases passed as dicts, check_code() is iterated based on no. ↵ankitjavalkar
of test cases
2016-05-05- Refactor Scilab, Bash, Java and Cankitjavalkar
- Add Test Cases to reflect refactoring changes - Fix language registry - Add test case for language registry - Fix register in settings - Keep snippet field for now
2016-05-05Language registry altered, Name cleanup:ankitjavalkar
- set_registry will only act when registry is None - _setup, _teardown and _check_code are setup,teardown,check_code - Corresponding name changes in evaluator modules
2015-09-15Remove testapp dir, remove reference to testapp in paths, filesankitjavalkar