Conversation
- separate logic from views, new utilities app for email, judge and plagiarism services - fixes issue #12 - update Django and drf to secure versions
- bump coderunner to 0.5 - 2 new functions run_code() and submit_code()
- new PlagResult model #17 - new moss_key field in Professor model - Support for New languages PHP, Bash
- cleaned judge.py (remove duplicate code) - fixed the bug where a new file was saved for every submission - Submission status is set to 'not-attempted' by default now
minor imporovement & bug fixes
- Issue : #25 - updated dependencies - new endpoint: /plagiarism-detector
- reduced the nested directory structure for file submission - new location MEDIA_ROOT/submissions/assignments/<assg_id>/
- Only One Solution object is created (OneToOne) - moved all Auth & Permission classes to settings - Update/Delete Views for Questions, Submissions & Assignments (New End-points) - Now ID is also returned for listing Submissions
- fixed a bug where submitting a solution for different user resulted in Unique Validator - cleaned & renamed Endpoints - Plagiarism Service WIP
- Renamed service to codesim - PlagiarismView works now 😉
- Fix #29 - New Fields are returned in codesim utility
- fix lgtm problems - fix PEP
Plagiarism Services & Minor Improvements
|
Hello @Bhupesh-V! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:
|
Codecov Report
@@ Coverage Diff @@
## master #32 +/- ##
=========================================
- Coverage 68.66% 65.8% -2.87%
=========================================
Files 16 20 +4
Lines 418 500 +82
=========================================
+ Hits 287 329 +42
- Misses 131 171 +40
Continue to review full report at Codecov.
|
|
This pull request fixes 1 alert when merging ee28520 into 654f116 - view on LGTM.com fixed alerts:
|
The 2nd Release of the CodeClassroom API
[2.0.0] - Jan 18, 2020
Added
utilitiesapp for housing different services like code evaluation, plagiarism, e-mail etc.PHP&Bash.created_datein Assignment, Question & Classroom model.OverwriteStorage()in Solution Model).moss_idfield in Professor model.Changed
/media/submissions/assignments/<assg_id>/with name like<question-id>_<student_id>.profile_picandinstistutionfields now acceptnullwhile signing up for a new user.PythontoPython3.marksfield in Question model is nownullacceptable.OneToOnerelation.PATCH/DELETEoptions for Classroom, Assignment, Questions & Submissions.