Subversion Repositories wimsdev

Compare Revisions

Ignore whitespace Rev 14627 → Rev 14628

/trunk/wims/public_html/scripts/anstype/00README
24,10 → 24,10
mc: multiple choice style.
symtext: allows symtext processing.
numeric: the data is numeric or with an input field
dprompt: good answer prompt given under double-underlined variable (internal reply__$i);
in this mode, the good answer is not present by default.
nogood: never present good answer (because there cannot be).
noanswer: never present the answer analysis (because there is no good or bad answer)
dprompt: correct answer prompt given under double-underlined variable (internal reply__$i);
in this mode, the correct answer is not present by default.
nogood: never present correct answer (because there cannot be).
noanswer: never present the answer analysis (because there is no correct or wrong answer)
 
These scripts accept the following input variables.
 
34,7 → 34,7
i: The number of the reply field.
replyname$i: The prompt of the form element.
reply$i: The answer given by the student.
replygood$i: The good answer given by the author.
replygood$i: The correct answer given by the author.
so the value of the second field of \answer{}{}.
replyoption$i: Option words. Anstypes are more or less free to
define their own recognized option words. In oef exercises, it
47,23 → 47,23
 
Output variables of the answer processing file:
 
Test: Put "bad $i" if the good answer given by the author
Test: Put "bad $i" if the correct answer given by the author
is not understandable.
test: Put "NaN" followed possibly by an error indicator,
if the answer given by the student is not understandable.
diareply$i: Diagnostics result. Possible values: "good", "bad".
precreply$i: If the answer misses the good result just by a
precreply$i: If the answer misses the correct result just by a
problem of precision, put "yes" to this variable and put
"bad" to diareply$i. In the computation of the score, a coefficient
depending on the level is introduced. In thise case, one must
not advance freegot at all.
partialgood$i: If the answer should be considered as partially good,
partialgood$i: If the answer should be considered as partially correct,
put "yes" to this variable and put "good" to
diareply$i. It has no consequence on the calculation of the real score
(use freegot for that).
freegot: This is a numerical variable. Its content is incremented
by 1 if the answer is 100% OK, none if it is false,
or anything between 0 and 1 for partially good answer.
or anything between 0 and 1 for partially correct answer.
It is not recommended to decrement this value, nor to
increment it more than 1. The real score is computed using it.
 
74,7 → 74,7
 
There are also some optional output variables (they can be left empty).
 
replyGood$i: This variable can be defined for the good answer
replyGood$i: This variable can be defined for the correct answer
shown to the students after replying to the exercise,
It should be different than the real replygood$i.
It is not shown in the analysis of the answer for false student
/trunk/wims/public_html/scripts/deduc/en/msg.phtml
35,7 → 35,7
!exit
 
:double_reply
This exercise is already terminated and scored. You cannot continue to
This exercise is already terminated and scored. You cannot continue to
reply to it. (Please do not use the `reload' button of your browser to
repost replies!)
!exit
59,8 → 59,8
!exit
 
:no_object
You have nothing at this stage to apply the method <font color="red">
<em>$badmeth</em></font>.
You have nothing at this stage to apply the method <span class="oef_indbad">
$badmeth</span>.
!exit
 
:bad_step
90,11 → 90,11
!exit
 
:bad_answer
Your reply <p><center>
<b>$bad_name</b> = <tt>$bad_value</tt> <p></center>
Your reply <div class="wimscenter">
<b>$bad_name</b> = <span class="tt">$bad_value</span> </div>
!if unknownword iswordof $test
!set w=!word 3 of $test
is not understandable: the word <font color="red">$w</font>
is not understandable: the word <span class="oef_indbad">$w</span>
in the answer is unrelated to this problem. Please correct.
!exit
!endif
111,17 → 111,17
is only a number: please precise the unit in your answer.
!exit
!endif
is not understandable.
is not understandable.
Please correct the error and resubmit your reply.
!exit
 
:bad_exo
Due to an error in this exercise (the good answer for <b>$(replyname$i)</b>
Due to an error in this exercise (the correct answer for <b>$(replyname$i)</b>
is invalid), it is impossible to test the
correctness of your answer. The only solution for you is to change the
exercise; sorry.
<p>
Please
Please
!if $email!=$empty
!mailurl $email contact the author
!else