39271 Commits

Author SHA1 Message Date
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
David Mudrak
3f25563298 Fixed an OUTPUT issue 2010-01-04 18:09:38 +00:00
David Mudrak
6cc363f4bf Fixed a bug caused by incorrect comparison of float values 2010-01-04 18:09:28 +00:00
David Mudrak
a3610b08f4 Workshop planner tool now correctly counts the submissions and allocations 2010-01-04 18:09:18 +00:00
David Mudrak
6a8eca30c5 Allows to fake grading 2010-01-04 18:09:08 +00:00
David Mudrak
934329e50c Make sure we do not pass empty arrays to $DB->get_in_or_equal() 2010-01-04 18:08:58 +00:00
David Mudrak
e5d244bac5 Added a column to store the assessment weight 2010-01-04 18:08:48 +00:00
David Mudrak
75ff50df87 Allow submission attachments to be stored in subfolders 2010-01-04 18:08:38 +00:00
David Mudrak
29dc43e7e4 MDL-20058 first prototype of the grading report renderer 2010-01-04 18:08:27 +00:00
David Mudrak
00aca3c14c A lot of work here and there
DB columns userid renamed to authorid or reviewerid to make the value
clear. Improved manual allocation UI. Raw grades are stored as numeric
values from 0.00000 to 100.00000 (instead of the current 0 to 1) to be
more precise. Started to work on the Grading report (it est the overall
report of all grades form submission and grades for assessments).
2010-01-04 18:08:13 +00:00
David Mudrak
b51c55d2f9 Added workshop_evaluations to store aggregated grades for assessments
The gradinggrade can not be stored in workshop_submissions because
participants without their own submission can be reviewers, too.
2010-01-04 18:07:48 +00:00
David Mudrak
aa40adbf9f MDL-19717 workshop manual allocator - pagination support and performance issues 2010-01-04 18:07:38 +00:00
David Mudrak
87a5368df1 Scalability issues
Did not display properly with dozens of users
2010-01-04 18:07:28 +00:00
David Mudrak
15d12b54f0 Instructions for reviewers work 2010-01-04 18:07:17 +00:00
David Mudrak
7ab6f2603a Conform the new interface requirments 2010-01-04 18:07:07 +00:00
David Mudrak
6c7e33d679 Added and re-sorted strings 2010-01-04 18:06:57 +00:00
David Mudrak
7b9b33eb8e Fixed "Edit submission" button link 2010-01-04 18:06:47 +00:00
David Mudrak
dbb3c72801 Fixed pluginfile support 2010-01-04 18:06:37 +00:00
David Mudrak
45d24d396e Added the skelet for grading evaluation subplugins 2010-01-04 18:06:26 +00:00
David Mudrak
f05c168d2e MDL-20236 overall codebase architecture cleanup and fixing regression
See the issue description for more details
2010-01-04 18:05:48 +00:00
David Mudrak
6516b9e9e4 Added instructions for submitting
File API seems to be broken right now so I can't test properly. The new
mod/page code was re-used here.
2010-01-04 18:02:27 +00:00
David Mudrak
ddb59c778f Displays all assigned submissions to be reviewed and saves the calculated grade 2010-01-04 18:02:16 +00:00
David Mudrak
3dc78e5b04 Refactoring some critical parts
Critical issue fixed here: after recent refactorings, I called
get_users_with_capability() inside the loop in another loop! (oops :-)
This was used in my very first code using the renderers. I have learnt
I should follow the core approach (as suggested by Tim) to prepare a
data object and pass it to the renderer. The fact the renderer called
a workshop method indicated something was really wrong...

WIP
2010-01-04 18:02:05 +00:00
David Mudrak
51508f2591 Go workshop, go! 2010-01-04 18:01:50 +00:00
David Mudrak
e9b0f0ab97 Displays the list of submissions 2010-01-04 18:01:40 +00:00
David Mudrak
454e8dd965 Phases can be switched from the Workshop plan tool
There may be more conditions checks written in the future and the
explanation added on what can be expected to happen after the phase
switch.
2010-01-04 18:01:29 +00:00
David Mudrak
3189fb2d42 Uses tabs for all actions, removed temporary links 2010-01-04 18:01:15 +00:00
David Mudrak
da0b1f70c1 More work done on the Workshop Plan UI 2010-01-04 18:01:05 +00:00
David Mudrak
b761e6d9c6 Mostly working on the view.php UI plus some changes 2010-01-04 18:00:54 +00:00
David Mudrak
b13142daee Refactored the Workshop API class
Uses the PHP magic getter to access the underlying database record. Does
not do the serialization goulash, as the passed objects should be clear
database rows.
2010-01-04 18:00:34 +00:00
David Mudrak
095d6e6c9d Reviewed and modified the workshop capabilities 2010-01-04 18:00:24 +00:00
David Mudrak
39861053c4 MDL-20183 Uses some of the new Navigation API 2010-01-04 18:00:12 +00:00
David Mudrak
c333a49ecc MDL-20192 Moving settings.php into suplugins and a small fix 2010-01-04 18:00:02 +00:00
David Mudrak
7e109b56ae Dropping obsolete function call 2010-01-04 17:59:46 +00:00
David Mudrak
ed597c7756 MDL-20192 Allocators and grading strategies are proper subplugins now 2010-01-04 17:59:34 +00:00
David Mudrak
0121d6302c Removed the Dummy grading strategy
This was here for the code reviewing purposes only.
2010-01-04 17:58:45 +00:00
David Mudrak
4eae27fda8 MDL-19931 Number of errors - grading strategy logic implemented 2010-01-04 17:58:26 +00:00
David Mudrak
1dbbccb7a2 Fixed SQL quoting - double quotes needed here 2010-01-04 17:58:16 +00:00
David Mudrak
7a79469c75 Fixed a unittest bug 2010-01-04 17:58:06 +00:00
David Mudrak
f9cb8ea72f MDL-20192 Allocation and grading methods are proper subplugins now.
Still, some areas to be finished - strings and settings
2010-01-04 17:57:54 +00:00
David Mudrak
bdb78faa21 WIP template for unit testing 2010-01-04 17:56:56 +00:00
David Mudrak
b29f0c7d9d Get rid of old navigation stuff (to finish yet) and use OUTPUT 2010-01-04 17:56:44 +00:00
David Mudrak
235b31c887 Reverts the double quotes surrounding SQL 2010-01-04 17:56:34 +00:00
David Mudrak
bc40ea0a9e Better explanation of the returned value 2010-01-04 17:56:23 +00:00
David Mudrak
0371fd0f2c Displays the radio to evaluate the assertion
Also offers all possible numbers of errors, if weighted ones are
counted. Reverts the double quotes coding style for SQL.
2010-01-04 17:56:13 +00:00
David Mudrak
42140421db Work in progress on "Number of errors" grading strategy. Does not work yet. 2010-01-04 17:56:01 +00:00