-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: endpoint /api/ora_staff_grader/initialize
upgraded
#8
base: master
Are you sure you want to change the base?
Conversation
/api/ora_staff_grader/initialize
upgraded
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before continuing the review, please remove the style changes and open the PRs you need against upstream. Thanks!
@@ -36,7 +37,7 @@ def _usernames_enabled(): | |||
Checks if toggle for deanonymized usernames in report enabled. | |||
""" | |||
|
|||
return settings.FEATURES.get('ENABLE_ORA_USERNAMES_ON_DATA_EXPORT', False) | |||
return settings.FEATURES.get("ENABLE_ORA_USERNAMES_ON_DATA_EXPORT", False) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't add style changes to things we haven't modified, it generates unnecessary noise for the reviewers.
"assessment", | ||
"assessment_part", | ||
"assessment_feedback", | ||
"assessment_feedback_option", | ||
"submission", | ||
"score", | ||
] | ||
|
||
HEADERS = { | ||
'assessment': [ | ||
'id', 'submission_uuid', 'scored_at', | ||
'scorer_id', 'score_type', | ||
'points_possible', 'feedback', | ||
], | ||
'assessment_part': [ | ||
'assessment_id', 'points_earned', | ||
'criterion_name', 'criterion_label', | ||
'option_name', 'option_label', 'feedback' | ||
"assessment": [ | ||
"id", | ||
"submission_uuid", | ||
"scored_at", | ||
"scorer_id", | ||
"score_type", | ||
"points_possible", | ||
"feedback", | ||
], | ||
'assessment_feedback': [ | ||
'submission_uuid', 'feedback_text', 'options' | ||
"assessment_part": [ | ||
"assessment_id", | ||
"points_earned", | ||
"criterion_name", | ||
"criterion_label", | ||
"option_name", | ||
"option_label", | ||
"feedback", | ||
], | ||
'assessment_feedback_option': [ | ||
'id', 'text' | ||
"assessment_feedback": ["submission_uuid", "feedback_text", "options"], | ||
"assessment_feedback_option": ["id", "text"], | ||
"submission": [ | ||
"uuid", | ||
"student_id", | ||
"item_id", | ||
"submitted_at", | ||
"created_at", | ||
"raw_answer", | ||
], | ||
'submission': [ | ||
'uuid', 'student_id', 'item_id', | ||
'submitted_at', 'created_at', 'raw_answer' | ||
"score": [ | ||
"submission_uuid", | ||
"points_earned", | ||
"points_possible", | ||
"created_at", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment here ^. Let's not add style changes to the lines we haven't changed
feat: endpoint
/api/ora_staff_grader/initialize
upgradedImplementation Details
Modifications were made in the following directories:
ORA2
edx-platform
This upgrade will consist of two PRs: one for ORA and the other for edx-platform. This is because the main serializer of the service resides in the platform. To test it, you'll need to fetch and set up the version of the platform with the serializer modification.
when i have authorization to contritute at Edunext's edx-platform fork, I'll send the platform's PR.