[system] / trunk / pg / lib / Parser / Legacy / PGanswermacros.pl Repository:
ViewVC logotype

Log of /trunk/pg/lib/Parser/Legacy/PGanswermacros.pl

Parent Directory Parent Directory


Sticky Revision:
(Current path doesn't exist after revision 3572)

Revision 3536 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 20 23:07:13 2005 UTC (14 years, 3 months ago) by dpvc
File length: 175442 byte(s)
Diff to previous 3529
Added code to handle the case where the professor's answer is in
expondential notation using a little e instead of a big one.  (Perl
will convert .0000001 to 1E-07, for example, before it is passed to
num_cmp.)

Revision 3529 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 15 01:50:21 2005 UTC (14 years, 3 months ago) by dpvc
File length: 175207 byte(s)
Diff to previous 3458
Changed Context() call to direct reference to context, so as not to
leave the wrong content selected as the current one.

Revision 3458 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 10 14:28:59 2005 UTC (14 years, 3 months ago) by dpvc
File length: 175182 byte(s)
Diff to previous 3445
The Parser versions of num_cmp and fun_cmp incorrectly left the
current Context set to the base context used by the answer checker.
The Context is now correctly reset to the one in effect before the
call to num_cmp or fun_cmp.

Also removed some redundant values in if-then checks.

Revision 3445 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 1 14:20:16 2005 UTC (14 years, 4 months ago) by dpvc
File length: 175152 byte(s)
Diff to previous 3443
Added missing "step" function that was defined in the AlgParser but
not in the Parser.

Be sure to copy the updated PGanswermacros.pl to the pg/macros directory.

Revision 3443 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 1 12:42:21 2005 UTC (14 years, 4 months ago) by dpvc
File length: 175134 byte(s)
Diff to previous 3440
Added postfilter to Parser-based implementation of NUM_CMP so that the
student's answer is updated to be the result of evaluating the answer
(when there is no error in evaluating the answer).  This correctly
reflects the behaviour of the original NUM_CMP.

Revision 3440 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 1 12:01:39 2005 UTC (14 years, 4 months ago) by dpvc
File length: 174954 byte(s)
Diff to previous 3353
Folded in Mike's changes for status messages.

Revision 3353 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 5 01:43:30 2005 UTC (14 years, 5 months ago) by dpvc
File length: 174607 byte(s)
Diff to previous 3351
Don't load Parser.pl (it causes trouble with the Matrix.pm module).
We only needed it because of the calls to Real() that were being used
by Formula objects, so have them call Value::Real directly.

be sure to get the latest versions of Parser and Value (including the
top-level Parser.pm and Value.pm) in order to use this update.

Revision 3351 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 5 00:31:57 2005 UTC (14 years, 5 months ago) by gage
File length: 174721 byte(s)
Diff to previous 3348
Modified formatting

Revision 3348 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 4 20:18:40 2005 UTC (14 years, 5 months ago) by dpvc
File length: 174670 byte(s)
Diff to previous 3347
Folded in Mike's changes to checkbox_cmp.

Revision 3347 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon Jul 4 20:12:22 2005 UTC (14 years, 5 months ago) by dpvc
File length: 171922 byte(s)
This is an attempt at making the traditional answer checkers call the
new Parser in place of their original ones.  That is, if you follow
the instructions in the README file, then problems that use
std_num_cmp(), fun_cmp(), etc. will really be using the new Parser
instead of the original PGanswermacros.pl versions.

The old answer checkers are still available, and can be switched back
on a site-wide, course-wide, or problem-by-problem basis.  See the
README for details.

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