[system] / trunk / pg / lib / Value / WeBWorK.pm Repository:
ViewVC logotype

Log of /trunk/pg/lib/Value/WeBWorK.pm

Parent Directory Parent Directory


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

Revision 2688 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 27 19:42:59 2004 UTC (15 years, 3 months ago) by dpvc
File length: 3060 byte(s)
Diff to previous 2678
Added in functMaxConstantOfIntegration support in the adaptive
parameter answer checking.  Also added a flag to the formula answer
checker that allows checking a formula up to a constant (for
integration problems).  This really just adds a new parameter to the
context and adds that to the formula, so there is nothing deep about
this.

	ANS(Formula("2x")->cmp(upToConstant=>1));

Finally, don't look for adaptive parameters if they aren't actually
used in the professor's formula (even if they are defined).

Revision 2678 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 23 23:55:37 2004 UTC (15 years, 3 months ago) by dpvc
File length: 2969 byte(s)
Diff to previous 2674
Modified the parser so that the classes for the various object
constructors are stored in the context table rather than hard-coded
into the parser.  That way, you can override the default classes with
your own.  This gives you even more complete control to modify the
parser.  (You had been able to replace the definitions of operators,
functions and list-like objects, but could not override the behaviour
of numbers, strings, variables, and so on.  Now you can.)

This effects most of the files, but only by changing the name of the
calls that create the various objects.

There are also a couple of other minor fixes.

Revision 2674 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 23 04:58:00 2004 UTC (15 years, 3 months ago) by dpvc
File length: 2932 byte(s)
Diff to previous 2673
Remove more lines in error messages produced while evaluation student
answers.

Revision 2673 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 23 01:21:27 2004 UTC (15 years, 3 months ago) by dpvc
File length: 2891 byte(s)
Diff to previous 2664
Moved WW-specific routines from Parser.pm to WeBWorK.pm.
Changed error reporting when the error message was not generated by
the parser directly.  (The stack trace and line number references are
removed before the error is reported.)

Revision 2664 - (view) (download) (as text) (annotate) - [select for diffs]
Added Sat Aug 21 22:02:14 2004 UTC (15 years, 3 months ago) by dpvc
File length: 1527 byte(s)
Added a file to perform WeBWorK-specific modifications to the
Parser/Value packages.  (I've tried to make these independent of
WeBWorK, so you can use them in other perl code if you want to.)

The parameters for fuzzy reals and some of the other parameters now
are taken from the pg->{ansEvalDefaults} values (as defined in
global.conf or course.conf).  More still needs to be done with this,
however.

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