[system] / trunk / pg / macros / parserFormulaUpToConstant.pl Repository:
ViewVC logotype

Log of /trunk/pg/macros/parserFormulaUpToConstant.pl

Parent Directory Parent Directory


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

Revision 6202 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 8 13:56:09 2010 UTC (9 years, 10 months ago) by dpvc
File length: 13454 byte(s)
Diff to previous 6141
Fix up comments

Revision 6141 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 7 14:39:19 2009 UTC (10 years, 2 months ago) by dpvc
File length: 13449 byte(s)
Diff to previous 6058
fixed spelling error

Revision 6058 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 25 23:28:44 2009 UTC (10 years, 5 months ago) by gage
File length: 13373 byte(s)
Diff to previous 5988
syncing pg HEAD with pg2.4.7 on 6/25/2009

Revision 5988 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 5 14:53:57 2009 UTC (10 years, 10 months ago) by dpvc
File length: 13450 byte(s)
Diff to previous 5917
Fix inheritance so that text_values and test_adapt are preserved when
transferring to the stored copy of the adapted function.  (These are
needed for the diagnostics output.)  Use new Parser::Eval to avoid
ugliness in trying to trap errors in comparisons.

Revision 5917 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 21 18:06:19 2008 UTC (11 years, 2 months ago) by dpvc
File length: 13169 byte(s)
Diff to previous 5914
Protect against errors in student formula in the postfilter when
looking to determine the error message to give about the student
answer.

Use cmp_compare to do equality checks between objects (rather than the
hack that uses PG_restricted_eval).

Handle MathObjects in the test_points and test_at list better.

Revision 5914 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 16 03:23:54 2008 UTC (11 years, 3 months ago) by dpvc
File length: 13426 byte(s)
Diff to previous 5913
Allow graphs of single-variable functions in diagnostics.

Revision 5913 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 16 03:01:17 2008 UTC (11 years, 3 months ago) by dpvc
File length: 12893 byte(s)
Diff to previous 5912
Allow diagnostics to show the adapted function's values.

Revision 5912 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 15 15:35:34 2008 UTC (11 years, 3 months ago) by dpvc
File length: 12517 byte(s)
Diff to previous 5907
Fixed problem with inerhiting test points into the adapted formula
used for the comparison.  In its context, the arbitrary constant is an
extra variable, and so extra coordinates have to be added to the test
points.  This is now handled properly.

(It may be a good idea to make $f->removeConstant revert to the
original context of the formula rather than the modified one that
includes its constants, rather than having to adjust the test points
in that case.)

Revision 5907 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 12 21:53:52 2008 UTC (11 years, 3 months ago) by dpvc
File length: 11124 byte(s)
Diff to previous 5905
Make sure flags set on the FormulaUpToConstant object are inherited by
the formulas used internally during the checking for equality.

Revision 5905 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 12 21:31:43 2008 UTC (11 years, 3 months ago) by dpvc
File length: 11092 byte(s)
Diff to previous 5897
Trap errors when comparing to student answer while trying to determine
the correct error message.  This prevents extraneous warnings that
would confuse the student (and instructor).

Revision 5897 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 11 17:26:57 2008 UTC (11 years, 3 months ago) by dpvc
File length: 10805 byte(s)
Diff to previous 5896
BACKPORT: Fixed a problem where if two FormulaUpToConstant objects were used in
the same problem, the second would always be marked as incorrect.
(Subtle interplay of variable names in the safe compartment.)

Revision 5896 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 11 17:26:18 2008 UTC (11 years, 3 months ago) by dpvc
File length: 10805 byte(s)
Diff to previous 5673
Fixed a problem where if two FormulaUpToConstant objects were used in
the same problem, the second would always be marked as incorrect.
(Subtle interplay of variable names in the safe compartment.)

Revision 5673 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 17 13:55:57 2008 UTC (11 years, 7 months ago) by dpvc
File length: 10773 byte(s)
Diff to previous 5556
Added error trapping so that large adaptive parameters will not cause
errors.  These situations are silently reported as incorrect (though
potentially they COULD be correct, but that it unlikely).

Revision 5556 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 4 16:40:49 2007 UTC (12 years, 2 months ago) by sh002i
File length: 10500 byte(s)
Diff to previous 5555
added standard copyright/license header

Revision 5555 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 3 19:47:42 2007 UTC (12 years, 2 months ago) by sh002i
File length: 9559 byte(s)
Diff to previous 5551
fixed indentation of verbatim paragraphs: now using hard tabs
exclusively. the downside of this is that these get rendered as
eight-column tabs.

Revision 5551 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 2 20:48:05 2007 UTC (12 years, 2 months ago) by sh002i
File length: 9595 byte(s)
Diff to previous 5463
improved formatting for docs -- these were in pod sections but were all
formatted as verbatim sections, and i moved them into normal paragraphs,
lists, etc. should make things more readable from the web.

Revision 5463 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 6 10:47:02 2007 UTC (12 years, 3 months ago) by dpvc
File length: 9896 byte(s)
Diff to previous 5461
Fixed check to use a variable that is known to be in the context
(rather than incorrectly assuming 'x' is there).

Revision 5461 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 6 00:19:23 2007 UTC (12 years, 3 months ago) by dpvc
File length: 9787 byte(s)
Diff to previous 5460
Make error messages more consistent when student's answer is off by a constant.

Revision 5460 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 5 23:56:19 2007 UTC (12 years, 3 months ago) by dpvc
File length: 9624 byte(s)
Diff to previous 5440
In making the checker work with +C, I forgot to add the parameter that
provides for the student's answer to be off by a constant.  (Since the
C is actually a variable, not a parameter.)  OOPS!

Revision 5440 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 28 22:39:04 2007 UTC (12 years, 3 months ago) by dpvc
File length: 9488 byte(s)
Diff to previous 5395
Add error messages when student's answer is not linear in the constant
he or she has used.

Revision 5395 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 20 04:43:48 2007 UTC (12 years, 3 months ago) by dpvc
File length: 8579 byte(s)
Diff to previous 5394
Fixed typo in documentation.

Revision 5394 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 20 04:27:00 2007 UTC (12 years, 3 months ago) by dpvc
File length: 8576 byte(s)
Diff to previous 5393
Added documentation for the showHints flag to the cmp() method.

Revision 5393 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon Aug 20 04:23:02 2007 UTC (12 years, 3 months ago) by dpvc
File length: 8337 byte(s)
Implements a general antiderivative formula object where the student
must include a "+ C" (using any variable he or she chooses) and the
correct answer also shows a "+ C".  See the comments in the file 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