Feanil Patel
9cf2f9f298
Run 2to3 -f future . -w
...
This will remove imports from __future__ that are no longer needed.
https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Stuart Young
3739609bef
run isort
2019-05-15 09:59:53 -04:00
Stuart Young
43b885995d
run python modernize
2019-05-15 09:59:51 -04:00
Ned Batchelder
e23e3a0486
Fix a number of unused-import pylint violations
2017-11-21 19:57:06 -05:00
J. Cliff Dyer
69271d043b
Handle completion of scorable blocks
...
* Add a handler to mark a block complete when a problem is scored.
* Also handle marking incomplete when user problem state is deleted.
* Add score_deleted to published providing_args for PROBLEM_{RAW,WEIGHTED}_SCORE_CHANGED
OC-3089
2017-10-25 11:50:09 -04:00
Tyler Hallada
503aff2518
Address PR comments
2017-08-03 13:30:53 -04:00
Tyler Hallada
a6b94a2400
Use signal instead of calling recalculate directly
2017-08-02 13:26:35 -04:00
Andy Armstrong
79acb5c5be
Reorder LMS imports using isort
2017-06-11 21:48:06 -04:00
Nimisha Asthagiri
16114f585b
Miscellaneous grades code cleanup - pending from previous PRs
2017-04-24 17:58:18 -04: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
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
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
266bfb1ab3
Optimize async grades computation
...
TNL-5909
2016-11-08 19:22:30 -05: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
J. Cliff Dyer
62042188f5
Revert "Fix Gating to use grades API, instead of its own calculations"
...
This reverts commit 318121411a .
2016-10-04 17:19:30 -04:00
Nimisha Asthagiri
318121411a
Fix Gating to use grades API, instead of its own calculations
...
TNL-5062
2016-09-24 00:46:28 -04:00
Eric Fischer
31953c5e0c
Update correct persistent score
...
* First take at forcing a subsection's grade to update when a signal is
sent that a problem's score has changed
* Refactor signal handler connection.
* Expand bokchoy tests to cover progress page
* Add some grading unit tests
TNL-5394
TNL-5364
2016-09-08 15:09:05 -04:00