Calen Pennington
cfae1cdf62
Pep8 autofixes
2013-02-06 11:13:50 -05:00
Calen Pennington
0726294c35
Use get_child_descriptors for grades.py
2013-01-10 13:55:46 -05:00
Calen Pennington
89a0b82e5c
Decrease the number of queries needed for LMS courseware
...
This cuts the number of queries in 6.002 courseware loads from ~650 to
~5-40. Still to do: cache CustomTag templates so that we only load them
once per request.
2013-01-10 13:55:46 -05:00
Victor Shnayder
a5dcdcb705
Check for None to fix 3.091 progress tab crash
...
- get_module() contract says it can return None (e.g. if access control check failed)
2012-10-11 13:08:05 -04:00
Victor Shnayder
af6dd84af0
Merge pull request #789 from MITx/feature/bridger/course_grading
...
Feature/bridger/course grading
2012-09-30 11:52:36 -07:00
Bridger Maxwell
fc73916e05
Removed django.conf.settings dependency from graders.
2012-09-28 23:14:55 -04:00
David Ormsbee
305dcfc4e9
Put tests to check ordering of scores returned on progress page.
2012-09-25 12:54:06 -04:00
David Ormsbee
5f6cc6ef93
Quick fix for scores within a homework/lab showing up in reverse order.
...
The real fix would be to have yield_dynamic_descriptor_descendents return
things in the proper order, but I'm not entirely sure what's going on
there, and this is a bug on prod now.
2012-09-24 16:24:38 -04:00
kimth
c1fc50437a
Adjust comments
2012-09-22 23:11:26 -07:00
kimth
48b93fc985
Arbitrary grading markers
2012-09-22 23:01:04 -07:00
Bridger Maxwell
9ec38176e0
Small cleanup tweaks in grading.
2012-09-20 16:56:09 -04:00
Bridger Maxwell
21f8fc3f9c
Fixed small bug.
2012-09-20 02:17:51 -04:00
Bridger Maxwell
b62e13aec8
Using new xmodule API in grades.py.
2012-09-20 02:06:41 -04:00
Bridger Maxwell
234fb813c6
Changed grades.grade to use new xmodule API. Now properly explores descriptor tree.
2012-09-20 01:03:43 -04:00
Bridger Maxwell
b65577f2b7
Fixed tests for fast grading.
2012-09-18 13:18:19 -04:00
Bridger Maxwell
bdc9e55fd0
Fixed progress_summary to use get_display_items(), which respects access control.
2012-09-16 00:36:26 -04:00
Bridger Maxwell
87da104974
Changes to speed up the progress summary too.
2012-09-08 01:09:42 -04:00
Bridger Maxwell
3baf92a849
Changed course grading to avoid initing capa modules.
2012-09-08 00:26:16 -04:00
Victor Shnayder
d0fcbdda8c
convert answers to strings to make sure they're hashable
2012-09-05 16:00:04 -04:00
Victor Shnayder
a8cd4633c0
remove debugging statements
2012-09-05 13:46:15 -04:00
Victor Shnayder
c89031b077
Export of answer distibutions to csv
...
- go through all students, all of their problems, save count for each answer
- return csv
- url exists, but no links to it yet
- Will need to integrate with Ike's new dashboard code
2012-09-05 13:40:29 -04:00
ichuang
2efe481237
move instructor dashboard into its own lms djangoapp; add new
...
functionality - grade dump and download as csv, manage staff list,
force reload of course from xml
2012-09-02 19:05:34 -04:00
Arjun Singh
3842c39f8a
Fixing order that problem scores are displayed in
2012-08-27 23:52:27 -07:00
Victor Shnayder
d13998a135
add docstring comment
2012-08-21 15:02:27 -04:00
Victor Shnayder
ec90200b81
fix migration to remove out of date index
...
* reorder index fields
2012-08-21 15:02:26 -04:00
Victor Shnayder
f44d794e63
Add course_id to StudentModule
...
* Update all uses.
2012-08-21 15:01:54 -04:00
kimth
eaef8c70a7
Lowercase
2012-08-20 18:51:34 -04:00
kimth
7e7247d8bf
Don't tabulate hidden chapters and sections in the Progress view
2012-08-20 18:47:18 -04:00
Victor Shnayder
c6c95c63ac
Keep each course's descriptors separate
...
* apply policy per-course, even if multiple courses share course and org fields
* keep descriptors separate in xml store, so that if two such courses
change the same module in different ways, it works. Such edits will need to
merged on CMS import...
* add get_instance(course_id, location) method to replace get_item(location).
Update all the call sites
* tests, including a 2nd toy course with same course and org.
2012-08-20 09:26:16 -04:00
Victor Shnayder
b782e2ff5d
Make start dates work for all modules
...
* error modules now hidden via access control
* get_module() returns None if user doesn't have access
2012-08-14 23:30:37 -04:00
Victor Shnayder
706fd99cab
Address comments on #394
2012-08-13 14:21:19 -04:00
Victor Shnayder
3455f8f64d
Hide errors from non-staff users
2012-08-12 18:03:12 -04:00
Victor Shnayder
6882b4b53d
responding to review comments on #383
2012-08-10 11:42:54 -04:00
Victor Shnayder
8e364e6d45
ensure float when computing module score
2012-08-10 11:42:54 -04:00
Bridger Maxwell
e4329c312d
Fixed log of error. Xmodules don't have ids, so I log the location instead.
2012-08-08 16:03:28 -04:00
Bridger Maxwell
696804da13
Changes from pull request comments.
2012-08-08 10:28:40 -04:00
Bridger Maxwell
ec04b0cb13
Changed yield_module_descendents to be stack-based, so it plays nicer with the profiler.
2012-08-07 16:16:31 -04:00
Bridger Maxwell
a9d67c3e8d
Added has_score attribute to xmodule, for problem-like xmodules.
2012-08-07 15:20:47 -04:00
Bridger Maxwell
638a5059da
Added stores_state attribute for xmoduledescriptors as a way to declare if the module stores state in the database.
2012-08-07 14:34:05 -04:00
Bridger Maxwell
3a52e86a87
Fixed weighting of individual problems. Unmodified problems have weight None, not 1.
2012-08-07 08:00:06 -04:00
Bridger Maxwell
873f1431ec
Put back dynamic grade cutoffs and final grade rounding (from stable-end-of-course)
2012-08-06 18:51:11 -04:00
Bridger Maxwell
baa2b14405
Changed interface of StudentModuleCache. Other changes from code review.
2012-08-06 16:36:53 -04:00
Bridger Maxwell
ba42c0225d
Moved the generation of the 'grading context' to a lazy property in course descriptor.
2012-08-06 13:57:41 -04:00
Bridger Maxwell
2348f71cc6
Merge remote-tracking branch 'origin/master' into MITx/feature/bridger/fast_course_grading
...
Conflicts:
lms/djangoapps/courseware/grades.py
lms/djangoapps/courseware/views.py
2012-08-06 11:48:42 -04:00
Bridger Maxwell
6d650d1825
Got the gradebook working again with the new fast grading method.
2012-08-03 17:55:25 -04:00
Bridger Maxwell
694520ebb2
StudentModuleCache now allows a list of descriptors. This speeds up grading significantly.
2012-08-03 17:00:04 -04:00
Victor Shnayder
94e24c1626
Leftover name->url_name fixes
2012-08-03 14:45:43 -04:00
Bridger Maxwell
854508b006
Removed the unnecessary creation of StudentModules when calling module_render's get_module.
2012-08-03 14:30:45 -04:00
Bridger Maxwell
408e988fbc
Started working on fast_grade method. It skips loading sections that a student doesn't have any answers for.
2012-08-03 11:41:06 -04:00
Victor Shnayder
987b9c11a9
Use url_name for chapters and sections in lms views
...
* got rid of the hackish conversions between ' ' and '_'
* use url_name and display_name where appropriate
* update templates to match.
2012-08-02 14:28:44 -04:00