[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 3569 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 25 03:40:44 2005 UTC (14 years, 6 months ago) by dpvc
File length: 3247 byte(s)
Diff to previous 3492
Fixed problem with Context's not properly initializing themselves with
the WW environment parameters (like zeroLevelTol and useBaseTenLog).
The copy method and the method that did an initialized copy used to be
separate routines, but that turned out to be unnecessary, so they have
now been merged (copy always tries to initialize the WW values when it
can, and when the copied context doesn't already have them).

The reason this is complicated is that a number contexts are set up
before the global.conf data is available, so these can't be
initialized with the WW values.  Also, these default contexts are
stored in the persistant processes, and we don't want to leave
possibly course-specific values lying around in them, so whenever a
context is selected, it is copied from the standard version and the
WW parameters are inserted into it.  The problem author can only
modify the copy, not the original, so this is OK with mod_perl.

The context's copy method now always tries to initialize (we used to
have to call initCoopy to get a copy that has the WW parameters
inserted).  That turned out to cause trouble with code that handled
contexts without the usual Context() command.

Revision 3492 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 12 22:55:19 2005 UTC (14 years, 6 months ago) by dpvc
File length: 3169 byte(s)
Diff to previous 3484
Adjust spacing.

Revision 3484 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 12 01:26:11 2005 UTC (14 years, 6 months ago) by dpvc
File length: 3168 byte(s)
Diff to previous 3384
Removed erroneous dollar sign.

Revision 3384 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 16 19:24:31 2005 UTC (14 years, 7 months ago) by jj
File length: 3169 byte(s)
Diff to previous 3369
Fixed typo related to useBaseTenLog.

Revision 3369 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 12 21:05:37 2005 UTC (14 years, 7 months ago) by dpvc
File length: 3172 byte(s)
Diff to previous 2914
Fixed various perl compiler warnings (due to extra "my", and so on).

Revision 2914 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 13 02:41:33 2004 UTC (15 years, 4 months ago) by dpvc
File length: 3171 byte(s)
Diff to previous 2688
Added support for useBaseTenLogs to make log() work like ln() or
log10() depending on the value in the course.conf file.

Also fixed a bug that caused the WeBWorK parameters not to be
copied into contexts by initCopy().

Revision 2688 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 27 19:42:59 2004 UTC (15 years, 6 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, 6 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, 6 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, 6 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, 6 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