summaryrefslogtreecommitdiff
path: root/yaksh/models.py
AgeCommit message (Collapse)Author
2017-03-02changed string check namesmaheshgudi
2017-03-02added float based questionsmaheshgudi
2017-03-02added string based questions.maheshgudi
2017-03-02added integer based question typemaheshgudi
2017-03-02changed mcq to single correct choicemaheshgudi
2017-02-08removed max_length from stdio test case attributesmaheshgudi
2017-02-03Merge pull request #206 from maheshgudi/fix-191Prabhu Ramachandran
added skip question feature. closes #191
2017-02-03renamed quiz model attribute from can_skip_questions to allow_skipmaheshgudi
2017-02-03removed none type in answerpaper generationmaheshgudi
2017-02-03added skip question feature. closes #191maheshgudi
The can_skip_questions attribute is to be set True for students to be able to skip questions. If it is set as False, students wont be able to skip to the next question.
2017-02-02Fix test errors and PEP8 formatting.Prabhu Ramachandran
2017-02-02Fix #201.Prabhu Ramachandran
The issue is that when the ouput directory is set to `tempfile.gettempdir()` the user nobody cannot stat the created directory on OS X. The code server therefore is unable to see the directory resulting in problems. Instead we create the directory inside the application as it was done earlier.
2017-01-25Merge pull request #184 from maheshgudi/mcq_bugfixPrabhu Ramachandran
Minor view changes
2017-01-23Minor fixes to instruction field renderingankitjavalkar
2017-01-23Add course instructionsankitjavalkar
2017-01-23moved activate/deactivate course button to the top. Removed instructions ↵maheshgudi
from create_demo_course
2017-01-22rectified monitor answerpaper view. Changed mcqfield from charfield to ↵maheshgudi
textfield.
2017-01-21monitor sorts wrt to highest score. removed quiz instructions from models.maheshgudi
2017-01-18added bootstrap labels instead of mark tagmaheshgudi
2017-01-18Can download csv of students' performance per coursemaheshgudi
Moderator can now download the csv dump of the performance of students in each quiz (best attempt of the quiz) for a course.
2017-01-16Merge pull request #176 from maheshgudi/hook_evaluatorPrabhu Ramachandran
Hook evaluator
2017-01-16Merge pull request #177 from adityacp/fix_management_commandsPrabhu Ramachandran
Fix management commands
2017-01-13Fixed a bug which would mark all MCQ and MCC questions' answers as correctmaheshgudi
1. Due to the new evaluator, an unchecked bug, which marked all mcq and mcc attempts as correct, despite actually marking the wrong answer, has been fixed. 2. Added Test case to check for incorrect mcq and mcc questions 3. question.html would also render error msg for mcq and mcc questions. This has also been fixed.
2017-01-10Change views and models to create demo courseadityacp
2017-01-10Merge https://github.com/fossee/online_test into fix_management_commandsadityacp
2017-01-09added default value to hook code in modelsmaheshgudi
2017-01-09modified variable names in models and hook_evaluatormaheshgudi
2017-01-09Python hook evaluatorMahesh Gudi
2017-01-09Merge pull request #172 from adityacp/update_docsPrabhu Ramachandran
Update docs and fix minor issues
2017-01-06Change question models functionadityacp
2017-01-05Fix cli for python 3adityacp
2017-01-04Change demo settings for yaksh commandsadityacp
2017-01-04Merge https://github.com/fossee/online_test into fix_management_commandsadityacp
2017-01-04Fix management commandsadityacp
2017-01-03modified editing instructions. Instructions are now initialized in forms and ↵maheshgudi
not fetched from a file
2017-01-02Fix test case for models and code serveradityacp
2017-01-02Remove test_case_type field from Questions modeladityacp
2016-12-27Merge pull request #168 from maheshgudi/get_test_cases_fixPrabhu Ramachandran
Fixed get_test_cases method
2016-12-23Fix conflictadityacp
2016-12-23fixed pull conflictsmaheshgudi
2016-12-23fix error; allows get_test_cases method to fetch multiple test cases model ↵maheshgudi
classes.
2016-12-23Add new StandardTestCase model field for command line argsadityacp
2016-12-22- Fix grade user rendering issue when question is skippedankitjavalkar
- Modify grade user html template to create readable variables for answer and error
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-21Render output errors properly in grade userankitjavalkar
2016-12-20Fix errors and rename resourcesankitjavalkar
- code_evaluator module and class renamed to grader - Test cases fixed - Comments removed - weight variable renamed to mark
2016-12-20Remove commented codeankitjavalkar
2016-12-20Fix model test casesankitjavalkar
2016-12-20Add further changes to code evaluatorankitjavalkar