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

Log of /trunk/pg/lib/AnswerHash.pm

Parent Directory Parent Directory


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

Revision 5251 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 9 03:22:43 2007 UTC (12 years, 6 months ago) by dpvc
File length: 25390 byte(s)
Diff to previous 4969
Added withPostFilter and withPreFilter methods to the AnswerHash.
These install the filter but return the AnswerHash rather than the
filter lists so that you can do things like

       ANS(Real(10)->cmp->withPostFilter(...));

rather than having to save the answer checker, add the filter, then
call ANS with it.

Also adjusted some spacing.

Revision 4969 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 24 17:55:37 2007 UTC (12 years, 9 months ago) by gage
File length: 24495 byte(s)
Diff to previous 4833
Pod documentation upgrades

Revision 4833 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 4 23:26:12 2007 UTC (12 years, 11 months ago) by gage
File length: 24494 byte(s)
Diff to previous 4826
More format changes to documentation

Revision 4826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 4 20:57:00 2007 UTC (12 years, 11 months ago) by gage
File length: 24504 byte(s)
Diff to previous 4764
Correct pretty_print so that it protects for HTML output
(replaces < by &lt;)

Revision 4764 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 3 15:20:25 2007 UTC (13 years ago) by gage
File length: 24405 byte(s)
Diff to previous 4760
added a "level" to pretty_print to prevent it from descending too far down
nested hashes.  The default level is set at 3 which is probably enough for
most purposes.

Revision 4760 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 31 16:16:44 2007 UTC (13 years ago) by gage
File length: 24226 byte(s)
Diff to previous 3349
Added space when combining preview latex strings    (foo  + bar   became   foo\quadbar  which didn't work
now its foo \quad bar which is better.

Revision 3349 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 4 22:11:08 2005 UTC (14 years, 7 months ago) by gage
File length: 24224 byte(s)
Diff to previous 3345
Add comment

Revision 3345 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 4 19:49:06 2005 UTC (14 years, 7 months ago) by gage
File length: 24244 byte(s)
Diff to previous 3328
Reworked some of the code for AnswerEvaluator

The messages printed out when using the debug flag should now
be somewhat better.

-- Mike

Revision 3328 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 1 15:52:36 2005 UTC (14 years, 7 months ago) by gage
File length: 24408 byte(s)
Diff to previous 3322
Added commment

Revision 3322 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 29 02:47:40 2005 UTC (14 years, 7 months ago) by gage
File length: 24388 byte(s)
Diff to previous 2060
Corrected how preview_latex_strings are handled when two
AnswerHashes are ANDed or ORed.

Revision 2060 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 9 17:43:32 2004 UTC (15 years, 9 months ago) by gage
File length: 24270 byte(s)
Diff to previous 1540
Cosmetic fixes to code layout.

Revision 1540 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 27 16:47:34 2003 UTC (16 years, 4 months ago) by gage
File length: 24267 byte(s)
Diff to previous 1535
When displaying a raw student answer, nulls are converted to \0 so that they
can be seen.  This is probably redundant since strings with multiple values
separated by nulls are supposed to be converted to references to arrays before
they reach this point.
--Mike

Revision 1535 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 26 21:16:18 2003 UTC (16 years, 4 months ago) by gage
File length: 24169 byte(s)
Diff to previous 1117
Added line which prints out the raw student answer when the debug
flag is on.
--Mike

Revision 1117 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 11 04:00:37 2003 UTC (16 years, 8 months ago) by gage
File length: 24109 byte(s)
Diff to previous 1050
Added a feature to correspond to a change made in process_answers in Translator.pm.

 Each answer
evaluator is given the
answer AND the answer label (e.g. AnSWer1) of the answer.  The label
is placed in the answer hash at $hash{ans_label} for use by filters
that need to know the label of the answer they are evaluating.

--Mike

Revision 1050 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Jun 6 21:39:42 2003 UTC (16 years, 8 months ago) by sh002i
File length: 23974 byte(s)
moved PG modules and macro files from webwork-modperl to pg
-sam

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