|Links to HEAD:||(view) (download) (as text) (annotate)|
When complex=>'ok' is used, make a COPY of the Complex context before modifying it. (Otherwise we modify the ORIGINAL copy, and that is persistent from problem to problem within one httpd child, which would mean one problem could affect later ones.)
Modified the way the Parser-based versions of the traditional answer checkers get copies of their contexts. They now use a new method getCopy to obtain the copy either from the problem's context table or the default table (rather than only from the default). That way the instructor can use parserCustomization.pl to customize the contexts used by the answer checkers.
Minor documentation changes. Use html entity to represent dollar sign on the web.
Added ability to specify variables that are part of the union/list rather than requiring just constants. E.g., interval_cmp("(1,a),(2a-1,a)",unions=>'no',var=>'a'); or interval_cmp("(x,y),(2x,3y)",unions=>'no',vars=>['x','y']);
Hopefully fixed the logic of setting numerical tolerance defaults.
Use a default for the zeroLevelTol set in the current context.
Fixed treatment of options in setting the mode and optional parameters related to reducing unions.
Moved a chunk of duplicated code to its own function, and tweaked the setting of the context in a few cases.
Completed conversion of interval_cmp to use Parser objects. Also, minor updates to number_list_cmp.
Default behavior of number_list_cmp set to be backward compatible (no hints of any kind or partial credit). These features can now be activated by optional arguments. Also improvements on parser-based interval_cmp.
Hopefully improved some of how the temporary context is set for number_list_cmp. Many whitespace changes (spaces to tabs). Work in progress for a version of interval_cmp which uses Parser, temporarily called interval_cmp2.
Enable commas when mode=>"frac" is specified.
Changed number_list_cmp to use Parser.
Use the new PGsort which uses a true/false compare (e.g. < or lt ) rather than a -1,0,1 compare (e.g. <=> or cmp ). Arnie
remove unneccsary shebang lines Arnie
Adding recent macro files to the pg collection --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.
|aubreyja at gmail dot com||ViewVC Help|
|Powered by ViewVC 1.0.9|