Nimisha Asthagiri
549f4b661e
Schedules: Add celery task logging
2017-12-04 14:16:27 -05:00
Alex Dusenbery
1ea419c2c4
EDUCATOR-1428 | Add time_limit to course/subsection grading tasks.
2017-10-17 15:28:01 -04:00
Nimisha Asthagiri
f8e3a3c461
Grades Cleanup
...
EDUCATOR-1405
EDUCATOR-1451
2017-10-02 19:03:26 -04:00
Nimisha Asthagiri
083ccdb95a
Remove unneeded WRITE_ONLY_IF_ENGAGED waffle switch
2017-09-25 16:13:07 -04:00
Nimisha Asthagiri
22edaf7d24
Grades: move out of temporary new folder
...
EDUCATOR-1400
2017-09-22 11:49:46 -04:00
Sanford Student
2d3e9dd12c
account for delete state in grading code
2017-08-30 13:20:52 -04:00
Tyler Hallada
623ea5eb40
Merge branch 'master' into EDUCATOR-926
2017-08-09 11:22:05 -04:00
Alex Dusenbery
aafd4d9c61
Turn down grades logging; put policy change regrade behind a waffle killswitch.
2017-08-03 14:06:17 -04:00
Tyler Hallada
e4a9bef8d5
Trigger recalculate subsection, undo override
2017-07-27 18:27:56 -04:00
Sanford Student
66fdd2fbd3
EDUCATOR-915: force subsection grades to update when course grade updates
2017-07-21 13:07:21 -04:00
Alex Dusenbery
6919fc8ce8
Use kwargs right.
2017-07-12 12:51:42 -04:00
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