CVS log for loncom/interface/statistics/lonpercentage.pm

[BACK] Up to [LON-CAPA] / loncom / interface / statistics

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Dec 4 11:20:07 2013 UTC (10 years, 5 months ago) by bisitz
Branches: MAIN
CVS tags: version_2_12_X, HEAD
Diff to previous 1.12: preferred, colored
Changes since revision 1.12: +29 -40 lines
- Improved and consistent layout:
    - Error style for error messages
    - data_table (implies simplified code), table header
- Internationalization: Added missing &mt() calls
- XHTML: action attribute required in <form>

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat May 16 23:21:07 2009 UTC (14 years, 11 months ago) by bisitz
Branches: MAIN
CVS tags: version_2_9_X, version_2_9_99_0, version_2_9_1, version_2_9_0, version_2_8_99_1, version_2_8_99_0, version_2_11_X, version_2_11_4_uiuc, version_2_11_4_msu, version_2_11_4, version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3, version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2, version_2_11_1, version_2_11_0_RC3, version_2_11_0_RC2, version_2_11_0_RC1, version_2_11_0, version_2_10_X, version_2_10_1, version_2_10_0_RC2, version_2_10_0_RC1, version_2_10_0, loncapaMITrelate_1, language_hyphenation_merge, language_hyphenation, bz6209-base, bz6209, bz5969, bz2851, PRINT_INCOMPLETE_base, PRINT_INCOMPLETE, GCI_3, GCI_2, BZ5971-printing-apage, BZ4492-merge, BZ4492-feature_horizontal_radioresponse
Diff to previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
XHTML conform <br />

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Dec 12 10:01:30 2008 UTC (15 years, 4 months ago) by bisitz
Branches: MAIN
CVS tags: BZ5434-fox
Diff to previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
Added missing ";" to all "&nbsp;"

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue May 30 12:46:49 2006 UTC (17 years, 11 months ago) by www
Branches: MAIN
CVS tags: version_2_8_X, version_2_8_2, version_2_8_1, version_2_8_0, version_2_7_X, version_2_7_99_1, version_2_7_99_0, version_2_7_1, version_2_7_0, version_2_6_X, version_2_6_99_1, version_2_6_99_0, version_2_6_3, version_2_6_2, version_2_6_1, version_2_6_0, version_2_5_X, version_2_5_99_1, version_2_5_99_0, version_2_5_2, version_2_5_1, version_2_5_0, version_2_4_X, version_2_4_99_0, version_2_4_2, version_2_4_1, version_2_4_0, version_2_3_X, version_2_3_99_0, version_2_3_2, version_2_3_1, version_2_3_0, version_2_2_X, version_2_2_99_1, version_2_2_99_0, version_2_2_2, version_2_2_1, version_2_2_0, version_2_1_99_3, version_2_1_99_2, version_2_1_99_1, version_2_1_99_0, GCI_1
Diff to previous 1.9: preferred, colored
Changes since revision 1.9: +6 -3 lines
&Apache::lonnet::unescape -> &unescape
&Apache::lonnet::escape -> &escape

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Feb 25 20:47:47 2003 UTC (21 years, 2 months ago) by matthew
Branches: MAIN
CVS tags: version_2_1_X, version_2_1_3, version_2_1_2, version_2_1_1, version_2_1_0, version_2_0_X, version_2_0_99_1, version_2_0_2, version_2_0_1, version_2_0_0, version_1_99_3, version_1_99_2, version_1_99_1_tmcc, version_1_99_1, version_1_99_0_tmcc, version_1_99_0, version_1_3_X, version_1_3_3, version_1_3_2, version_1_3_1, version_1_3_0, version_1_2_X, version_1_2_99_1, version_1_2_99_0, version_1_2_1, version_1_2_0, version_1_1_X, version_1_1_99_5, version_1_1_99_4, version_1_1_99_3, version_1_1_99_2, version_1_1_99_1, version_1_1_99_0, version_1_1_3, version_1_1_2, version_1_1_1, version_1_1_0, version_1_0_99_3, version_1_0_99_2, version_1_0_99_1, version_1_0_99, version_1_0_3, version_1_0_2, version_1_0_1, version_1_0_0, version_0_99_5, version_0_99_4, version_0_99_3, version_0_99_2, version_0_99_1, version_0_99_0, conference_2003
Diff to previous 1.8: preferred, colored
Changes since revision 1.8: +2 -5 lines
lonstatistics.pm:
   POD cleanups
   @SelectedSections is set when we read the classlist.
   Added variables $top_map, @Sequences, and @Assessments.  These are
      initialized by &PrepareCourseData($r).
   Added &PrepareCourseData($r) which is essentially a wrapper for
      &Apache::loncoursedata::get_sequence_assessment_data().
   Added &MapSelect() to output a <select> box for sequences.  Not tested.
   Added &SectionSelect(..) to output a <select> box for sections.  Tested.
   Added &DisplayClasslist($r) which displays a table of the current classlist
      that is sortable by each column.  Does not bother with 'update time' as
      this should not be an issue for the user.  Tested.
   Added call to &PrepareCourseData by the handler.
lonpercentage.pm, lonproblemanalysis.pm, lonproblemstatistics.pm,
lonstudentassessment.pm: modified to call &Apache::lonstatistics::SectionSelect
   instead of the method in lonhtmlcommon.pm.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Jan 14 22:10:08 2003 UTC (21 years, 3 months ago) by minaeibi
Branches: MAIN
CVS tags: version_0_6_2, version_0_6_1
Diff to previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
To fix the reopened bug #1152 a minor change has been done.
If a student has 125 correct out of 125 possible, that is 100%,
he was not included on the plot but NOW it is included.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Jan 13 17:31:41 2003 UTC (21 years, 3 months ago) by minaeibi
Branches: MAIN
CVS tags: version_0_6
Diff to previous 1.6: preferred, colored
Changes since revision 1.6: +13 -7 lines
To fix bug #1152 this is changed in lonpercentage.pm
When cousre has more than or equal 100 then the range will be 100.
otherwise it would be the range of x's would be the number of broblems.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Jan 13 00:15:16 2003 UTC (21 years, 3 months ago) by minaeibi
Branches: MAIN
Diff to previous 1.5: preferred, colored
Changes since revision 1.5: +21 -11 lines
I had these Suggestions to fix bug #1052:

1)a) If the number of problems involved is less than 100
    it would be better to change the plotting to
    display "number of problems correct" on the x-axis
    and the range would be from 0 to 99
  b) If the number of problems is > or = 100
    Plot the % leave as it is currently.

So I chnged the lonpercentage module:

        if ( $totalProblems >= 100 ) {
            $percent = sprintf("%d", ($totalProblems) ?
                              (($totalCorrect/$totalProblems)*100) : 0);
        } else {
            $percent = sprintf("%d", ($totalProblems) ? $totalCorrect : 0);
        }

...

    my $xlabel = ($totalProblems >= 100 ) ?
                  'Percentage_of_Problems_Correct' :
                  'Number_of_Problems_Correct';

I hope will work well.
Let me know any feedback

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Jan 11 06:31:26 2003 UTC (21 years, 3 months ago) by minaeibi
Branches: MAIN
Diff to previous 1.4: preferred, colored
Changes since revision 1.4: +22 -9 lines
Fixed bug #1052.
The graph of percentage of correct problems shows zeroz, so the distribution of corrected problems are shown better.
If get more feedback I will complete it.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Jan 8 03:27:54 2003 UTC (21 years, 4 months ago) by minaeibi
Branches: MAIN
Diff to previous 1.3: preferred, colored
Changes since revision 1.3: +32 -12 lines
Fixed bug #1020.
lonperntage.pm fixed to show the percentages of correct answers of students correctly.
A field (frequency) added to percentage table.
I don't know why data are not cached and every time are computed.
Maybe it will be repoted in bugzilla so it would be considered to fix.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Dec 13 21:39:19 2002 UTC (21 years, 4 months ago) by albertel
Branches: MAIN
Diff to previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
- using png now

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Aug 30 17:11:44 2002 UTC (21 years, 8 months ago) by stredwic
Branches: MAIN
Diff to previous 1.1: preferred, colored
Changes since revision 1.1: +3 -2 lines
First, was getting a strange warning for doing scalar(split(...)) in
lonpercentage.  Second I think I fixed the updating of symbols in
chart after they have been changed.  I tried it out and it work for
my test case.  We will see if it works for everyone.  The problem
is as I suspected, and because I didn't remove the keys when the
students data was updated it was still using old data.  This
would occur if the data didn't overwrite, but changed supporting
information.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Aug 30 15:35:08 2002 UTC (21 years, 8 months ago) by stredwic
Branches: MAIN
Fixed an error for map selection in problem statistics.  Added a new
module that will display a graph of percentage correctness for
a problem or series of problems based on input.  It doesn't quite
look correct yet, because of graph.gif.  I will have to edit graph.gif
in order to get ranges for the x axis etc.  This was also an
experiment to see multiple dependent selections.  Will probably do
that with student assessment next, but with students.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>