Nimisha Asthagiri
31ec562168
Merge pull request #14490 from edx/beryl/request-cache-feature-flag
...
request-cache grades feature flag to avoid 400+ memcached hits
2017-02-08 11:41:55 -05:00
Nimisha Asthagiri
f2abce53cb
request-cache grades feature flag to avoid 400+ memcached hits
2017-02-08 10:01:52 -05:00
Nimisha Asthagiri
697b3d7d98
Add new relic parameters to grades task
2017-02-07 19:29:17 -05:00
Nimisha Asthagiri
7cc08399c6
Fix mongo query count for Grades API
2017-02-01 17:58:36 -05:00
Jesse Zoldak
b0647e7d83
Revert "Fix mongo query count for Grades API"
2017-02-01 11:09:43 -05:00
Nimisha Asthagiri
704a16ad3f
Fix mongo query count for Grades API
2017-02-01 09:32:27 -05:00
Eric Fischer
6f8383199f
Allow null edited_timestamp
...
Some old mongo courses do not have this field, and the team has opted
to allow null values rather than inserting a default. This change
affects both course and subsection grades.
TNL-6408
2017-01-30 13:19:36 -05:00
Eric Fischer
a78db97d26
Delay grades recalculation task
...
As discovered in load testing, if this task is run too quickly it
can ask for a newly-recorded score prior to the active transaction
finishing and writing to the database.
TNL-6424
2017-01-30 13:19:36 -05:00
sanfordstudent
09c021e7ee
Merge pull request #14370 from edx/sstudent/grades-tasks-logging
...
add task id to logging and log database exceptions for TNL-6332
2017-01-26 10:44:09 -05:00
Sanford Student
dd93496f7a
add task id to logging and log database exceptions
...
for TNL-6332, TNL-6373
2017-01-26 10:06:34 -05:00
J. Cliff Dyer
df7c2715d3
Create infrastructure for reapplying tasks
...
and cleaning up tasks that have been resolved.
TNL-6252
2017-01-25 16:22:40 -05:00
Nimisha Asthagiri
784ef04221
Merge pull request #14359 from edx/beryl/command_generate_cb_tasks
...
Update generate_course_blocks management command to enqueue tasks.
2017-01-24 17:24:30 -05:00
Nimisha Asthagiri
c04f4401dc
Update generate_course_blocks management command to enqueue tasks
2017-01-24 09:11:57 -05:00
Nimisha Asthagiri
5a9179bf00
Update has_database_updated_with_new_score to handle all block types
...
TNL-6331
2017-01-23 15:50:16 -05:00
J. Cliff Dyer
0d2ae5d4af
Store failed subsection grade calculations
...
TNL-6250
2017-01-18 09:43:07 -05:00
Sanford Student
00471d4a78
add index for modified to course and subsection grades
...
and first attempted for subsection
for TNL-6281
2017-01-12 12:50:35 -05:00
Nimisha Asthagiri
05087bfac2
Management command to Reset Grades
...
TNL-6251
2017-01-10 15:26:52 -05:00
Nimisha Asthagiri
adad6b2e83
Merge pull request #14293 from edx/beryl/pre-collect-grade-report
...
Grade Report: Reuse collected block structure
2017-01-10 13:44:24 -05:00
Nimisha Asthagiri
04d4ab0e4d
Grade Report: Reuse collected block structure
2017-01-09 22:04:16 -05:00
Eric Fischer
3fd86614b0
sub_api get_score return value is a dict
...
This access pattern was wrong, and was causing errors in production. I've
included an additional happy-path test.
2017-01-09 11:50:18 -05:00
Eric Fischer
a7c2a3d926
Retry on all exceptions on failed subsection grade update
2017-01-09 11:50:18 -05:00
Eric Fischer
69eae7b8fb
Test for missing submission score
...
Follow-up to this morning's change for TNL-6236
2017-01-03 14:47:23 -05:00
Eric Fischer
033567752b
Submissions scores can be too quick
...
It's possible this score has not been logged yet, we should handle that.
TNL-6236
2017-01-03 12:01:08 -05:00
Nimisha Asthagiri
99e6d53939
Preload definitions when collecting block structures
2016-12-29 08:51:26 -05:00
sanfordstudent
e860205e67
Merge pull request #14191 from edx/beryl/content_library_access
...
Test retrieving subsection grade after losing access to block in subsection
2016-12-21 13:19:05 -05:00
Nimisha Asthagiri
d1d8d31bba
Test retrieving subsection grade after losing access to block in subsection
2016-12-21 11:49:33 -05:00
Sanford Student
ac9b8fba5e
context manager for course id in context
2016-12-20 15:26:05 -05:00
Eric Fischer
5a98a90eba
Use timestamps in _has_database_updated_with_new_score check
...
Also fixes issue where ORA grades were never updated, by including
them in this check.
TNL-5994
TNL-5995
2016-12-09 13:46:34 -05:00
Sanford Student
5f2ffbe75b
implementation of grading events
...
for TNL-5045
2016-12-07 14:47:08 -05:00
Sanford Student
44074f30a2
move course version repopulation to runtime layer
...
for TNL-6065
2016-12-06 10:22:13 -05:00
Nimisha Asthagiri
b2cd0359e5
Merge pull request #14032 from edx/beryl/unattempted-grade-report
...
Update grade report to distinguish between Not Attempted and 0
2016-11-30 18:03:07 -05:00
Eric Fischer
264d1940bf
Merge pull request #13989 from proversity-org/proversity/fix-removed-in-django-19-warning-studio
...
Remove warning RemovedInDjango19Warnings in Studio
2016-11-30 15:06:30 -05:00
Eric Fischer
bf64d17f0a
Merge pull request #14071 from edx/efischer/reversify_migration
...
Allow grades app to be zero-migrated
2016-11-30 15:01:51 -05:00
Nimisha Asthagiri
aca69f78f2
Update Subsection Grade Report to differentiate Not Attempted and 0
...
TNL-5990
2016-11-30 12:36:26 -05:00
Nimisha Asthagiri
e87388e24c
Grades cleanup before updating grade report
...
Remove deprecated SingleSectionGrader. TNL-5987
Remove display_name and module_id from Scores objects
Update CourseGradeFactory.__init__ to not be user-specific
Update some callers to use CourseGrade class instead of "summary" dict
Remove no longer needed course_grades.py module.
Renamed django signal from GRADES_UPDATED to COURSE_GRADE_CHANGED
2016-11-30 12:36:25 -05:00
Eric Fischer
47afbcf832
Allow grades app to be zero-migrated
2016-11-30 10:30:32 -05:00
Sanford Student
4eb5311ece
Separating problem raw score changed and problem weighted score changed signals
...
For TNL-5993
2016-11-30 10:15:07 -05:00
jagonzalr
e9b121b8cd
prevent RemovedInDjango19Warnings
2016-11-30 10:06:13 -05:00
J. Cliff Dyer
5350e31667
fixup: extract some common code.
2016-11-22 15:53:30 -05:00
J. Cliff Dyer
0e2534f3ec
Wrap update_or_create in transaction to allow validation after save
2016-11-22 12:12:15 -05:00
J. Cliff Dyer
86c12e67cc
fixup: Error instead of correcting on invalid inputs.
2016-11-22 11:48:33 -05:00
J. Cliff Dyer
b6305a1553
Use first_attempted value from database
...
TNL-5930
2016-11-21 15:12:42 -05:00
Nimisha Asthagiri
a6b93f1ab7
Fix missing import due to merge conflict between parallel PRs
2016-11-18 15:05:09 -05:00
Cliff Dyer
3fcc904eae
Merge pull request #13985 from edx/cdyer/grade-latency
...
Track grading task latency
2016-11-18 14:56:45 -05:00
Nimisha Asthagiri
47de5e6c68
Merge pull request #14021 from edx/beryl/null-subsection-error
...
Handle DAGs with inaccessible Subsections on Problem Score update
2016-11-18 13:57:25 -05:00
J. Cliff Dyer
210a5a4a3e
Add log statement when task is first created.
...
TNL-5817
2016-11-18 13:35:38 -05:00
Nimisha Asthagiri
bc551b9b25
Merge pull request #14001 from edx/beryl/get-max-score-opt
...
Optimize max_score by moving from XModule to Descriptor
2016-11-18 11:41:55 -05:00
Nimisha Asthagiri
6e1471e442
Merge pull request #14012 from edx/beryl/unattempted-problems
...
Compute Attempted versus Grade of Zero
2016-11-18 11:23:30 -05:00
Nimisha Asthagiri
89d916918f
Handle DAGs with inaccessible Subsections on Problem Score update
...
TNL-5886
2016-11-18 10:34:01 -05:00
Nimisha Asthagiri
fda2ceac8d
Fix Delete-Student-State CSM entry deletion
2016-11-18 10:27:12 -05:00