Commit a8a3dff2 authored by Jojo Boulix's avatar Jojo Boulix
Browse files

Fix scoring templates. Closes #794.

parent ffb56ade
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -5619,15 +5619,16 @@ DESC: Example (from the documentation) with different scoring strategies.--><pro

\element{qqs}{
\begin{questionmult}{03}
scoring{default.COMP=10,default.PROP=11,formula=(COMP==PROP ? 1 : 0),MAX=1}
  \scoring{default.COMP=10,default.PROP=11,formula=(COMP==PROP ? 1 : 0)}
  \AMCdontAnnotate
  Name an important gas in the air and its percentage.
    \begin{choices}
      \wrongchoice{steam}
      \wrongchoice{gas}
      \correctchoice{nitrogen}\scoring{set.COMP=1}
      \correctchoice{oxygen}\scoring{set.COMP=2}
      \wrongchoice{oxygen}\scoring{set.COMP=2}
      \wrongchoice{carbon dioxide}
      \correctchoice{20\%}\scoringset.PROP=2}
      \wrongchoice{20\%}\scoring{set.PROP=2}
      \wrongchoice{40\%}
      \wrongchoice{60\%}
      \correctchoice{80\%}\scoring{set.PROP=1}
+4 −3
Original line number Diff line number Diff line
@@ -5978,15 +5978,16 @@ DESC: Exemple (issu de la documentation) de spécification du barème.--><progra

\element{qqs}{
\begin{questionmult}{03}
\bareme{default.COMP=10,default.PROP=11,formula=(COMP==PROP ? 1 : 0),MAX=1}
  \bareme{default.COMP=10,default.PROP=11,formula=(COMP==PROP ? 1 : 0)}
  \AMCdontAnnotate
  Cite un gaz  important de l'air et son pourcentage.
    \begin{reponses}
      \mauvaise{vapeur d’eau}
      \mauvaise{gaz}
      \bonne{diazote}\bareme{set.COMP=1}
      \bonne{dioxygène}\bareme{set.COMP=2}
      \mauvaise{dioxygène}\bareme{set.COMP=2}
      \mauvaise{dioxyde de carbone}
      \bonne{20\%}\bareme{set.PROP=2}
      \mauvaise{20\%}\bareme{set.PROP=2}
      \mauvaise{40\%}
      \mauvaise{60\%}
      \bonne{80\%}\bareme{set.PROP=1}