-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
v2.0.0 #32
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
utilities
app for housing different services like code evaluation, plagiarism, e-mail etc.PHP
&Bash
.created_date
in Assignment, Question & Classroom model.OverwriteStorage()
in Solution Model).moss_id
field in Professor model.Changed
/media/submissions/assignments/<assg_id>/
with name like<question-id>_<student_id>
.profile_pic
andinstistution
fields now acceptnull
while signing up for a new user.Python
toPython3
.marks
field in Question model is nownull
acceptable.OneToOne
relation.PATCH
/DELETE
options for Classroom, Assignment, Questions & Submissions.