CVS log for loncom/homework/default_homework.lcpm
Up to [LON-CAPA] / loncom / homework
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.177: download - view: text, markup, annotated - select for diffs
Wed Nov 6 16:20:06 2019 UTC (5 years, 1 month ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X,
HEAD
Diff to previous 1.176: preferred, colored
Changes since revision 1.176: +6 -2
lines
- Bug 6919. For multi-part problems containing perl script blocks inside
part(s), if question type = randomizetry, the first call to &random()
for each part needs to set the new seed.
Revision 1.172.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 3 22:46:30 2019 UTC (5 years, 8 months ago) by raeburn
Branches: version_2_11_2_msu
Diff to previous 1.172: preferred, colored next main 1.173: preferred, colored
Changes since revision 1.172: +24 -11
lines
- For 2.11.2 (modified)
Include changes in rev. 1.176
Revision 1.176: download - view: text, markup, annotated - select for diffs
Wed Apr 3 21:37:11 2019 UTC (5 years, 8 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_X,
version_2_11_5_msu,
version_2_11_5,
version_2_11_4_uiuc,
version_2_11_4_msu,
version_2_11_4,
version_2_11_3_uiuc,
version_2_11_3_msu,
version_2_11_3
Diff to previous 1.175: preferred, colored
Changes since revision 1.175: +24 -11
lines
- Bug 6903. Args passed to &Math::Random::random_set_seed() need to be
within bounds, otherwise use &Math::Random::random_set_seed_from_phrase()
Revision 1.175: download - view: text, markup, annotated - select for diffs
Wed Sep 12 22:00:31 2018 UTC (6 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.174: preferred, colored
Changes since revision 1.174: +2 -2
lines
- Bug 6873
Shorter name for function: &conv_eng_format(). Add documentation
Revision 1.174: download - view: text, markup, annotated - select for diffs
Wed Sep 12 21:10:44 2018 UTC (6 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.173: preferred, colored
Changes since revision 1.173: +13 -1
lines
- Bug 6873
LONCAPA-prerequisites needs perl-Number-FormatEng.
Revision 1.173: download - view: text, markup, annotated - select for diffs
Tue Feb 7 21:24:29 2017 UTC (7 years, 10 months ago) by damieng
Branches: MAIN
CVS tags: version_2_11_2_educog
Diff to previous 1.172: preferred, colored
Changes since revision 1.172: +27 -3
lines
fixed bug 6844
Revision 1.172: download - view: text, markup, annotated - select for diffs
Wed Jan 4 19:54:47 2017 UTC (7 years, 11 months ago) by damieng
Branches: MAIN
CVS tags: version_2_11_2_uiuc,
version_2_11_2
Branch point for: version_2_11_2_msu
Diff to previous 1.171: preferred, colored
Changes since revision 1.171: +11 -3
lines
avoiding the missing $ in m warning with chemparse
Revision 1.171: download - view: text, markup, annotated - select for diffs
Tue Dec 6 20:51:11 2016 UTC (8 years ago) by damieng
Branches: MAIN
Diff to previous 1.170: preferred, colored
Changes since revision 1.170: +6 -1
lines
added input_id sub for bug 6821
Revision 1.170: download - view: text, markup, annotated - select for diffs
Sun Dec 14 02:43:59 2014 UTC (10 years ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_1
Diff to previous 1.169: preferred, colored
Changes since revision 1.169: +3 -3
lines
- Add mapalias as an optional sixth arg in LON-CAPA function:
&submission() used to retrieve student's submission for a specific
problem/part/response ID for use in a different problem/part in course.
Revision 1.169: download - view: text, markup, annotated - select for diffs
Wed Jun 25 16:50:51 2014 UTC (10 years, 6 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_0
Diff to previous 1.168: preferred, colored
Changes since revision 1.168: +48 -2
lines
- Bugs 6609, 6611, 6614
- Optional fifth arg can be provided to &submission() to clean up learner
submitted data (e.g., in a multi-part problem) where learner data from
submissions to a numerical respnse in an earlier part will be used as
variables in the script block when calculating answers for a later part.
- "cleanupnum" arg is a ref to a hash, with one or more of the following
keys => values:
exponent => 1, comma => 1, letterforzero => 1, spaces => 1, format => 'ns'
(where n is an integer, i.e., number of significant digits).
Revision 1.168: download - view: text, markup, annotated - select for diffs
Wed Jun 25 15:43:04 2014 UTC (10 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.167: preferred, colored
Changes since revision 1.167: +21 -7
lines
- Bug 6693
- submission can be ref to an array if there are multiple <value></value>
items within an <answer> tag.
Revision 1.167: download - view: text, markup, annotated - select for diffs
Wed Jun 25 10:48:39 2014 UTC (10 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.166: preferred, colored
Changes since revision 1.166: +13 -6
lines
- Bug 6613
Handle formatting correctly for numbers with absolute values of 10^15
or larger, and numbers smaller than 10^-4 in &format_significant_figures(),
in which perl automatically uses exponent form for initial value of $numSig.
Revision 1.166: download - view: text, markup, annotated - select for diffs
Tue Jun 24 18:02:47 2014 UTC (10 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.165: preferred, colored
Changes since revision 1.165: +13 -1
lines
- Bug 6645.
- "Computer's Answer" - append correct number of trailing zeros to satisfy
significant digits format, in a particular rounding situation.
Revision 1.165: download - view: text, markup, annotated - select for diffs
Tue Jun 24 17:02:33 2014 UTC (10 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.164: preferred, colored
Changes since revision 1.164: +21 -20
lines
- Bug 6577
- More generalized solution than implemented previously in rev. 1.163.
- e.g., computed answer: 1900, can be formatted 3s (1.90E+3).
same for computed answer: 1.900E+3, can be formatted 3s (1.90E+3).
Revision 1.164: download - view: text, markup, annotated - select for diffs
Mon Jun 16 16:52:50 2014 UTC (10 years, 6 months ago) by bisitz
Branches: MAIN
Diff to previous 1.163: preferred, colored
Changes since revision 1.163: +11 -3
lines
Bug #6693: New optional parameter to allow the author to encode the student's submission provided by the function &submission().
Revision 1.163: download - view: text, markup, annotated - select for diffs
Mon Jan 21 06:16:50 2013 UTC (11 years, 11 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_0_RC3,
version_2_11_0_RC2,
version_2_11_0_RC1
Diff to previous 1.162: preferred, colored
Changes since revision 1.162: +12 -1
lines
- Bug 6577.
- Eliminate warnings about significant figures where answer format is set
to be S, but correct answer is an integer with multiple trailing zeroes.
Revision 1.152.2.3: download - view: text, markup, annotated - select for diffs
Thu Nov 22 02:15:42 2012 UTC (12 years, 1 month ago) by raeburn
Branches: version_2_10_X
Diff to previous 1.152.2.2: preferred, colored to branchpoint 1.152: preferred, colored next main 1.153: preferred, colored
Changes since revision 1.152.2.2: +2 -1
lines
- Backport 1.162.
Revision 1.162: download - view: text, markup, annotated - select for diffs
Wed Nov 21 23:22:43 2012 UTC (12 years, 1 month ago) by raeburn
Branches: MAIN
Diff to previous 1.161: preferred, colored
Changes since revision 1.161: +2 -1
lines
- Bug 6629.
- Re-establish availability of ln() function in script blocks for Linux
distros running perl 5.10.1 or newer.
Revision 1.152.2.2: download - view: text, markup, annotated - select for diffs
Thu Oct 6 17:20:37 2011 UTC (13 years, 2 months ago) by raeburn
Branches: version_2_10_X
CVS tags: version_2_10_1,
loncapaMITrelate_1
Diff to previous 1.152.2.1: preferred, colored to branchpoint 1.152: preferred, colored
Changes since revision 1.152.2.1: +103 -16
lines
- Backport 1.153, 1,154, 1.155, 1.156, 1.157, 1.158, 1.159, 1.161.
Revision 1.161: download - view: text, markup, annotated - select for diffs
Thu Oct 6 17:15:40 2011 UTC (13 years, 2 months ago) by raeburn
Branches: MAIN
CVS tags: language_hyphenation_merge,
language_hyphenation,
BZ4492-merge,
BZ4492-feature_horizontal_radioresponse,
BZ4492-feature_Support_horizontal_radioresponse,
BZ4492-Support_horizontal_radioresponse
Diff to previous 1.160: preferred, colored
Changes since revision 1.160: +8 -7
lines
- Check customunits contains other than white space before calling split().
Revision 1.152.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 3 03:37:23 2011 UTC (13 years, 5 months ago) by raeburn
Branches: version_2_10_X
Diff to previous 1.152: preferred, colored
Changes since revision 1.152: +2 -2
lines
- Backport 1.160.
Revision 1.160: download - view: text, markup, annotated - select for diffs
Wed Aug 3 03:14:29 2011 UTC (13 years, 5 months ago) by raeburn
Branches: MAIN
Diff to previous 1.159: preferred, colored
Changes since revision 1.159: +2 -2
lines
- Bug 6466.
Revision 1.159: download - view: text, markup, annotated - select for diffs
Thu Jun 9 15:43:56 2011 UTC (13 years, 6 months ago) by www
Branches: MAIN
Diff to previous 1.158: preferred, colored
Changes since revision 1.158: +13 -19
lines
Bug #53: custom units now possible, new parameter "customunits"
Format: unita=unitb,unitc=4*unitb,...
Revision 1.158: download - view: text, markup, annotated - select for diffs
Wed Jun 8 20:38:47 2011 UTC (13 years, 6 months ago) by www
Branches: MAIN
Diff to previous 1.157: preferred, colored
Changes since revision 1.157: +24 -2
lines
Bug #2020: pre-processing of numerical, formula, and string response
Bug #5100: degrees Fahrenheit, etc
Revision 1.157: download - view: text, markup, annotated - select for diffs
Wed Jun 8 01:39:28 2011 UTC (13 years, 6 months ago) by www
Branches: MAIN
Diff to previous 1.156: preferred, colored
Changes since revision 1.156: +15 -4
lines
Bug #2020: work on preprocessor
Revision 1.156: download - view: text, markup, annotated - select for diffs
Tue Jun 7 22:07:09 2011 UTC (13 years, 6 months ago) by www
Branches: MAIN
Diff to previous 1.155: preferred, colored
Changes since revision 1.155: +16 -5
lines
Bug #6311: Allow for algebraic input in numerical response
Revision 1.155: download - view: text, markup, annotated - select for diffs
Sun May 22 03:04:51 2011 UTC (13 years, 7 months ago) by www
Branches: MAIN
Diff to previous 1.154: preferred, colored
Changes since revision 1.154: +23 -1
lines
Function to generate wrong answer bubbles
Revision 1.154: download - view: text, markup, annotated - select for diffs
Sat May 21 14:50:36 2011 UTC (13 years, 7 months ago) by www
Branches: MAIN
Diff to previous 1.153: preferred, colored
Changes since revision 1.153: +13 -1
lines
Easier access to parameters and stored data.
Revision 1.153: download - view: text, markup, annotated - select for diffs
Sat May 21 14:08:06 2011 UTC (13 years, 7 months ago) by www
Branches: MAIN
Diff to previous 1.152: preferred, colored
Changes since revision 1.152: +14 -1
lines
Accessing additional course data
Revision 1.152: download - view: text, markup, annotated - select for diffs
Sat Feb 26 17:50:13 2011 UTC (13 years, 10 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_10_0
Branch point for: version_2_10_X
Diff to previous 1.151: preferred, colored
Changes since revision 1.151: +2 -10
lines
- Efficiency: use a single loop to check for control characters and populate
answerstring for stringreponse.
Revision 1.151: download - view: text, markup, annotated - select for diffs
Thu Dec 16 16:01:01 2010 UTC (14 years ago) by raeburn
Branches: MAIN
CVS tags: version_2_10_0_RC2
Diff to previous 1.150: preferred, colored
Changes since revision 1.150: +18 -4
lines
- Bug 5531.
caparesponse.pm
- For stringresponse: (case (in)sensitive) computer's answer available
in detailed submission display.
- Student username in warnings on control characters etc. renamed $sname
instead of $name (already in use in different scope) to improve code
readability
- computer answer available for legacy stringresponse submission (e.g.,
for bug 5531 detection script -see neutrinohavest.pl)
if grade_retrieveanswers included in form for answer target.
default_homework.pm
- fix detection of control characters in answers - answers will be in
an array
- computer's answer returned by &caparesponse_check_list()
loncommon.pm
- &format_previous_attempt_value() handles display of computer's answer.
- fix typo in phrase for localization (no current translations in
localize/*.pm to update).
Revision 1.150: download - view: text, markup, annotated - select for diffs
Mon Oct 18 19:47:31 2010 UTC (14 years, 2 months ago) by raeburn
Branches: MAIN
Diff to previous 1.149: preferred, colored
Changes since revision 1.149: +30 -3
lines
- Bug 5531.
- remove control characters from student submission for stringresponse,
unless "computer's answer" also includes control characters.
(correctness evaluated with control characters removed).
- log to lonnet.log if control characters were removed (if <CR>, <FF> or
newline, escape these control characters, when included in log report).
Revision 1.149: download - view: text, markup, annotated - select for diffs
Thu Oct 14 19:54:56 2010 UTC (14 years, 2 months ago) by raeburn
Branches: MAIN
Diff to previous 1.148: preferred, colored
Changes since revision 1.148: +33 -2
lines
- Bug 5531.
- Detect where student resubmits previous answer for case sensitive
stringreponse item and award changes to EXACT_ANS.
Detect for case insensitive stringresponse when previous award changes
to EXACT_ANS for submissions whch only differ by case.
- logs to lonnet.log and sends e-mail to recipients of "errormail" for
course domain.
- For cs and ci types if award is INCORRECT use perl to compare
response with answer, and log if disagreement with result from
strcasecmp() or strcmp() to capa_check_answer() in capaCommon.
Revision 1.148: download - view: text, markup, annotated - select for diffs
Thu Oct 14 04:59:08 2010 UTC (14 years, 2 months ago) by raeburn
Branches: MAIN
Diff to previous 1.147: preferred, colored
Changes since revision 1.147: +4 -2
lines
- Don't add trailing space if no unit to append.
Revision 1.147: download - view: text, markup, annotated - select for diffs
Wed Jan 6 16:59:30 2010 UTC (14 years, 11 months ago) by www
Branches: MAIN
CVS tags: version_2_9_X,
version_2_9_99_0,
version_2_9_1,
version_2_9_0,
version_2_8_99_1,
version_2_10_0_RC1,
bz6209-base,
bz6209,
PRINT_INCOMPLETE_base,
PRINT_INCOMPLETE
Diff to previous 1.146: preferred, colored
Changes since revision 1.146: +11 -1
lines
Dealing with percentages if the author entered %, but the student did not.
Revision 1.146: download - view: text, markup, annotated - select for diffs
Sun Dec 27 19:40:42 2009 UTC (15 years ago) by www
Branches: MAIN
Diff to previous 1.145: preferred, colored
Changes since revision 1.145: +5 -5
lines
Bug #5796: confusion when asking for "percentage"
undoing Bug #1967 - the side effects of the medicine are worse than
the illness
Revision 1.145: download - view: text, markup, annotated - select for diffs
Tue Jun 23 03:01:15 2009 UTC (15 years, 6 months ago) by www
Branches: MAIN
CVS tags: version_2_8_99_0,
bz2851,
GCI_3,
GCI_2
Diff to previous 1.144: preferred, colored
Changes since revision 1.144: +33 -2
lines
Paul Rubin's interface to R.
Works now. However, it needs additional Perl libraries, which are currently
commented out. Also, an R-package needs to be installed.
Revision 1.144: download - view: text, markup, annotated - select for diffs
Fri Apr 17 01:00:15 2009 UTC (15 years, 8 months ago) by www
Branches: MAIN
CVS tags: bz5969,
BZ5971-printing-apage,
BZ5434-fox
Diff to previous 1.143: preferred, colored
Changes since revision 1.143: +3 -1
lines
Support for R CAS
- needs testing
- better error handling
- correct blacklist
- correct list of allowed libraries
Revision 1.143: download - view: text, markup, annotated - select for diffs
Fri Feb 6 10:43:48 2009 UTC (15 years, 10 months ago) by riegler
Branches: MAIN
CVS tags: version_2_8_X,
version_2_8_2,
version_2_8_1,
GCI_1
Diff to previous 1.142: preferred, colored
Changes since revision 1.142: +2 -2
lines
There are problems coded as formula resonse WITHOUT sampling requiring the student to enter a set (such as {4,2,b,z}).
As of version 1.142 sets as student's input would return BAD_FORMULA, because they contain commas.
With this version BAD_FORMULA will only be returned if the response contains a , but not a set.
These set problems are inpossible to code using mathresponse as it splits the response at commas. Hence RESPONSE[1]='{4' for the above set which is not a legel maxima expression.
These set problems could be coded by customresponse in combination mathresponse. customresponse would be used to remove the curly brackets. This way of coding, however, is very ackward as compared to formula response.
Revision 1.142: download - view: text, markup, annotated - select for diffs
Wed Nov 26 18:11:52 2008 UTC (16 years, 1 month ago) by raeburn
Branches: MAIN
CVS tags: version_2_8_0,
version_2_7_99_1,
version_2_7_99_0
Diff to previous 1.141: preferred, colored
Changes since revision 1.141: +8 -2
lines
Formularesponse will not accept a comma in an individual submission - either as a scalar answer or within a single component in a vector answer (for vectors: components are split on , prior to this evaluation phase).
Revision 1.141: download - view: text, markup, annotated - select for diffs
Sat Sep 27 07:26:45 2008 UTC (16 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.140: preferred, colored
Changes since revision 1.140: +2 -2
lines
Bug 5806. Although % is not a LON-CAPA unit it has apparently been used as such.
- Revert to pre-1.133 behavior (2.6.X and earlier) for published problems where the unit was set to %.
- Work in progress if % is to become a 'real' unit.
Revision 1.140: download - view: text, markup, annotated - select for diffs
Sat Sep 13 02:08:32 2008 UTC (16 years, 3 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_7_X,
version_2_7_1
Diff to previous 1.139: preferred, colored
Changes since revision 1.139: +2 -3
lines
- Bug 5793
Alternative solution. Revert default_homework.lcpm to 1.138. No longer need to pass tag arg to caparesponse_check_list().
- Instead set $$args_ref{'type'} to 'ci' (the default) if type attrib is missing or null in the corresponding <stringhint> (hint.pm), or <stringresponse> (caparesponse.pm) tags.
Revision 1.139: download - view: text, markup, annotated - select for diffs
Fri Sep 12 09:56:09 2008 UTC (16 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.138: preferred, colored
Changes since revision 1.138: +4 -3
lines
- Bug 5531 (although should really be a separate bug).
RegExp used to separate units from numerical part of an answer can truncate responses to stringresponse items for which the type has not been explicitly set (as ci, cs, mc or re).
- Include the tagname of the response item in calls to caparesponse_check_list(), so that if the type attribute is unspecified, stringresponse submissions are not subjected to the unit extractor.
Perhaps there is a reason why this ambiguity has not been eliminated previously by passing the tagname to caparesponse_check_list() - run in the safe space?
Testing needed.
Revision 1.138: download - view: text, markup, annotated - select for diffs
Sat Sep 6 21:39:15 2008 UTC (16 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.137: preferred, colored
Changes since revision 1.137: +4 -2
lines
Fix bug 5785.
- Removal of spaces from user responses to stringresponse questions when checking for correctness is a side effect of rev 1.133 which addressed bug 4680.
Revision 1.137: download - view: text, markup, annotated - select for diffs
Sat Jun 14 16:34:54 2008 UTC (16 years, 6 months ago) by www
Branches: MAIN
CVS tags: version_2_7_0,
version_2_6_99_1,
version_2_6_99_0
Diff to previous 1.136: preferred, colored
Changes since revision 1.136: +5 -3
lines
Bug #5738: be able to load libraries into Maxima
Revision 1.136: download - view: text, markup, annotated - select for diffs
Thu Jun 12 00:46:52 2008 UTC (16 years, 6 months ago) by www
Branches: MAIN
Diff to previous 1.135: preferred, colored
Changes since revision 1.135: +30 -1
lines
Accessor functions for more stuff
Revision 1.135: download - view: text, markup, annotated - select for diffs
Tue Jun 10 16:20:29 2008 UTC (16 years, 6 months ago) by www
Branches: MAIN
Diff to previous 1.134: preferred, colored
Changes since revision 1.134: +10 -28
lines
The &due_date, etc, functions now return correct timezones and languages.
Revision 1.134: download - view: text, markup, annotated - select for diffs
Fri May 30 01:16:04 2008 UTC (16 years, 7 months ago) by www
Branches: MAIN
Diff to previous 1.133: preferred, colored
Changes since revision 1.133: +11 -5
lines
answer_date, due_date, and open_date take partid as parameter
Revision 1.133: download - view: text, markup, annotated - select for diffs
Thu Mar 6 14:27:43 2008 UTC (16 years, 9 months ago) by www
Branches: MAIN
Diff to previous 1.132: preferred, colored
Changes since revision 1.132: +17 -21
lines
Bug #4680: zero does not need units
Revision 1.132: download - view: text, markup, annotated - select for diffs
Thu Mar 6 14:04:09 2008 UTC (16 years, 9 months ago) by www
Branches: MAIN
Diff to previous 1.131: preferred, colored
Changes since revision 1.131: +10 -4
lines
Bug #1967: accept percentages as numerical answers, such as "80% c" for
eighty percent speed of light.
Revision 1.131: download - view: text, markup, annotated - select for diffs
Thu Mar 6 02:20:05 2008 UTC (16 years, 9 months ago) by www
Branches: MAIN
Diff to previous 1.130: preferred, colored
Changes since revision 1.130: +2 -2
lines
Let's hope for the best.
Revision 1.130: download - view: text, markup, annotated - select for diffs
Thu Mar 6 01:54:16 2008 UTC (16 years, 9 months ago) by www
Branches: MAIN
Diff to previous 1.129: preferred, colored
Changes since revision 1.129: +3 -3
lines
Bug #1677: cc as unit (and a few others that people apparently wanted)
Revision 1.129: download - view: text, markup, annotated - select for diffs
Wed Mar 5 18:24:07 2008 UTC (16 years, 9 months ago) by www
Branches: MAIN
Diff to previous 1.128: preferred, colored
Changes since revision 1.128: +2 -2
lines
A unit has at least one non-digit character.
Revision 1.128: download - view: text, markup, annotated - select for diffs
Wed Mar 5 18:05:05 2008 UTC (16 years, 9 months ago) by www
Branches: MAIN
Diff to previous 1.127: preferred, colored
Changes since revision 1.127: +5 -3
lines
Bug #3991:
* correctly split off units
* then apply implicit multiplication rules
Revision 1.127: download - view: text, markup, annotated - select for diffs
Wed Mar 5 16:06:39 2008 UTC (16 years, 9 months ago) by www
Branches: MAIN
Diff to previous 1.126: preferred, colored
Changes since revision 1.126: +3 -2
lines
Bug #4721: don't interpret whitespace in number as part of unit
Revision 1.126: download - view: text, markup, annotated - select for diffs
Wed Mar 5 15:31:57 2008 UTC (16 years, 9 months ago) by www
Branches: MAIN
Diff to previous 1.125: preferred, colored
Changes since revision 1.125: +2 -2
lines
For dollar-type problems (e.g., answer: "$1.99"), the Computer's Answer was
wrong (computer would enter "1.99 $").
Revision 1.125: download - view: text, markup, annotated - select for diffs
Mon Mar 3 19:14:51 2008 UTC (16 years, 10 months ago) by www
Branches: MAIN
CVS tags: version_2_6_X,
version_2_6_3
Diff to previous 1.124: preferred, colored
Changes since revision 1.124: +2 -1
lines
Bug #1159: entering an equation is not INCORRECT
Revision 1.124: download - view: text, markup, annotated - select for diffs
Tue Dec 19 14:24:05 2006 UTC (18 years ago) by www
Branches: MAIN
CVS tags: version_2_6_2,
version_2_6_1,
version_2_6_0,
version_2_5_X,
version_2_5_99_1,
version_2_5_99_0,
version_2_5_2,
version_2_5_1,
version_2_5_0,
version_2_4_X,
version_2_4_99_0,
version_2_4_2,
version_2_4_1,
version_2_4_0,
version_2_3_99_0
Diff to previous 1.123: preferred, colored
Changes since revision 1.123: +10 -1
lines
&cas()
Revision 1.123: download - view: text, markup, annotated - select for diffs
Fri Dec 15 22:11:43 2006 UTC (18 years ago) by www
Branches: MAIN
Diff to previous 1.122: preferred, colored
Changes since revision 1.122: +1 -33
lines
Make formula fix work with <mathresponse>
Revision 1.122: download - view: text, markup, annotated - select for diffs
Fri Dec 15 21:15:42 2006 UTC (18 years ago) by www
Branches: MAIN
Diff to previous 1.121: preferred, colored
Changes since revision 1.121: +1 -3
lines
Doesn't make much sense to convert a3 to a*3
Revision 1.121: download - view: text, markup, annotated - select for diffs
Mon Dec 11 00:42:48 2006 UTC (18 years ago) by albertel
Branches: MAIN
CVS tags: version_2_3_X,
version_2_3_2,
version_2_3_1,
version_2_3_0,
version_2_2_99_1,
version_2_2_99_0
Diff to previous 1.120: preferred, colored
Changes since revision 1.120: +8 -8
lines
- disable some debuggin routines
Revision 1.120: download - view: text, markup, annotated - select for diffs
Fri Nov 10 17:45:52 2006 UTC (18 years, 1 month ago) by albertel
Branches: MAIN
Diff to previous 1.119: preferred, colored
Changes since revision 1.119: +3 -3
lines
- check for and error when there are
- different numbers of answers
- incorrect number of input fields
Revision 1.119: download - view: text, markup, annotated - select for diffs
Wed Nov 1 23:24:52 2006 UTC (18 years, 2 months ago) by albertel
Branches: MAIN
Diff to previous 1.118: preferred, colored
Changes since revision 1.118: +99 -33
lines
- adding support for <vector> answers
<answer><value>1</value><value>2</value></answer>
requires 2 <textline>s
<answer><vector>1,2</vector></answer>
requires 1 textline
Still borken:
<answer type="unordered"><vector>1,2</vector><value>3</value></answer>
Revision 1.118: download - view: text, markup, annotated - select for diffs
Mon Oct 2 18:23:38 2006 UTC (18 years, 3 months ago) by albertel
Branches: MAIN
Diff to previous 1.117: preferred, colored
Changes since revision 1.117: +9 -1
lines
- saving some notes for future speed up possiblities
Revision 1.117: download - view: text, markup, annotated - select for diffs
Fri Sep 29 23:10:22 2006 UTC (18 years, 3 months ago) by albertel
Branches: MAIN
Diff to previous 1.116: preferred, colored
Changes since revision 1.116: +53 -37
lines
- speed up grading of unordered response (up to 8 values can be down in under 5 secs)
Revision 1.116: download - view: text, markup, annotated - select for diffs
Fri Sep 29 20:55:33 2006 UTC (18 years, 3 months ago) by albertel
Branches: MAIN
Diff to previous 1.115: preferred, colored
Changes since revision 1.115: +115 -34
lines
- BUG#33
- multiple correct answer can be defined
- when there are multiple values defined, you can set it to accept them in any order
Revision 1.115: download - view: text, markup, annotated - select for diffs
Fri Jul 28 15:22:28 2006 UTC (18 years, 5 months ago) by www
Branches: MAIN
CVS tags: version_2_2_X,
version_2_2_2,
version_2_2_1,
version_2_2_0,
version_2_1_99_3,
version_2_1_99_2
Diff to previous 1.114: preferred, colored
Changes since revision 1.114: +9 -5
lines
Trying to cover more implicit multiplication cases
Revision 1.114: download - view: text, markup, annotated - select for diffs
Thu Jul 27 22:56:37 2006 UTC (18 years, 5 months ago) by albertel
Branches: MAIN
Diff to previous 1.113: preferred, colored
Changes since revision 1.113: +3 -3
lines
- an attempt at bug#4939
Revision 1.113: download - view: text, markup, annotated - select for diffs
Tue Jul 18 17:14:10 2006 UTC (18 years, 5 months ago) by www
Branches: MAIN
CVS tags: version_2_1_99_1
Diff to previous 1.112: preferred, colored
Changes since revision 1.112: +3 -3
lines
Wrong description
Revision 1.112: download - view: text, markup, annotated - select for diffs
Tue Jul 18 15:26:23 2006 UTC (18 years, 5 months ago) by www
Branches: MAIN
Diff to previous 1.111: preferred, colored
Changes since revision 1.111: +13 -1
lines
First name and last name functions, §ion actually only called &sec
Revision 1.111: download - view: text, markup, annotated - select for diffs
Tue Jul 18 14:06:17 2006 UTC (18 years, 5 months ago) by www
Branches: MAIN
Diff to previous 1.110: preferred, colored
Changes since revision 1.110: +10 -1
lines
The Style Police apparently believes that regular expressions are not
self-explanatory.
Revision 1.110: download - view: text, markup, annotated - select for diffs
Mon Jul 17 21:11:21 2006 UTC (18 years, 5 months ago) by www
Branches: MAIN
Diff to previous 1.109: preferred, colored
Changes since revision 1.109: +8 -4
lines
Bug #4910: also in formula_response, 3e8 should not be turned into 3*e*8
Revision 1.109: download - view: text, markup, annotated - select for diffs
Wed Jul 5 19:01:44 2006 UTC (18 years, 5 months ago) by albertel
Branches: MAIN
CVS tags: version_2_1_99_0
Diff to previous 1.108: preferred, colored
Changes since revision 1.108: +6 -2
lines
- formula fixups should only be applied when it's a formula BUG#4910
Revision 1.108: download - view: text, markup, annotated - select for diffs
Fri Jun 30 21:24:27 2006 UTC (18 years, 6 months ago) by www
Branches: MAIN
Diff to previous 1.107: preferred, colored
Changes since revision 1.107: +20 -3
lines
Partial bug #977: implicit multiplication in clear-cut places
Revision 1.107: download - view: text, markup, annotated - select for diffs
Tue Jun 13 14:57:54 2006 UTC (18 years, 6 months ago) by albertel
Branches: MAIN
Diff to previous 1.106: preferred, colored
Changes since revision 1.106: +9 -4
lines
- moving code from modules into main
Revision 1.106: download - view: text, markup, annotated - select for diffs
Tue Dec 20 20:00:42 2005 UTC (19 years ago) by albertel
Branches: MAIN
CVS tags: version_2_1_X,
version_2_1_3,
version_2_1_2,
version_2_1_1,
version_2_1_0,
version_2_0_99_1
Diff to previous 1.105: preferred, colored
Changes since revision 1.105: +3 -2
lines
- need to wlak the response array.
Revision 1.105: download - view: text, markup, annotated - select for diffs
Wed Nov 16 23:17:39 2005 UTC (19 years, 1 month ago) by albertel
Branches: MAIN
Diff to previous 1.104: preferred, colored
Changes since revision 1.104: +18 -19
lines
- complains intellignetly when a user submits 2,3,4 and 2,3 was expected
Revision 1.104: download - view: text, markup, annotated - select for diffs
Wed Nov 16 22:18:22 2005 UTC (19 years, 1 month ago) by albertel
Branches: MAIN
Diff to previous 1.103: preferred, colored
Changes since revision 1.103: +13 -8
lines
- some style
- mostyl try to protect againt sending undef as an 'answer' C code unhappy with that
Revision 1.103: download - view: text, markup, annotated - select for diffs
Mon Sep 26 21:39:53 2005 UTC (19 years, 3 months ago) by albertel
Branches: MAIN
Diff to previous 1.102: preferred, colored
Changes since revision 1.102: +9 -9
lines
- adding Math::Complex and Math::Cephes::Matrix
Revision 1.102: download - view: text, markup, annotated - select for diffs
Tue Aug 2 18:47:24 2005 UTC (19 years, 5 months ago) by albertel
Branches: MAIN
CVS tags: version_2_0_X,
version_2_0_2,
version_2_0_1,
version_2_0_0,
version_1_99_3
Diff to previous 1.101: preferred, colored
Changes since revision 1.101: +5 -5
lines
- was doing -123 -> -,123 BUG#4110
Revision 1.101: download - view: text, markup, annotated - select for diffs
Wed Jul 13 20:44:29 2005 UTC (19 years, 5 months ago) by albertel
Branches: MAIN
CVS tags: version_1_99_2
Diff to previous 1.100: preferred, colored
Changes since revision 1.100: +25 -1
lines
- adding some idea to support web CT 'sum' function
Revision 1.100: download - view: text, markup, annotated - select for diffs
Fri Jun 17 20:24:56 2005 UTC (19 years, 6 months ago) by albertel
Branches: MAIN
CVS tags: version_1_99_1,
version_1_99_0
Diff to previous 1.99: preferred, colored
Changes since revision 1.99: +6 -2
lines
- BIUG#4088, string response in mc mode ignores spaces and commas in instructor answer and student response.
Revision 1.99: download - view: text, markup, annotated - select for diffs
Fri Apr 1 13:58:25 2005 UTC (19 years, 9 months ago) by ng
Branches: MAIN
CVS tags: version_1_99_1_tmcc,
version_1_99_0_tmcc
Diff to previous 1.98: preferred, colored
Changes since revision 1.98: +3 -2
lines
variable $result should be declared outside block or &format does not work.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Thu Mar 31 17:12:37 2005 UTC (19 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.97: preferred, colored
Changes since revision 1.97: +6 -1
lines
- &format('60','2S'); works correctly now BUG#4028
Revision 1.97: download - view: text, markup, annotated - select for diffs
Thu Mar 31 14:43:13 2005 UTC (19 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.96: preferred, colored
Changes since revision 1.96: +44 -6
lines
- BUG#4028 (implemented by Hon-Kie) add new format mode 3s, and document it
Revision 1.96: download - view: text, markup, annotated - select for diffs
Tue Mar 29 17:57:51 2005 UTC (19 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.95: preferred, colored
Changes since revision 1.95: +13 -3
lines
- BUG#4035, buy Guy Ash.
1. Rational coefficients are now supported (e.g. Na + 1/2Cl2 -> NaCl )
2. Hydrates are now supported (e.g. CuSO4.5H2O )
Revision 1.95: download - view: text, markup, annotated - select for diffs
Mon Mar 28 19:20:54 2005 UTC (19 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.94: preferred, colored
Changes since revision 1.94: +2 -2
lines
- fix typo
Revision 1.94: download - view: text, markup, annotated - select for diffs
Fri Feb 18 22:52:50 2005 UTC (19 years, 10 months ago) by albertel
Branches: MAIN
Diff to previous 1.93: preferred, colored
Changes since revision 1.93: +3 -1
lines
- BUG#3914, under spcified multi-dimensional input threw errors
Revision 1.93: download - view: text, markup, annotated - select for diffs
Thu Feb 17 23:42:38 2005 UTC (19 years, 10 months ago) by albertel
Branches: MAIN
Diff to previous 1.92: preferred, colored
Changes since revision 1.92: +1 -2
lines
- bug #3958
Revision 1.92: download - view: text, markup, annotated - select for diffs
Thu Feb 17 21:42:37 2005 UTC (19 years, 10 months ago) by albertel
Branches: MAIN
Diff to previous 1.91: preferred, colored
Changes since revision 1.91: +2 -2
lines
- adding the <chem> tag
Revision 1.91: download - view: text, markup, annotated - select for diffs
Thu Oct 21 02:43:34 2004 UTC (20 years, 2 months ago) by albertel
Branches: MAIN
CVS tags: version_1_3_X,
version_1_3_3,
version_1_3_2,
version_1_3_1,
version_1_3_0,
version_1_2_99_1,
version_1_2_99_0
Diff to previous 1.90: preferred, colored
Changes since revision 1.90: +33 -3
lines
- BUG#1363, unit="$" now requires the answer to start with $
unit="," now requires proper commation
unit="$," requires both
Revision 1.90: download - view: text, markup, annotated - select for diffs
Mon Oct 11 16:31:34 2004 UTC (20 years, 2 months ago) by albertel
Branches: MAIN
Diff to previous 1.89: preferred, colored
Changes since revision 1.89: +3 -3
lines
adding support for ½ (BUG#3532) (Buy Guy Ash.)
Revision 1.89: download - view: text, markup, annotated - select for diffs
Tue Oct 5 20:30:17 2004 UTC (20 years, 2 months ago) by albertel
Branches: MAIN
Diff to previous 1.88: preferred, colored
Changes since revision 1.88: +1 -3
lines
- remove debug
Revision 1.88: download - view: text, markup, annotated - select for diffs
Tue Oct 5 20:18:29 2004 UTC (20 years, 2 months ago) by albertel
Branches: MAIN
Diff to previous 1.87: preferred, colored
Changes since revision 1.87: +10 -2
lines
- BUG#1363, support $ and , format specifiers in <numericalresponse> if $ is required, require the answer to have a $ at the beginning
Revision 1.87: download - view: text, markup, annotated - select for diffs
Wed Jun 9 21:16:43 2004 UTC (20 years, 6 months ago) by albertel
Branches: MAIN
CVS tags: version_1_2_X,
version_1_2_1,
version_1_2_0,
version_1_1_99_5,
version_1_1_99_4,
version_1_1_99_3,
version_1_1_99_2,
version_1_1_99_1
Diff to previous 1.86: preferred, colored
Changes since revision 1.86: +4 -4
lines
- put some missing my's in and fixed a incorrect regexp
Revision 1.86: download - view: text, markup, annotated - select for diffs
Wed Jun 9 21:08:21 2004 UTC (20 years, 6 months ago) by albertel
Branches: MAIN
Diff to previous 1.85: preferred, colored
Changes since revision 1.85: +4 -4
lines
BUG#3069
Revision 1.85: download - view: text, markup, annotated - select for diffs
Fri Jun 4 22:56:46 2004 UTC (20 years, 6 months ago) by albertel
Branches: MAIN
CVS tags: version_1_1_99_0
Diff to previous 1.84: preferred, colored
Changes since revision 1.84: +3 -12
lines
- new course PARM 'disablesigfigs' allows one to turn off sigfig checking in the entire course (BUG#2842)
Revision 1.84: download - view: text, markup, annotated - select for diffs
Thu May 27 04:25:13 2004 UTC (20 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.83: preferred, colored
Changes since revision 1.83: +4 -1
lines
- fixes for randnumber generation
- due to a error in coding the 64bit and 64bit2 rnd seeds were throwing away the second half of the seed, we now preserve this functionality and make it explicit
- additionally 64bit3 now uses all 64bits of the seed
- also added new function pushrandomnumber poprandomnumber to be called instead of setrandomnumber before we were crunching the Safe space random number generator state, as this function is used bu thing the <optionresponse> and <radoibuttonresponse> this meant changes in the internal randomization code could screw up later Safe space random calls the old method is preserved for blank 64bit and 64bit2 randomiztion env.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Thu May 27 03:46:02 2004 UTC (20 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.82: preferred, colored
Changes since revision 1.82: +1 -0
lines
- BUG#2535, ignore commas in numerical answers
Revision 1.82: download - view: text, markup, annotated - select for diffs
Thu May 27 03:44:18 2004 UTC (20 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.81: preferred, colored
Changes since revision 1.81: +4 -8
lines
- doing some cleanup
Revision 1.81: download - view: text, markup, annotated - select for diffs
Tue May 18 23:12:15 2004 UTC (20 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.80: preferred, colored
Changes since revision 1.80: +25 -11
lines
- okay doing BUG#3013 the correct way.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Mon May 17 22:20:21 2004 UTC (20 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.79: preferred, colored
Changes since revision 1.79: +17 -6
lines
- adding &commaformat and new formatting character , as in ',2f'
- BUG#2998
Revision 1.79: download - view: text, markup, annotated - select for diffs
Mon May 17 21:15:56 2004 UTC (20 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.78: preferred, colored
Changes since revision 1.78: +3 -1
lines
- BUG#3013, add a period to numbers that are 0f formatted
Revision 1.78: download - view: text, markup, annotated - select for diffs
Mon May 17 18:26:31 2004 UTC (20 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.77: preferred, colored
Changes since revision 1.77: +2 -2
lines
- fix from Guy Ash.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri Mar 26 20:10:42 2004 UTC (20 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.76: preferred, colored
Changes since revision 1.76: +6 -2
lines
- Fixes for #870, now can tell te difference between when I student types in a a garbage unit, and when they type in a wrong unit
Revision 1.76: download - view: text, markup, annotated - select for diffs
Mon Mar 22 21:05:15 2004 UTC (20 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.75: preferred, colored
Changes since revision 1.75: +9 -9
lines
- updated the dual arows cahracter to be the one TeX uses too
- BUG#2854, in string responses, make all multi spaces a single space in both answer and responses, I.e. 'Na Cl' == 'Na Cl'
Revision 1.75: download - view: text, markup, annotated - select for diffs
Fri Mar 19 22:02:03 2004 UTC (20 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.74: preferred, colored
Changes since revision 1.74: +41 -1
lines
- New function &chemparse, typesets chemical formulas
Revision 1.74: download - view: text, markup, annotated - select for diffs
Tue Mar 16 19:47:47 2004 UTC (20 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.73: preferred, colored
Changes since revision 1.73: +17 -14
lines
- Fixes Bug#2820 (internal vars were clashing with user vars)
- Cleans up the way data is put into safe space, less escaping, names scaping etc issues
- <stringhint> supports re mode now.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Tue Mar 16 15:31:52 2004 UTC (20 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.72: preferred, colored
Changes since revision 1.72: +413 -440
lines
- retabinate and clean out dead code
Revision 1.72: download - view: text, markup, annotated - select for diffs
Sat Mar 13 00:36:11 2004 UTC (20 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.71: preferred, colored
Changes since revision 1.71: +4 -1
lines
- BUG#32, mainly but alot of assocaited bugs
- caparesponse messages are now printed,
It now reports what it thought the unit was, how many sig figs it read (and how many were expected)
Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri Mar 12 21:06:19 2004 UTC (20 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.70: preferred, colored
Changes since revision 1.70: +14 -8
lines
- BUG# Lots, lets start with 186,32,220,870
- when checking unit,sigfig etctera, we want to tell the student what we think they enetered, need to get the error string out of the C code and into perl space.
- Still need to do something with the message but at lest we have it now
- <numericalhint> properl namespace it's vars now.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Fri Mar 12 16:55:35 2004 UTC (20 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.69: preferred, colored
Changes since revision 1.69: +4 -3
lines
- BUG#2820, namescape the internal variables we use
Revision 1.69: download - view: text, markup, annotated - select for diffs
Wed Feb 18 22:49:32 2004 UTC (20 years, 10 months ago) by albertel
Branches: MAIN
Diff to previous 1.68: preferred, colored
Changes since revision 1.68: +9 -7
lines
- allow one to coerce pretty print to always do tex or web conversion
Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Oct 23 13:56:07 2003 UTC (21 years, 2 months ago) by ng
Branches: MAIN
CVS tags: version_1_1_X,
version_1_1_3,
version_1_1_2,
version_1_1_1,
version_1_1_0,
version_1_0_99_3,
version_1_0_99_2,
version_1_0_99_1,
version_1_0_99
Diff to previous 1.67: preferred, colored
Changes since revision 1.67: +2 -2
lines
Allows 'e' as well as 'E' in prettyprint so that it is consistent with format routine.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Thu Sep 25 22:57:01 2003 UTC (21 years, 3 months ago) by albertel
Branches: MAIN
Diff to previous 1.66: preferred, colored
Changes since revision 1.66: +2 -2
lines
- typo
Revision 1.66: download - view: text, markup, annotated - select for diffs
Thu Sep 25 18:48:40 2003 UTC (21 years, 3 months ago) by albertel
Branches: MAIN
Diff to previous 1.65: preferred, colored
Changes since revision 1.65: +2 -1
lines
- eliminating little e some more
Revision 1.65: download - view: text, markup, annotated - select for diffs
Thu Sep 18 18:54:35 2003 UTC (21 years, 3 months ago) by albertel
Branches: MAIN
Diff to previous 1.64: preferred, colored
Changes since revision 1.64: +3 -1
lines
- fixes reopen of BUG#1874, &prettyprint(.9999,'2E'); said 1.00x10-
Revision 1.64: download - view: text, markup, annotated - select for diffs
Tue Jun 24 20:41:56 2003 UTC (21 years, 6 months ago) by albertel
Branches: MAIN
CVS tags: version_1_0_3,
version_1_0_2,
version_1_0_1,
version_1_0_0,
version_0_99_5,
version_0_99_4,
version_0_99_3
Diff to previous 1.63: preferred, colored
Changes since revision 1.63: +22 -19
lines
= BUG#1849, answers that are in arrays didn't work, now pass the answer in through a varglob into the safe space, and then through a parameter to the capa_check_answer function
Revision 1.63: download - view: text, markup, annotated - select for diffs
Sat Jun 7 03:52:39 2003 UTC (21 years, 6 months ago) by albertel
Branches: MAIN
CVS tags: version_0_99_2
Diff to previous 1.62: preferred, colored
Changes since revision 1.62: +4 -2
lines
- broke fml response, should be okay now
Revision 1.62: download - view: text, markup, annotated - select for diffs
Fri May 23 07:04:44 2003 UTC (21 years, 7 months ago) by albertel
Branches: MAIN
CVS tags: version_0_99_1,
version_0_99_0,
conference_2003
Diff to previous 1.61: preferred, colored
Changes since revision 1.61: +3 -1
lines
- Fxes Bug #941, students submitting answers over 500 characters in length mad capa engine unhappy
- documented INVALID_FILETYPE
- finished off support for ERROR return (and documented)
Revision 1.61: download - view: text, markup, annotated - select for diffs
Wed Apr 30 21:10:50 2003 UTC (21 years, 8 months ago) by albertel
Branches: MAIN
Diff to previous 1.60: preferred, colored
Changes since revision 1.60: +18 -13
lines
- understadns new rndseed returns
Revision 1.60: download - view: text, markup, annotated - select for diffs
Tue Mar 25 23:05:03 2003 UTC (21 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.59: preferred, colored
Changes since revision 1.59: +2 -3
lines
- defined(@array) deprecated
- double declare removed
Revision 1.59: download - view: text, markup, annotated - select for diffs
Tue Mar 25 23:00:18 2003 UTC (21 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.58: preferred, colored
Changes since revision 1.58: +7 -11
lines
- less ambiguous
- remove repeat definition
Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Mar 25 22:53:22 2003 UTC (21 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.57: preferred, colored
Changes since revision 1.57: +7 -7
lines
- @_[] is perl 6 not perl 5
Revision 1.57: download - view: text, markup, annotated - select for diffs
Wed Feb 12 22:45:01 2003 UTC (21 years, 10 months ago) by albertel
Branches: MAIN
Diff to previous 1.56: preferred, colored
Changes since revision 1.56: +8 -3
lines
- explict strings \ and ' now work in string response BUG#1036
Revision 1.56: download - view: text, markup, annotated - select for diffs
Mon Feb 10 21:41:25 2003 UTC (21 years, 10 months ago) by albertel
Branches: MAIN
Diff to previous 1.55: preferred, colored
Changes since revision 1.55: +2 -2
lines
- stupid error fixes BUG#1234
Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Nov 15 17:06:08 2002 UTC (22 years, 1 month ago) by albertel
Branches: MAIN
CVS tags: version_0_6_2,
version_0_6
Diff to previous 1.54: preferred, colored
Changes since revision 1.54: +3 -2
lines
- should make sure that the seed is always in the proper range
- fixes BUG#966
Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Nov 13 23:05:46 2002 UTC (22 years, 1 month ago) by albertel
Branches: MAIN
Diff to previous 1.53: preferred, colored
Changes since revision 1.53: +3 -2
lines
- better distribution of random numbers
Revision 1.53: download - view: text, markup, annotated - select for diffs
Thu Sep 26 21:54:00 2002 UTC (22 years, 3 months ago) by albertel
Branches: MAIN
Diff to previous 1.52: preferred, colored
Changes since revision 1.52: +3 -3
lines
- fixes BUG#547, need to check defined, 0 was blowing things up
Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu Sep 26 20:46:48 2002 UTC (22 years, 3 months ago) by albertel
Branches: MAIN
Diff to previous 1.51: preferred, colored
Changes since revision 1.51: +14 -14
lines
- update to debug messages
Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Sep 26 20:45:00 2002 UTC (22 years, 3 months ago) by albertel
Branches: MAIN
Diff to previous 1.50: preferred, colored
Changes since revision 1.50: +43 -3
lines
- removed use of Perl's internal rand operator, now all randomiztaion depends upon the external Math::Random library
Revision 1.50: download - view: text, markup, annotated - select for diffs
Fri Sep 20 21:11:18 2002 UTC (22 years, 3 months ago) by albertel
Branches: MAIN
Diff to previous 1.49: preferred, colored
Changes since revision 1.49: +3 -1
lines
- fixes reopend BUG#485
Revision 1.49: download - view: text, markup, annotated - select for diffs
Fri Sep 20 18:19:25 2002 UTC (22 years, 3 months ago) by albertel
Branches: MAIN
Diff to previous 1.48: preferred, colored
Changes since revision 1.48: +10 -1
lines
- idea on how one might support &web references to images
Revision 1.48: download - view: text, markup, annotated - select for diffs
Wed Jul 17 18:08:39 2002 UTC (22 years, 5 months ago) by albertel
Branches: MAIN
CVS tags: version_0_5_1,
version_0_5
Diff to previous 1.47: preferred, colored
Changes since revision 1.47: +38 -8
lines
- added support for formatting numbers easily into money amounts. BUG#520
Revision 1.47: download - view: text, markup, annotated - select for diffs
Fri May 31 22:19:06 2002 UTC (22 years, 7 months ago) by albertel
Branches: MAIN
CVS tags: version_0_4,
stable_2002_july,
STABLE
Diff to previous 1.46: preferred, colored
Changes since revision 1.46: +2 -1
lines
- fixing prettyprint to not print an exponenet in E mode if it is 0 (BUG#485)
Revision 1.46: download - view: text, markup, annotated - select for diffs
Wed Feb 6 16:18:26 2002 UTC (22 years, 10 months ago) by albertel
Branches: MAIN
CVS tags: stable_2002_spring,
stable_2002_april
Diff to previous 1.45: preferred, colored
Changes since revision 1.45: +22 -1
lines
- added prettyprint
Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Jan 30 17:32:05 2002 UTC (22 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.44: preferred, colored
Changes since revision 1.44: +7 -1
lines
- handle single number significant figure specs properly
- handle missing step size to random
Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri Dec 21 21:37:26 2001 UTC (23 years ago) by matthew
Branches: MAIN
Diff to previous 1.43: preferred, colored
Changes since revision 1.43: +3 -1
lines
Added missing internal variable $"
Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Dec 13 23:38:28 2001 UTC (23 years ago) by albertel
Branches: MAIN
Diff to previous 1.42: preferred, colored
Changes since revision 1.42: +2 -2
lines
- seems like web should output the web argument for answer target. since the answer will be going to the web.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Dec 4 14:49:37 2001 UTC (23 years, 1 month ago) by albertel
Branches: MAIN
Diff to previous 1.41: preferred, colored
Changes since revision 1.41: +26 -1
lines
- GPL header
Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Dec 4 14:48:35 2001 UTC (23 years, 1 month ago) by albertel
Branches: MAIN
Diff to previous 1.40: preferred, colored
Changes since revision 1.40: +2 -0
lines
- added two new types, float and int so <numericalresponse> can take string answers and deal with them well.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Nov 27 14:57:54 2001 UTC (23 years, 1 month ago) by albertel
Branches: MAIN
CVS tags: stable_2001_fall
Diff to previous 1.39: preferred, colored
Changes since revision 1.39: +10 -8
lines
- bug fix, @list was improperly scoped to just the if
- get_array_args, passes back messages and a list of results
Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Oct 29 21:15:44 2001 UTC (23 years, 2 months ago) by albertel
Branches: MAIN
Diff to previous 1.38: preferred, colored
Changes since revision 1.38: +17 -5
lines
- able to now get a formula response question correct
Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Oct 5 22:28:31 2001 UTC (23 years, 2 months ago) by albertel
Branches: MAIN
Diff to previous 1.37: preferred, colored
Changes since revision 1.37: +5 -2
lines
- added a namespace to $RANDOMINIT so it won't show up in the script variable dumps
Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Oct 1 20:15:30 2001 UTC (23 years, 3 months ago) by albertel
Branches: MAIN
Diff to previous 1.36: preferred, colored
Changes since revision 1.36: +9 -3
lines
- aded helper function, probably should only be used internally
Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu Aug 23 16:44:22 2001 UTC (23 years, 4 months ago) by albertel
Branches: MAIN
Diff to previous 1.35: preferred, colored
Changes since revision 1.35: +6 -10
lines
- no longer masking some variable names
Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Aug 22 22:21:46 2001 UTC (23 years, 4 months ago) by albertel
Branches: MAIN
Diff to previous 1.34: preferred, colored
Changes since revision 1.34: +10 -6
lines
- poor fix
Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Aug 22 21:04:58 2001 UTC (23 years, 4 months ago) by albertel
Branches: MAIN
Diff to previous 1.33: preferred, colored
Changes since revision 1.33: +6 -10
lines
- was masking some variable names
Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Jul 27 18:15:04 2001 UTC (23 years, 5 months ago) by ng
Branches: MAIN
Diff to previous 1.32: preferred, colored
Changes since revision 1.32: +2 -9
lines
fix call to random_multivariate function
Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Jul 23 22:40:59 2001 UTC (23 years, 5 months ago) by albertel
Branches: MAIN
Diff to previous 1.31: preferred, colored
Changes since revision 1.31: +10 -0
lines
- strip ws from student responses
- strip ws from instructor tag args
- support multiple string answers in one field
- support format in <numericalresponse> properly
Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Jul 19 21:26:22 2001 UTC (23 years, 5 months ago) by albertel
Branches: MAIN
Diff to previous 1.30: preferred, colored
Changes since revision 1.30: +30 -11
lines
- added submit button at top
- fixed strinfresponse to use selcet_arg
- fixed passing of strings to capa checker.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Jul 13 14:49:28 2001 UTC (23 years, 5 months ago) by albertel
Branches: MAIN
Diff to previous 1.29: preferred, colored
Changes since revision 1.29: +4 -2
lines
- fixed to make it nearly impossible for the instructor to pick a bad variable name
Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Jul 11 21:36:29 2001 UTC (23 years, 5 months ago) by albertel
Branches: MAIN
Diff to previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3
lines
- err typo, this time it is unit for sure
Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Jun 14 21:29:14 2001 UTC (23 years, 6 months ago) by ng
Branches: MAIN
Diff to previous 1.27: preferred, colored
Changes since revision 1.27: +59 -33
lines
add ability to assign output from map and rmap functions by using
@mappedArray=&map(..) or
($v,$w,..)=&map(..)
same for rmap. This makes it consistent with other functions.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Jun 13 20:00:07 2001 UTC (23 years, 6 months ago) by ng
Branches: MAIN
Diff to previous 1.26: preferred, colored
Changes since revision 1.26: +53 -16
lines
added the map and rmap functions.
correct ceil and floor functions to match CAPA.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Jun 12 21:07:32 2001 UTC (23 years, 6 months ago) by ng
Branches: MAIN
Diff to previous 1.25: preferred, colored
Changes since revision 1.25: +140 -5
lines
added the random functions
LON-CAPA has 8 additional functions
Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu May 31 22:36:18 2001 UTC (23 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.24: preferred, colored
Changes since revision 1.24: +2 -11
lines
- cleaning up some garbage
Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu May 31 20:47:50 2001 UTC (23 years, 7 months ago) by ng
Branches: MAIN
Diff to previous 1.23: preferred, colored
Changes since revision 1.23: +79 -14
lines
add array_moments function
Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed May 30 21:49:13 2001 UTC (23 years, 7 months ago) by ng
Branches: MAIN
Diff to previous 1.22: preferred, colored
Changes since revision 1.22: +36 -4
lines
name, section, class, id functions work.
perl intrinsic functions (sin, cos, atan2, log, exp, sqrt) can be called using &functionname
only normal_xxx functions left to do
Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed May 30 15:24:53 2001 UTC (23 years, 7 months ago) by ng
Branches: MAIN
Diff to previous 1.21: preferred, colored
Changes since revision 1.21: +33 -2
lines
-added some globals
-added some new functions class() name() student_number()
Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon May 28 21:47:48 2001 UTC (23 years, 7 months ago) by harris41
Branches: MAIN
Diff to previous 1.20: preferred, colored
Changes since revision 1.20: +4 -4
lines
comment out asin, acos, atan since already defined in Math::Trig module
Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri May 25 21:20:19 2001 UTC (23 years, 7 months ago) by harris41
Branches: MAIN
Diff to previous 1.19: preferred, colored
Changes since revision 1.19: +46 -0
lines
add the following functions: min, max, factorial, roundto, to_string, sub_string
Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue May 8 14:57:12 2001 UTC (23 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.18: preferred, colored
Changes since revision 1.18: +11 -6
lines
- doesn't add " " to answers without units
Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Feb 20 23:46:25 2001 UTC (23 years, 10 months ago) by albertel
Branches: MAIN
Diff to previous 1.17: preferred, colored
Changes since revision 1.17: +2 -0
lines
- new functions
Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Feb 19 20:31:53 2001 UTC (23 years, 10 months ago) by albertel
Branches: MAIN
Diff to previous 1.16: preferred, colored
Changes since revision 1.16: +4 -4
lines
- cleaning up <br> -> <br />
Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Jan 24 17:01:49 2001 UTC (23 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.15: preferred, colored
Changes since revision 1.15: +2 -0
lines
- setup $pi
Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Jan 16 20:15:40 2001 UTC (23 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.14: preferred, colored
Changes since revision 1.14: +13 -5
lines
- screwed up multiple response checking
- screwed up the unit parsing
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jan 3 00:14:47 2001 UTC (24 years ago) by albertel
Branches: MAIN
Diff to previous 1.13: preferred, colored
Changes since revision 1.13: +22 -1
lines
- changes necceasary to implement a at least somewhat operational <numericresponse>
Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Dec 12 14:54:10 2000 UTC (24 years ago) by albertel
Branches: MAIN
Diff to previous 1.12: preferred, colored
Changes since revision 1.12: +1 -1
lines
- changed order of resource.type.ids.ids to resource.ids.ids.type
- added detection of return code ERROR
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Nov 29 00:51:57 2000 UTC (24 years, 1 month ago) by albertel
Branches: MAIN
Diff to previous 1.11: preferred, colored
Changes since revision 1.11: +13 -6
lines
- added sig figs to parameters that are passed along
- can now get coorrect responses
- fixed caparesponse to create the proper data bits
Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Nov 22 00:00:54 2000 UTC (24 years, 1 month ago) by albertel
Branches: MAIN
Diff to previous 1.10: preferred, colored
Changes since revision 1.10: +2 -10
lines
-added <display> like <script> but returns the result of the script
-removed SCRIPT_RESULT, <display> takes care of this.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Nov 21 18:36:37 2000 UTC (24 years, 1 month ago) by albertel
Branches: MAIN
Diff to previous 1.9: preferred, colored
Changes since revision 1.9: +20 -9
lines
- checks for tolerance
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Oct 30 20:36:18 2000 UTC (24 years, 2 months ago) by albertel
Branches: MAIN
Diff to previous 1.8: preferred, colored
Changes since revision 1.8: +20 -4
lines
- parses $result
- sends $units along
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Oct 30 20:24:38 2000 UTC (24 years, 2 months ago) by albertel
Branches: MAIN
Diff to previous 1.7: preferred, colored
Changes since revision 1.7: +14 -0
lines
- caparesponse_check properly looks for the type of response
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Oct 25 22:02:53 2000 UTC (24 years, 2 months ago) by albertel
Branches: MAIN
Diff to previous 1.6: preferred, colored
Changes since revision 1.6: +21 -0
lines
- step closer to getting caparesponse to actually work
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Oct 13 14:58:49 2000 UTC (24 years, 2 months ago) by albertel
Branches: MAIN
Diff to previous 1.5: preferred, colored
Changes since revision 1.5: +14 -2
lines
- fixed map to actually work
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Oct 12 21:51:03 2000 UTC (24 years, 2 months ago) by albertel
Branches: MAIN
Diff to previous 1.4: preferred, colored
Changes since revision 1.4: +17 -0
lines
- implemented a broken map
- implemented a fully working choose
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Oct 12 20:36:05 2000 UTC (24 years, 2 months ago) by albertel
Branches: MAIN
Diff to previous 1.3: preferred, colored
Changes since revision 1.3: +33 -2
lines
- implemented a simple &tex() &web()
- implemented a broken <tex> <outtext> and <web>
Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Oct 11 20:59:43 2000 UTC (24 years, 2 months ago) by albertel
Branches: MAIN
Diff to previous 1.2: preferred, colored
Changes since revision 1.2: +3 -0
lines
- seeds the random number generator from $external::randomseed
Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Oct 5 19:24:23 2000 UTC (24 years, 2 months ago) by albertel
Branches: MAIN
Diff to previous 1.1: preferred, colored
Changes since revision 1.1: +5 -2
lines
- implemented format()
- can now return values from scripts throught the $SCRIPT_RESULT variable
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Sep 26 19:29:07 2000 UTC (24 years, 3 months ago) by harris41
Branches: MAIN
adding a file suffix extension (lcpm=loncapa perl module; invented by Mr. Guy, submitted to CVS in the year 2000... wow, it's historic) -Scott
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>