39316 Commits

Author SHA1 Message Date
David Mudrak
f6e8b31802 workshop: general cleanup
Moving stuff from lib.php into static methods in localib.php. Removing
things from workshop core that were implemented in a subplugin. Dropping
stuff related to features not to be implemented in 2.0.
2010-01-04 18:22:10 +00:00
David Mudrak
d84d06ceff MDL-19930 workshop: comments grading strategy 2010-01-04 18:21:42 +00:00
David Mudrak
6f3535ac9c Rough search and replace accumulative > comments 2010-01-04 18:21:24 +00:00
David Mudrak
669314615f Initial copy of form/accumulative code 2010-01-04 18:21:04 +00:00
David Mudrak
e554671dc4 Assessments overrides and feedbacks
This requires the patch of MDL-20623 to be applied
2010-01-04 18:20:24 +00:00
David Mudrak
77f43e7d1a Frozen grid rubric layout fix 2010-01-04 18:20:10 +00:00
David Mudrak
407b1e9177 VIP Assessment review 2010-01-04 18:19:58 +00:00
David Mudrak
1696f36cf2 Fixed submission grade aggregation
Overriding the submission grade influence the total grade, not the
aggregated one.
2010-01-04 18:19:48 +00:00
David Mudrak
43b34576a4 Assessment form preview handled by a dedicated script
This was part of assessment.php but it makes the things too complicated.
2010-01-04 18:19:37 +00:00
David Mudrak
1a888282c9 eval/best/ is officially called 'Comparison with the best assessment' 2010-01-04 18:19:24 +00:00
David Mudrak
37f37237c8 Allow opening assessment forms in read-only mode 2010-01-04 18:19:13 +00:00
David Mudrak
1372eaa91b Remember the recently used grading evaluation settings 2010-01-04 18:18:53 +00:00
David Mudrak
f55650e6bc Grading evaluation is now configurable on-the-fly 2010-01-04 18:18:30 +00:00
David Mudrak
1fed6ce39a Workshop total grade calculation support 2010-01-04 18:18:00 +00:00
David Mudrak
b4857acb92 Display real grade values in the grading report 2010-01-04 18:17:47 +00:00
David Mudrak
39411930fa Grading grades aggregations 2010-01-04 18:17:37 +00:00
David Mudrak
2a9b468c35 Faking assessments reworked 2010-01-04 18:17:27 +00:00
David Mudrak
1accb520a0 Fixed regression and broken interafce implementation 2010-01-04 18:17:17 +00:00
David Mudrak
5c397bab92 Getting rid of supports_evaluation()
This seems to be over-desing-patternized. Methods needed by standard
eval plugins (ie part of standard distribution) are part of strategy
API. Contributed eval methods will have to patch strategy plugins if
they need some other data from them.
2010-01-04 18:17:03 +00:00
David Mudrak
9df08ee894 Methods to get info about assessments and dimensions are part of strategy API 2010-01-04 18:16:41 +00:00
David Mudrak
a880be9b14 Pagination a sorting fix 2010-01-04 18:16:23 +00:00
David Mudrak
63bf545a7f Rubric: fixed best evaluation support 2010-01-04 18:16:13 +00:00
David Mudrak
d524173efe MDL-19932 Rubric grading strategy implemented
The only weak point here is that we store a raw grade into
workshop_grades and not a direct id of the selected level. Therefore,
when re-assessing, we need to actually guess what level the assessor
chose previously. This is not problem if there are not two levels with
the same grade. Such case is not common when using Rubric. In the
future, this may get refactored so Rubric would use its own storage of
filled assessment forms.
2010-01-04 18:16:02 +00:00
David Mudrak
d5506aac98 Moving some helper functions from the renderer to the workshop API 2010-01-04 18:15:48 +00:00
David Mudrak
a84cc57f26 MDL-19932 First drafts of Rubric strategy
Assessment form editing should work
2010-01-04 18:15:38 +00:00
David Mudrak
6cbc6c5d9a Parameter consistency check 2010-01-04 18:15:24 +00:00
David Mudrak
eabe229959 Constant name fixed and improved empty input check 2010-01-04 18:15:14 +00:00
David Mudrak
4e594ca280 Fixed a table name 2010-01-04 18:15:00 +00:00
David Mudrak
80844e4390 Initial commit of rubric code, copied from accumulative 2010-01-04 18:14:49 +00:00
David Mudrak
130ae6196d Fixed a phpDoc param type 2010-01-04 18:14:12 +00:00
David Mudrak
ad6a8f6911 Grading evaluation - best subplugin
I am not happy with the algorithm at all. We should replace it with some
more sophisticated subplugin, using ICC or some similar statistics.
2010-01-04 18:14:01 +00:00
David Mudrak
b286b6efe4 Renamed unittest files and a small change due to evaluation 2010-01-04 18:13:42 +00:00
David Mudrak
fa95cb4e77 Call the parent's constructor in renderers 2010-01-04 18:13:17 +00:00
David Mudrak
d10ee0be7f Grading report - columns sorting support 2010-01-04 18:13:04 +00:00
David Mudrak
ff41eb7b1f Unit tests for workshop::aggregate_submission_grades_process() 2010-01-04 18:12:54 +00:00
David Mudrak
e9a90e6916 aggregate_submission_grades() refactoring to allow unit testing 2010-01-04 18:12:44 +00:00
David Mudrak
4efd7b5d5f Improved the workshop constructor to support unit testing
Thanks to Tim Hunt for the hint.
2010-01-04 18:12:32 +00:00
David Mudrak
8a1ba8ac04 MDL-20264 work in progress on grading evaluation support
Also fixes small bugs in workshop api constructor and in using "scales"
instead of "scale" for the core table name.
2010-01-04 18:12:12 +00:00
David Mudrak
89c1aa977b MDL-20058 Grading report, aggregation of submission grades
Not finished yet
2010-01-04 18:11:48 +00:00
David Mudrak
d895c6aaf5 Improved context handling
Getting a context from instance is very cheap and I can actually do it
just once when constructing the workshop API class. In the future, I
will get rid of all $PAGE->context which is actually meant for things
like blocks etc.
2010-01-04 18:11:35 +00:00
David Mudrak
8831ba8037 Assessment weight DEFAULTs to 1 2010-01-04 18:11:22 +00:00
David Mudrak
5aa45d7176 Added an important documentation to a capability 2010-01-04 18:11:11 +00:00
David Mudrak
e807e9a342 Display a button to run aggregation process 2010-01-04 18:11:02 +00:00
David Mudrak
f8236f649b Added timeaggregated time stamp 2010-01-04 18:10:52 +00:00
David Mudrak
2a8c433ed5 Added new helpfile (just for testing purposes) 2010-01-04 18:10:42 +00:00
David Mudrak
5e71cefbba Work in progress: grading report refactoring 2010-01-04 18:10:28 +00:00
David Mudrak
61b737a51c Adding percent_to_value() helper + its unittests 2010-01-04 18:10:18 +00:00
David Mudrak
caee9bfca2 Fixed the id of the string from null to nullgrade 2010-01-04 18:10:08 +00:00
David Mudrak
1f5a559590 Preparing for the future feature to let the user to set users per page 2010-01-04 18:09:58 +00:00
David Mudrak
03625394ce Adding new table workshop_aggregations
This table replaces the recently added workshop_evaluations and will
contain all grades aggregations done within a workshop activity. NULL
grades mean not aggregated yet.
2010-01-04 18:09:48 +00:00