Commit Graph

88 Commits

Author SHA1 Message Date
Sanford Student
86eca26aa0 EDUCATOR-778: prefetched visible blocks 2017-06-29 12:09:22 -04:00
Andy Armstrong
79acb5c5be Reorder LMS imports using isort 2017-06-11 21:48:06 -04:00
Nimisha Asthagiri
adb88e21f3 Bulk-reads and Request caching in Course Grade Report
This reverts commit 5388d5d1fc.
2017-05-10 17:14:29 -04:00
Sanford Student
5388d5d1fc Revert "Bulk-reads and Request caching in Course Grade Report"
This reverts commit 16e9636513.
2017-05-09 16:25:46 -04:00
Nimisha Asthagiri
16e9636513 Bulk-reads and Request caching in Course Grade Report 2017-05-09 08:58:49 -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
4f6d5d9ce9 Estimate creation time for subsections grades based on timestamp of
incoming scores.

TNL-6697
2017-04-18 16:51:17 -04:00
Eric Fischer
fd1ed2ce6d Remove unneeded validation on grades model
These checks are causing SQL query numbers to scale linearly with the
number of subsections being created/updated, and the errors they
check for have not been seen in prod.

TNL-6225
2017-02-17 09:48:56 -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
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
Sanford Student
ac9b8fba5e context manager for course id in context 2016-12-20 15:26:05 -05:00
Sanford Student
5f2ffbe75b implementation of grading events
for TNL-5045
2016-12-07 14:47:08 -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
Sanford Student
6d50044ec4 adding first attempted timestamp to subsection grades
for TNL-5895
2016-11-15 10:01:44 -05:00
J. Cliff Dyer
2bc35396fb Add date_passed column to PersistentCourseGrade model.
The column is populated with the current timestamp when a passing grade
is persisted for the first time.  "Passing grade" is defined as having a
non-blank value for letter_grade.

TNL-5888
2016-11-10 10:27:03 -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
John Eskew
b27f8a29b5 Merge pull request #13671 from edx/jeskew/move_xmodule_django_to_openedx_core
Move xmodule_django app to openedx.core.djangoapps
2016-10-06 16:53:25 -04:00
John Eskew
3614eb2800 Move xmodule_django app to openedx.core.djangoapps 2016-10-06 14:50:40 -04:00
Eric Fischer
e24915d286 Revert "Merge pull request #13614 from edx/efischer/revert_grades"
This reverts commit 9aa35cd8ad.
2016-10-06 14:25:27 -04:00
Sanford Student
9d71ac2ecf SQL model for course grades
Includes unit tests
For TNL-5310
2016-10-05 15:45:54 -04:00
Adam
9aa35cd8ad Merge pull request #13614 from edx/efischer/revert_grades
Potential Grades revert PR
2016-09-30 14:08:58 -04:00
Nimisha Asthagiri
5ba77275d8 Fix problem weights in persisted grades
TNL-5599
2016-09-27 10:09:09 -04:00
J. Cliff Dyer
37fc450b8b Add version to VisibleBlocks model.
TNL-5600
2016-09-23 13:52:30 -04:00
Nimisha Asthagiri
4dbbe513be Reduce sql queries with persisted grades
TNL-5458
TNL-5493
2016-09-14 11:44:53 -04:00
sanfordstudent
c920269b6c Merge pull request #13407 from edx/sstudent/TNL-5398
logging
2016-09-12 13:55:43 -04:00
Sanford Student
c48996c0fc logging for persistent grades rollout 2016-09-12 12:02:44 -04:00
Nimisha Asthagiri
d244715e87 Don't sort blocks to retain order. 2016-09-10 13:29:58 -04:00
J. Cliff Dyer
ddd58dafd8 Ensure usage keys have course run in locators.
TNL-5475
2016-09-09 17:42:51 -04:00
Eric Fischer
401a81eda3 Instantiate BlockUsageLocator when making BlockRecord
We already have logic to serialize BUL objects to string on save,
but the corresponding deserialization logic was missing.
2016-08-29 14:13:33 -04:00
Eric Fischer
13687e4753 Grades cleanup
Small changes to the grades djangoapp
    -sets up mock_get_score context handler
    -fixes an issue with not invalidating lazy scores property
    -code quality fixes
    -query count optimization in PersistentSubscetionGrade.create
    -adds atomic blocks to avoid IntegrityErrors corrupting an entire request
2016-08-25 11:43:49 -04:00
Eric Fischer
22046d4067 Use PersistentSubsectionGrade in grades application
Hooks the pre-existing grades code into our new PersistentSubsectionGrade data
model. Includes test updates, and some minor changes to the data model that
were discovered in testing.
2016-08-22 09:47:37 -04:00
Eric Fischer
8fa2c23377 TNL-5005 Persistent Grades Data Model
Introduces database models and simple CRUD interface for robust grading
usage.
2016-08-17 17:45:27 +00:00