summaryrefslogtreecommitdiff
path: root/testapp/exam/models.py
AgeCommit message (Collapse)Author
2015-08-03Remove taggit-autocomplete app, make pip compatibleankitjavalkar
Conflicts: testapp/templates/demo_urls.py
2015-06-22Fix test cases and code_server importsankitjavalkar
2015-06-01Fix Multiple features:ankitjavalkar
- Update unanswered questions by model method not model field - Validate unanswered question
2015-06-01Add Multiple Features based on feedbackankitjavalkar
- Remove Attempt later button on last question - Improve mechanism for cycling through - Add attempt summary on Quit or Completion - Fix error paginator not displaying on error
2015-05-12Seperated tests into seperate folder, formatting changesankitjavalkar
2015-05-11- Seperate testcases, Modify views, models, templates for compatibilityankitjavalkar
- Change functions names in code_evaluator
2015-04-26Code Review: Code refactoringankitjavalkar
- Rename files - Create function for @classmethod call - Fix current, add new testcases - Fix views to fetch solution/ref_code_path fields in question post save - Fix errors
2015-04-26Code Review: Code refactoringankitjavalkar
- Add from_json classmethod - Question language is passed directly to the code server - Fix errors in evaluation of code - Fix test cases
2015-04-26Code review - code refactoring as per suggestionankitjavalkar
- Add subclasses for different languages - Create seperate modules for different languages - Dynamic selection of subclasses based on language used - Add testcases
2015-04-26Code review - changes as per code review discussionankitjavalkar
- Further commonify and simplify code_server, fix bugs
2015-04-26Code review - changes as per code review discussionankitjavalkar
- make loop in consolidate_test_cases more readable - split signal handler func definition into three seperate func - pass seperate kwargs to TestCode class - unpack json in CodeServer class and then pass to TestCode
2015-04-26Changes to Question model, Views, Add-Question UIankitjavalkar
- ref_code_path is now part of Question model - MCQ/MCC answers checked using solution field in question model - Formset should reload even after errors - add_question page chould display solution field only in MCQ/MCC
2015-04-26Code Server code cleanup and code commonificationankitjavalkar
- Pass question and test case info as json string (info_parameter) - Return success status and error message as a json string - Embed user answer and question lang in info_parameter - Commonify Python code evaluations and assertion test - Deprecate individual function call based on language
2015-04-26Modify form, views and templates to reflect changes made to TestCase modelankitjavalkar
2015-04-26Modify method of returning answers from code serverankitjavalkar
2015-04-26Modify method of passing test case attributes to code serverankitjavalkar
Conflicts: testapp/exam/admin.py testapp/exam/models.py testapp/exam/views.py
2015-04-26Add test case model for testing redesignankitjavalkar
Conflicts: testapp/exam/models.py testapp/exam/views.py
2015-04-07On skip or navigation, the user answer will be saved.prathamesh
Added boolean field in Answer model to check whether the answered is skipped or not.
2015-04-07Had missed models.py in the change variable commit.prathamesh
2015-04-07Multiple attempts and file upload question type.prathamesh
Can have multiple attempts for a quiz. Can also specify time lag between two successive attempts for a given quiz. Students can upload their code through the interface. The code will be saved in the folder named after their roll number. And the file name will be the question id.
2015-02-24On skip the answer will be saved.prathamesh
The user answer will be retrieved when the same question is loaded again later.
2015-01-20Assignment upload interface implementationprathamesh
2015-01-16added view, urls for assignment upload & changed the modelhardythe1
2015-01-14Added model to store assignment fileshardythe1
2014-09-23Models and views modified.prathamesh
Added number of attempts option for quiz. Also days lag between two attempts. added test status and attempt number for the test. Removed profile foreign key from answer paper models since user foreign key is present in the answer paper model. Urls slightly modified to include attemt number for a given quiz.
2014-07-15change made to subtract naive and aware datetimesprathamesh
2014-06-27Merge branch 'model_modification' into multiple_correct_typeprathamesh
2014-06-27Mutiple correct choices question type added.prathamesh
2014-06-27Made the minor changeprathamesh
2014-06-26Made pass field as boolean field.prathamesh
And changed variables to lowercases
2014-06-26changes as per suggestionprathamesh
2014-06-25Added test for new model fields and new methods created in models.prathamesh
2014-06-24modification in modelsprathamesh
Added shuffle option in the question paper. Added language field, passing criteria and prerequisite quiz in quiz. Added pass/fail result and percentage field in the answerpaper.
2014-06-22Made changes to update_total_marks methodprathamesh
2014-06-20Changes made as per the suggestions.prathamesh
2014-06-16Models modified.prathamesh
QuestionPaper model modified for generating random questions. Added language field to Question model. Removed tags from Quiz model. Template and javascript for Add and Edit questions modified. Added test cases for models.
2014-06-05Merge branch 'scilab_check' into scilab_autocheckprathamesh
Conflicts: testapp/exam/forms.py
2014-05-12Files modified according to the pep8 coding standard.prathamesh
2014-03-03Autochecks scilab function.prathamesh
A method is created that checks the scilab function submitted by the student. The method removes the terminating commands in scilab. If errors are present then it returns error, else provides input to the function and checks for the expected output. If function returns correct output for all the inputs then the function is graded correct, else throws the error message.
2013-07-08Added few questions. Made changes to fix minor bugs which were found during ↵prathamesh
testing.
2013-07-03Merge branch 'fresh_java' of https://github.com/prathamesh920/online_test ↵prathamesh
into deploy_server Conflicts: testapp/templates/exam/question.html
2013-07-03merged javaprathamesh
2013-07-02Edited view to give a message if all the questions are correctly answeredHardik Ghaghada
2013-05-08Function to check C-C++ codeprathamesh
Added a function which compiles C and C++ code submitted by the student. 1) If compilation is successful, then the submitted code is tested using test-cases. 2) To test the function written by the student, a C++ file calls the function and passes the argument to the function. Then the function checks for the expected return value. 3) If the return value is as expected, then a different set of arguments are passed, and the output is checked. 4) If for all set of arguments the output is as expected then the student code is graded correct else the error is displayed to the student. Changed the way the code is graded. Previously, the algorithm checked the student code for all test-cases. If all the test-cases were satisfied, the last-line of the program was reached and printed "All Correct". So at any point if a test-case fails, the last line is not reached as the program was terminate. When the string "All Correct" was found in the output, the code was graded as RIGHT else WRONG. This is not a proper way for code checking, as the student code *may* contain a print statement with the string('All Correct'), and thus can get program RIGHT even though it is WRONG. So now the student code is tested as follows: 1) The code checks for all test-cases. 2) If all test-cases are satisfied then it returns 0. 3) If any one of the test-case fails, the program is terminated and will return 1. 4) Now depending on the return status(0 or 1), it will grade the code. a) if 0 then RIGHT b) if 1 then WRONG This ensures, no manipulation from student side.
2013-04-2480 Cols per line, corrected indentation in files & implemented DRYHardik Ghaghada
2013-03-18Added code snippets for questionsJay Parikh
2012-04-18changes for student interfacehardythe1
2012-04-14model changes as per requirnmenthardythe1
2012-04-02Question Paper generator changeshardythe1
2012-03-22Autocomplete tagging functionalityhardythe1