60 Commits

Author SHA1 Message Date
skodak
2ece30dd13 MDL-16438 fixed incomplete plugin centralisation, sorry; unfortunately install is kind of non-working now; this may break current dev installs :-( 2009-07-02 15:11:28 +00:00
skodak
41d2f7f781 MDL-16438 fixed incomplete plugin centralisation, sorry; unfortunately install is kind of non-working now; this may break current dev installs :-( 2009-07-02 15:02:51 +00:00
stronk7
ce40c8ff2b MDL-19579 code coverage - add more initial $includecoverage attributes 2009-06-26 18:12:05 +00:00
stronk7
b0ec60f10d MDL-19350 upgrade blocks - adding missing savepoints to mod/quiz/reports 2009-06-03 17:16:01 +00:00
skodak
04bce26c4e fixed trailing whitespace 2009-05-26 19:01:18 +00:00
stronk7
74c288a100 MDL-18577 drop enums support - step2: enums out from install.xml files 2009-05-01 14:07:43 +00:00
stronk7
2a88f626f7 MDL-18577 drop enums support - step2: enums out from editor, dbmanager and all upgrade scripts. 2009-05-01 01:19:16 +00:00
tjhunt
2457254946 quiz reports: Fix up unit tests. 2009-03-05 08:50:01 +00:00
skodak
0361508976 MDL-17457 moved all STATEMENTS into install.php 2009-01-15 21:36:48 +00:00
tjhunt
96c7d771df quiz: MDL-14926 New capability mod/quiz:reviewmyattempts, separate from mod/quiz:attempt. Merged from MOODLE_19_STABLE. 2009-01-14 07:08:02 +00:00
jamiesensei
2280e147c5 MDL-12418 "Item Analysis shows duplicate responses for Multiple Choice questions with LaTeX in answers" This problem was caused by the formatting of questions in get_actual_responses. Now formatting is done in response_summary rather than get_actual_response which returns an array of unformatted strings.
Have fixed the formatting in responses report and in statistics report to use the correct formatting for the question type.

Created new functions format_responses and format_response. format_responses works on an array and normally just walks through the array calling format_response.
2008-11-28 10:14:19 +00:00
jamiesensei
bbf4f440ee MDL-15326 "allow for per report capabilities to replace mod/quiz:viewreports" 2008-11-25 12:11:27 +00:00
jamiesensei
664bf34ff6 MDL-17190 "error in code for calculating discrimination index and efficiency for randomly selected questions" Fixed the code for item stats. 2008-11-10 14:42:21 +00:00
jamiesensei
746860479f MDL-17188 "effective question weight equation cannot cope with negative covariance of question grades" excluding such questions from equation 2008-11-10 11:56:37 +00:00
jamiesensei
af30cd8870 MDL-14209 "quiz stats report:Seperation of functionality and unit tests for calculations" forgot to remove this, now redundant, piece of code. 2008-11-10 08:12:28 +00:00
jamiesensei
2685ec17ea MDL-14209 "quiz stats report:Seperation of functionality and unit tests for calculations" Unit tests for the grade stats calculations. 2008-10-29 10:09:55 +00:00
jamiesensei
45cf6fd910 MDL-14209 "quiz stats report:Seperation of functionality and unit tests for calculations" Seperating out call for processing actual student responses from calculation of other grade stats as I want to unit test the grade stats calculations. 2008-10-29 10:00:44 +00:00
jamiesensei
047c0f78aa MDL-16952 "after DB field type changes standard deviation and facility index show up as 0% instead of blank" Problem is that question->maxgrade is now 0.0000 and not 0 and $maxgrade now does not evaluate as false, need to use $maxgade!=0 which evaluates as before. 2008-10-21 09:32:24 +00:00
jamiesensei
67710da492 MDL-16951 "kurtosis and skewness equations were wrong" See changes to equations here : http://docs.moodle.org/en/index.php?title=Development%3AQuiz_item_analysis_calculations&diff=45585&oldid=39752 2008-10-21 09:25:02 +00:00
jamiesensei
0e13019dc4 MDL-16870 "ID is incorrectly labelled" 2008-10-14 15:19:25 +00:00
jamiesensei
1f23bda7f9 MDL-16803 "Questions with score of 0 lead to division by zero warning" 2008-10-07 08:46:24 +00:00
jamiesensei
452351550b MDL-16567 "Quiz statistics report does not work when the quiz contains descriptions" slightly more elegant and efficient solution to issue. 2008-09-19 10:12:54 +00:00
tjhunt
a1f6db1775 Nasty hack fix for MDL-16567 - I am hoping Jamie will come up with a proper fix soon, but I am about to demo this. 2008-09-18 12:47:12 +00:00
jamiesensei
d3e99e85d4 MDL-16502 "highlight questions that appear not to be working very well according to statistics"
There is a function is_dubious_question on the statistics table passed all the stats for that question and other question data and that returns a bool.
2008-09-15 11:13:31 +00:00
jamiesensei
3db543284b MDL-16501 "moving key to colours on graph to the bottom of the graph gives more horizontal screen space for the graph itself" 2008-09-15 09:16:57 +00:00
jamiesensei
869309b8d8 MDL-14202 "Replace Item Analysis Report with new improved 'Statistics' report." finished statistics report. This patch includes some changes to lib/tablelib.php so that it is possible to export the content of a table as part of a multi table export - with mutliple tables / multiple worksheets. 2008-09-11 12:48:08 +00:00
skodak
775f811a66 MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes 2008-08-16 12:16:01 +00:00
tjhunt
f9a2cf86a9 MDL-7308 - Check all the DB columns used to store grades, and make sure they all use a consistent type. 2008-08-15 11:15:08 +00:00
tjhunt
f88fb62c40 MDL-10682 - Ensure quiz and question grades are formatted consisently and correctly. While testing, I also fixed a few XHTML Strrrict errors. 2008-08-15 06:42:38 +00:00
jamiesensei
5153422cdd MDL-15268 "Content for Quiz Statistics report table" adding img link to display graph on main page of report. 2008-07-30 10:28:39 +00:00
jamiesensei
aa3133bcb9 MDL-15268 "Content for Quiz Statistics report table" display blank cell if statistic is not calculatable 2008-07-30 09:49:09 +00:00
jamiesensei
43ec99aa74 MDL-15268 "Content for Quiz Statistics report table" further work on quiz statistics report. 2008-07-30 09:02:44 +00:00
tjhunt
06d1324803 Fix calculation of median with an odd number of attempts. 2008-07-29 13:56:37 +00:00
tjhunt
bd03752be8 Fix notices. 2008-07-25 14:18:19 +00:00
jamiesensei
162f96353b MDL-14208 Cache results of calculations, "recompute now" functionality -- forgot one field for questions stats. 2008-07-25 12:15:07 +00:00
jamiesensei
9859e26cc0 MDL-14208 "add cron routine to clean up cache records" 2008-07-24 17:45:01 +00:00
jamiesensei
d1789d5d64 MDL-14208 Cache results of calculations, "recompute now" functionality -- added message about when the stats were last calculated and how many attempts there have been since then and a recompute now button. 2008-07-24 17:42:06 +00:00
jamiesensei
71a2b878fa MDL-14208 'Improvement of Item Analysis Report : Cache results of calculations, "recompute now" functionality' - using new tables to cache stats results. 2008-07-24 13:25:07 +00:00
jamiesensei
a1db71cb25 MDL-15198 "non-standard sql in reportlib.php" similar sql used here, fixing. 2008-07-22 13:06:54 +00:00
jamiesensei
182dbc6f4d MDL-15751 "Quiz statistics report : only list random questions once when there are several consecutive random questions picking from the same category with the same options to recurse into sub directories" sorting of questions by id, so they appear in some kind of order. 2008-07-22 12:33:05 +00:00
jamiesensei
d49e5bd87c MDL-15751 "Quiz statistics report : only list random questions once when there are several consecutive random questions picking from the same category with the same options to recurse into sub directories" oops. Regression meant a row was added for every attempt at a random question 2008-07-22 12:27:11 +00:00
jamiesensei
051bc0e192 MDL-15751 "Quiz statistics report : only list random questions once when there are several consecutiver random questions picking from the same category with the same options to recurse into sub directories" 2008-07-22 09:48:16 +00:00
jamiesensei
62373088dd MDL-15728 "quiz_report_load_questions should alias qqi.grade to maxgrade so that questions array has the required fields expected by much of the question code." 2008-07-21 14:40:26 +00:00
jamiesensei
66eb3b5930 MDL-15268 "Content for Quiz Statistics report table" fixed a bug where every a row was added to the table for every time a subquestion was attempted. 2008-07-20 11:58:15 +00:00
jamiesensei
4f5ffac022 MDL-15268 "Content for Quiz Statistics report table" seperated quiz item / position stats code into a seperate class in qstats.php and now calculating item statistics too. 2008-07-18 14:36:24 +00:00
jamiesensei
ea751786e0 MDL-15268 "Content for Quiz Statistics report table" know looping through all question grades fetched from the db to calculate position statistics. 2008-07-16 11:55:38 +00:00
jamiesensei
fb94cd4848 MDL-15268 "Content for Quiz Statistics report table" some fixes to strings. 2008-07-14 06:40:36 +00:00
jamiesensei
c386eaa3df MDL-15384 'change name of quiz report classes to "quiz_{reportname}_report"' easy to do, changed class name of all reports and changed the code in report.php which instantiates the correct class. 2008-06-24 08:59:29 +00:00
jamiesensei
e72efdd426 MDL-15268 "Content for Quiz Statistics report table" adding more if conditions to only display stuff when the calculations are possible. This depends on how many attempts there have been and how many questions there are. 2008-06-18 11:38:17 +00:00
jamiesensei
f44d7d467b MDL-15268 "Content for Quiz Statistics report table" some columns of Quiz Statistics report table only make sense if there is more than one question in the quiz. Adding an if condition. 2008-06-17 14:14:23 +00:00