Alex Dusenbery
6dfa47b2fc
EDUCATOR-565 | Add POLICY_CHANGE_GRADES_ROUTING_KEY, fix errors in compute_all_grades_for_course circuitry.
2017-07-11 14:01:38 -04:00
Andy Armstrong
79acb5c5be
Reorder LMS imports using isort
2017-06-11 21:48:06 -04:00
Gregory Martin
79a2b6e245
Eventing for grading policy change
2017-05-31 14:07:14 -04:00
Gregory Martin
77b2229210
GradingPolicyChanged Signal Handler
...
https://openedx.atlassian.net/browse/EDUCATOR-393
2017-05-31 10:46:55 -04:00
J. Cliff Dyer
16acfef8ff
Add single retry to compute_grades tasks.
2017-05-08 13:52:27 -04:00
J. Cliff Dyer
5beae9d1e8
Raise error at first encounter during compute_grades_for_course(_v2) task
2017-05-08 12:18:32 -04:00
Nimisha Asthagiri
379a2c181b
Refactor Grade Report in prep for parallelization.
2017-04-27 08:33:01 -04:00
J. Cliff Dyer
77f5e2dd00
Fix batch size error and kwargification of compute_v2.
2017-04-26 16:30:27 -04:00
Nimisha Asthagiri
6cdfeb98cb
Merge pull request #14946 from edx/neem/refactor_grades_misc
...
Grades API misc cleanup
2017-04-25 10:14:25 -04:00
Nimisha Asthagiri
16114f585b
Miscellaneous grades code cleanup - pending from previous PRs
2017-04-24 17:58:18 -04:00
J. Cliff Dyer
7c3248f95c
Allow specifying waffle switch on compute_grades
...
If --estimate_first_attempted is passed, it can force enabling or
disabling the ENABLE_FIRST_ATTEMPTED waffle switch.
TNL-6841
2017-04-20 15:18:09 -04:00
Nimisha Asthagiri
1503e5f768
Grade only engaged learners
...
Add a new waffle switch that allows us to assume zero grades for
learners who have no entry previously recorded, and another to
disable persisting grades for unengaged learners.
TNL-6691
2017-04-11 10:41:57 -04:00
Robert Raposa
ffe64add55
Add new relic custom metrics to course home.
...
- Add new utilities to monitoring_utils djangoapp.
- Use new utilities for all new course tabs.
2017-03-31 15:19:53 -04:00
J. Cliff Dyer
a3154b923f
Create task to process a batch of grade computations.
...
TNL-6690
2017-03-28 12:46:51 -04:00
Joel Barciauskas
6a55ef7920
Merge pull request #14633 from edx/jbarciauskas/remove-newrelic-dep
...
Wrap all newrelic dependencies in a check to see if the module is loaded
2017-03-21 16:28:24 -04:00
J. Cliff Dyer
b89736c75c
Add compute_grades management command.
...
TNL-6689
2017-03-21 14:47:33 -04:00
Nimisha Asthagiri
634ac8a825
Still compute grades asynchronously when PersistentGrades is enabled
2017-03-16 18:26:17 -04:00
Joel Barciauskas
630985b3cc
Wrap all newrelic dependencies in a check to see if the module is loaded
2017-03-10 12:22:08 -05:00
Eric Fischer
715076a48b
Cleaner grades exception handling
2017-02-27 13:53:31 -05:00
J. Cliff Dyer
be8a898e68
Add logging to recalculate grades base task.
...
TNL-6294
* Use external celery_utils in edx-platform (TNL-6454)
* Remove old openedx.core celery_utils implementation.
2017-02-10 16:07:51 -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
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
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
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
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
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
4eb5311ece
Separating problem raw score changed and problem weighted score changed signals
...
For TNL-5993
2016-11-30 10:15:07 -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
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
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
Eric Fischer
b9adb42f23
Remove Extraneous Subsection Grade DatabaseError protection
...
These lines are now being run in async tasks anyways, so we can remove this
decorator and rely on the async task to retry itself. Also cleans up a few
pylint violoations noticed in subsection_grade.py.
Tests have been updated to match new behavior.
2016-11-15 10:49:32 -05:00
Nimisha Asthagiri
266bfb1ab3
Optimize async grades computation
...
TNL-5909
2016-11-08 19:22:30 -05:00
Sanford Student
6e52fd791f
fixes from robust grades bug bash
...
Update course grade query parameters and check scores when updating subsection grade
For TNL-5861
2016-11-08 14:16:03 -05:00
Nimisha Asthagiri
8ae20e3812
Add grades feature check to subsection task handler.
2016-11-01 21:21:04 -04:00
Eric Fischer
a54c4ea4f9
Revert "Unrevert "Fix Gating to use grades API, instead of its own calculations""
...
This reverts commit 7aacae9a4f .
2016-11-01 15:02:04 -04:00
Eric Fischer
caeac6921a
Fast-fail grades tasks if feature flag disabled
2016-11-01 13:34:10 -04:00
Eric Fischer
6a47311479
Update Persisted Course Grade on Subsection Grade update
...
Makes use of the new SUBSECTION_SCORE_CHANGED signal to trigger a task that
updates persisted course grade values. We've also renamed SCORE_CHANGED to
PROBLEM_SCORE_CHANGED to head off any issues with unclear signal names.
TNL-5740
2016-10-25 14:47:31 -04:00
Nimisha Asthagiri
7aacae9a4f
Unrevert "Fix Gating to use grades API, instead of its own calculations"
2016-10-24 12:33:59 -04:00
Nimisha Asthagiri
aa000c1a3d
Support for rescoring a problem only if the new score is higher
...
TNL-5046
2016-10-20 15:08:54 -04:00