[system] / trunk / webwork2 / lib / WeBWorK / ContentGenerator / Instructor / Stats.pm Repository:
ViewVC logotype

Log of /trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/Stats.pm

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 3377 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 14 13:15:27 2005 UTC (7 years, 10 months ago) by glarose
File length: 22708 byte(s)
Diff to previous 3358 , to selected 1849
Preliminary commit of changes to add Gateway module.
This adds to WeBWorK
 - the ability to create versioned, timed problem sets ("gateway tests")
   for which all problems are displayed on a single page ("versioned"
   means that students can get multiple versions of the problem set),
 - the ability to create sets that draw problems from groups of
   problems, and
 - the ability to create sets that require a proctor login to start
   and grade.
Sets can be defined as gateway tests or proctored gateway tests from
the ProblemSetDetail page.

Not quite bug-free yet.  Known bugs include handling of problem values
on the Student Progress page (I think this may be a problem with
changing from sql database format where all entries were 'text' to
sql_single in ver 2.1, where they are integer), and a division by zero
error on the grades page (which may be the same problem).

Tests with a number of attempts per version greater than one haven't
been carefully tested, nor has scoring of gateway tests.

Revision 3358 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 5 20:49:16 2005 UTC (7 years, 10 months ago) by dpvc
File length: 22715 byte(s)
Diff to previous 3284 , to selected 1849
A couple of other problem set -> homework set changes.

Revision 3284 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 10 16:01:29 2005 UTC (7 years, 11 months ago) by gage
File length: 22707 byte(s)
Diff to previous 3233 , to selected 1849
Bring HEAD and rel-2-1-patches in line with each other.

Revision 3233 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 19 20:53:18 2005 UTC (8 years ago) by gage
File length: 22711 byte(s)
Diff to previous 3215 , to selected 1849
Fixed problems with calculating the average grade correctly.

Regularized the code in Stats and StudentProgress
the next step is to a good chunk of the code which does the actual
arithmetic to a spot in Utils/  so that it can be called by
both Stats and StudentProgress.

This fixes bug 784

Revision 3215 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 16 02:31:20 2005 UTC (8 years, 1 month ago) by gage
File length: 22014 byte(s)
Diff to previous 3150 , to selected 1849
Providing an initial fix for bug 784.  I'd like to
continue to work on this module and factor out some of
the calculation loops in order to place them in Utils.

For now this hack (which involves splitting
$num_of_attemts into two variables so it can be updated
and used for two different purposes) should work.

--Mike

Revision 3150 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 6 20:47:20 2005 UTC (8 years, 3 months ago) by gage
File length: 20960 byte(s)
Diff to previous 3134 , to selected 1849
Added links to problems to the stats page.

Revision 3134 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 5 01:34:48 2005 UTC (8 years, 3 months ago) by gage
File length: 20801 byte(s)
Diff to previous 3042 , to selected 1849
Removed commented out code.

Fixed a problem with calculating the success index. (the number of
attempts was inappropriately zeroed out with each problem.

Revision 3042 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 18 16:11:16 2004 UTC (8 years, 5 months ago) by gage
File length: 22865 byte(s)
Diff to previous 2965 , to selected 1849
Removed the student progress lines from the Stats.pm page.  They are
still available in the StudentProgress.pm module

Revision 2965 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 26 03:16:40 2004 UTC (8 years, 6 months ago) by jj
File length: 22779 byte(s)
Diff to previous 2778 , to selected 1849
Beautification of set names.

Revision 2778 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 13 19:35:12 2004 UTC (8 years, 8 months ago) by sh002i
File length: 22661 byte(s)
Diff to previous 2686 , to selected 1849
timezone support

Revision 2686 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 26 02:38:08 2004 UTC (8 years, 8 months ago) by jj
File length: 22679 byte(s)
Diff to previous 2387 , to selected 1849
Fixed bug in computation of average number of attempts (counter was not
being reset).  Also made display of average number of attempts display
tenths (these are small numbers as it is, it emphasizes that it is an
average, and it fits well below 2 digit percentages in the same table).

Revision 2387 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 24 18:07:13 2004 UTC (8 years, 10 months ago) by dpvc
File length: 22658 byte(s)
Diff to previous 2326 , to selected 1849
Avoid error messages for problem values that are blank.

Revision 2326 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 16 15:22:08 2004 UTC (8 years, 11 months ago) by toenail
File length: 22634 byte(s)
Diff to previous 2241 , to selected 1849
added permissions checks

Revision 2241 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 2 14:54:26 2004 UTC (8 years, 11 months ago) by gage
File length: 21971 byte(s)
Diff to previous 2063 , to selected 1849
Rearranged stats table.  "good" results are now always to the right
(high scores, low number of attempts).

Use dashes when numbers are repeated in order to prevent confusion.

Revision 2063 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 10 03:22:44 2004 UTC (9 years ago) by gage
File length: 21509 byte(s)
Diff to previous 2058 , to selected 1849
Added sibling links for the Statistics page.

Revision 2058 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 9 01:10:30 2004 UTC (9 years ago) by gage
File length: 20556 byte(s)
Diff to previous 2055 , to selected 1849
Added average number incorrect answers.  This closes bug number 264

Tweaked a few more user interface parameters.

Revision 2055 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 8 20:31:28 2004 UTC (9 years ago) by gage
File length: 19566 byte(s)
Diff to previous 2048 , to selected 1849
Cleared commented out code in Stats.pm

Fixed error arising when no scoring files were checked.
Nows gives a more useful message.
This fixes #379

Revision 2048 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 8 15:49:48 2004 UTC (9 years ago) by gage
File length: 20231 byte(s)
Diff to previous 2047 , to selected 1849
Sort sets by alphabetical order for the SetsAssignedToUser page.
Corrected typo on Stats.pm

Revision 2047 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 8 02:20:59 2004 UTC (9 years ago) by gage
File length: 20232 byte(s)
Diff to previous 2046 , to selected 1849
Fixed minor bug which occured when no student had yet tried the problem.

Revision 2046 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 8 02:03:19 2004 UTC (9 years ago) by gage
File length: 20111 byte(s)
Diff to previous 1970 , to selected 1849
References to problems in the statistics are linked so that you
can view the problems if you wish. Use right click to see them in a new window.

Revision 1970 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 25 01:20:40 2004 UTC (9 years ago) by gage
File length: 19871 byte(s)
Diff to previous 1938 , to selected 1849
Corrected a calculation that allowed for division by zero if no student had tried a problem.

This squashes bug 460

Revision 1938 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 4 04:00:10 2004 UTC (9 years, 1 month ago) by gage
File length: 19744 byte(s)
Diff to previous 1928 , to selected 1849
More changes in construction of urls.

Changed parameter acquistion in ShowAnswers

Revision 1928 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 28 03:25:47 2004 UTC (9 years, 1 month ago) by gage
File length: 18651 byte(s)
Diff to previous 1859 , to selected 1849
Cleanup -- moving toward using the Apache:Request object and URLpath.

It remains to use URLpath to construct new paths in these files.

Revision 1859 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 6 21:41:44 2004 UTC (9 years, 2 months ago) by gage
File length: 23725 byte(s)
Diff to previous 1856 , to selected 1849
Use the student stat table in Grader to produce student detailed stats in Stats.pm.

Commented out, but did not yet remove Stats.pm code for this function.

Revision 1856 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 6 17:36:29 2004 UTC (9 years, 2 months ago) by gage
File length: 22287 byte(s)
Diff to previous 1855 , to selected 1849
*** empty log message ***

Revision 1855 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 6 17:35:27 2004 UTC (9 years, 2 months ago) by gage
File length: 22287 byte(s)
Diff to previous 1854 , to selected 1849
Allow at most two digit
numbers

Revision 1854 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 6 17:32:36 2004 UTC (9 years, 2 months ago) by gage
File length: 22332 byte(s)
Diff to previous 1853 , to selected 1849
Removed unneeded
formatting code

Revision 1853 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 6 17:29:07 2004 UTC (9 years, 2 months ago) by gage
File length: 22418 byte(s)
Diff to previous 1852 , to selected 1849
another typo

Revision 1852 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 6 17:25:32 2004 UTC (9 years, 2 months ago) by gage
File length: 22418 byte(s)
Diff to previous 1851 , to selected 1849
Fixed threeSpaceFill
routine to work with
strings.

Revision 1851 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 6 17:21:22 2004 UTC (9 years, 2 months ago) by gage
File length: 22363 byte(s)
Diff to previous 1850 , to selected 1849
typo

Revision 1850 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 6 17:16:00 2004 UTC (9 years, 2 months ago) by gage
File length: 22391 byte(s)
Diff to previous 1849
Make the percentages more accurate by dividing by the number of students who attempt the problem.

Revision 1849 - (view) (download) (as text) (annotate) - [selected]
Modified Sat Mar 6 16:04:06 2004 UTC (9 years, 2 months ago) by gage
File length: 22069 byte(s)
Diff to previous 1848
need to calculate this
value as well.  oops.

Revision 1848 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 6 16:02:17 2004 UTC (9 years, 2 months ago) by gage
File length: 22065 byte(s)
Diff to previous 1847 , to selected 1849
Added 0 bracket to
number of attempts.

Revision 1847 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 6 15:55:07 2004 UTC (9 years, 2 months ago) by gage
File length: 22059 byte(s)
Diff to previous 1841 , to selected 1849
Added more statistics on how students are doing.

There is still a lot o code to be cleaned up.

Once the calculation and the display are better separated it will be easier to
create statistics that count studnets appropriately.  e.g. dropped stduents and professors aren't counted.

Revision 1841 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 4 21:05:58 2004 UTC (9 years, 2 months ago) by sh002i
File length: 19867 byte(s)
Diff to previous 1810 , to selected 1849
changed template escape handler functions to grab data from $r->urlpath
instead of @_ for compatability with dispatch_new.

Revision 1810 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 16 03:16:50 2004 UTC (9 years, 3 months ago) by gage
File length: 19775 byte(s)
Diff to previous 1809 , to selected 1849
Added at table of
statistical results when
viewing the statistics
for a given set.
--Mike

Revision 1809 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 16 01:20:43 2004 UTC (9 years, 3 months ago) by gage
File length: 17274 byte(s)
Diff to previous 1770 , to selected 1849
Fixed ordering problem with problems in a given set.  This squashes bug #405.
Also made a few clean up efforts on the code.

--Mike

Revision 1770 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 2 23:11:13 2004 UTC (9 years, 3 months ago) by sh002i
File length: 18075 byte(s)
Diff to previous 1769 , to selected 1849
Changed the code that retrieves all problem records for a set. Now, the
only call made (per set) is getAllUserProblems(). The extraneous call to
listUserProblems() has been removed.

Revision 1769 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 31 14:47:44 2004 UTC (9 years, 3 months ago) by gage
File length: 17601 byte(s)
Diff to previous 1766 , to selected 1849
Replaced "getuserProblems by getAllUserProblems when printing statistics for a single user (many sets)
The time when from 178 to 35 using GDBM.  It went from 15sec to 16sec (on a different course)
when using sql.

--Mike

Revision 1766 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 31 04:08:57 2004 UTC (9 years, 3 months ago) by gage
File length: 17522 byte(s)
Diff to previous 1691 , to selected 1849
Made major modifications to user interface on Instructor/Index page.

Added use of getAllUserProblems in main loop for Stats.pm problems when displaying
statistics for a given set.  This speeds GDBM from 8 sec to 2.  SQL stays at around 22-23 seconds.

Also addded code to sort_method which checks that the number of attempts has been defined.
If not it returns 0.

--Mike

Revision 1691 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 28 21:02:49 2003 UTC (9 years, 4 months ago) by gage
File length: 17220 byte(s)
Diff to previous 1681 , to selected 1849
More checking for incomplete records.  This time for entries in
@userRecords

--Mike

Revision 1681 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 18 23:15:34 2003 UTC (9 years, 5 months ago) by sh002i
File length: 17147 byte(s)
Diff to previous 1667 , to selected 1849
- Assigner and SetsAssignedToUser now refuse to unassign sets from the
GlobalTableEmulator's "global user". Closes bug #283.
- New "unassign from all users" button in Assigner.
- Cosmetic changes to path() and title() in several modules.

Revision 1667 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 12 02:24:30 2003 UTC (9 years, 5 months ago) by gage
File length: 17103 byte(s)
Diff to previous 1663 , to selected 1849
As best I can determine all "get" commands to the database are now
checked and appropriate action (usually "die") is taken if no
object is returned.

One exception.  The multiple "gets"  such as getGlobalSets(@setNames)
are not checked -- if a given setName is not found is an empty object
returned? in the list or is nothing returned?

--Mike

Revision 1663 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 9 01:12:32 2003 UTC (9 years, 5 months ago) by sh002i
File length: 16685 byte(s)
Diff to previous 1632 , to selected 1849
Normalized headers. All files now contain the text below as a header.
This is important since all files now (a) use the full name of the
package, (b) assign copyright to "The WeBWorK Project", (c) give the
full path of the file (relative to CVSROOT) instead of simply the file
name, and (d) include license and warranty information.

Here is the new header:

################################################################################
# WeBWorK Online Homework Delivery System
# Copyright © 2000-2003 The WeBWorK Projcct, http://openwebwork.sf.net/
# $CVSHeader$
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of either: (a) the GNU General Public License as published by the
# Free Software Foundation; either version 2, or (at your option) any later
# version, or (b) the "Artistic License" which comes with this package.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE.  See either the GNU General Public License or the
# Artistic License for more details.
################################################################################

Revision 1632 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 10 04:11:56 2003 UTC (9 years, 6 months ago) by gage
File length: 16028 byte(s)
Diff to previous 1631 , to selected 1849
Adding timing code for ProblemSets and for Stats.pm
--Mike

Revision 1631 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 9 23:21:34 2003 UTC (9 years, 6 months ago) by gage
File length: 14973 byte(s)
Diff to previous 1619 , to selected 1849
Removed references to ScoringTotals.pm   These capabilities
are handled by Scoring.pm
--Mike

Revision 1619 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 4 23:18:40 2003 UTC (9 years, 6 months ago) by sh002i
File length: 14976 byte(s)
Diff to previous 1590 , to selected 1849
added problem numbers along top when viewing all sets for a given user.
unfortunately, this slows down display, since nothing can be sent to the
client until all sets are processed. closes bug #272.

Revision 1590 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 17 03:42:07 2003 UTC (9 years, 7 months ago) by gage
File length: 14739 byte(s)
Diff to previous 1497 , to selected 1849
Added various sorting methods to the statistics page.  This makes
the sorting more flexible, but it also slows down the process somewhat.
This results bug #153

--Mike

Revision 1497 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 9 03:54:43 2003 UTC (9 years, 8 months ago) by gage
File length: 12505 byte(s)
Diff to previous 1487 , to selected 1849
Rounded of score, made link to act as student in the display of
statistics for a given user.  This retires bugs:
203 and #206.

Revision 1487 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 6 16:24:48 2003 UTC (9 years, 8 months ago) by gage
File length: 12103 byte(s)
Diff to previous 1436 , to selected 1849
Sort students by name, (only)
Add a link to the name which allows you to inspect the students
version of the problem set.
This partially fixes bug #201

Revision 1436 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 25 13:33:37 2003 UTC (9 years, 10 months ago) by gage
File length: 11647 byte(s)
Diff to previous 1434 , to selected 1849
Tweaked the instructor links callback
--Mike

Revision 1434 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 25 12:41:19 2003 UTC (9 years, 10 months ago) by gage
File length: 11637 byte(s)
Diff to previous 1433 , to selected 1849
Increased cellpadding size in tables
--Mike

Revision 1433 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 25 12:38:17 2003 UTC (9 years, 10 months ago) by gage
File length: 11619 byte(s)
Diff to previous 1432 , to selected 1849
Cosmetic modifications to the index pages of Stats and
the instructor pages
--MIke

Revision 1432 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 25 03:20:16 2003 UTC (9 years, 10 months ago) by gage
File length: 11304 byte(s)
Diff to previous 1430 , to selected 1849
Added more capabilities to the stats module.

There is some overlapping code that needs to be factored out.
--Mike

Revision 1430 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu Jul 24 21:52:17 2003 UTC (9 years, 10 months ago) by gage
File length: 5897 byte(s)
Diff to selected 1849
Added a module that shows the raw stats for a single set.
We need a better index page for this and other views of the
same statistics.
--Mike

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9