From: Benjamin Auder Date: Tue, 13 Feb 2018 00:17:37 +0000 (+0100) Subject: Start thinking about generalization format + parametrization X-Git-Url: https://git.auder.net/images/assets/doc/html/Rlogo.svg?a=commitdiff_plain;h=88c19de0de856a7f308fd5d166c7029dc2225184;p=qomet.git Start thinking about generalization format + parametrization --- diff --git a/TODO b/TODO index 2c7a5b2..19b41c8 100644 --- a/TODO +++ b/TODO @@ -6,42 +6,49 @@ compute grades after exam (in teacher's view) factorize redundant code in course.js, monitor.js and (TOWRITE) grade.js (showing students list + grades or papers) monitoring: main teacher should not be asked for pwd, and button "send feedback" hidden for others +(or just disabled) ----- -TODO: format général TXT: (compilé en JSON) +Draft format (compiled to json) -10 (time) -1 (fixed) -Introduction (multiline, from third line ; \n -->
) +> Some global (HTML) intro -[Intro q1, multiline] + -q1 txt + + * some answer [trigger input/index in answers] -answer q1 (multiline txt) + -q2 intro (multiline) + + + choix1 + - choix 2 + + choix 3 + - choix4 - q2.1 [intro optional] + + * answer 2 (which can + be on + several lines) - q2.1 txt - - q2.1 options: - + good - - bad - - bad ...etc - - answer (integer array, one line) - - q2.2 [intro optional] - - q2.2 txt - - answer (html multiline) - -Conclusion (last block) + +* With answer ===== -Seems that GUI would be easier, then summary in YAML file + parse from YAML +questions group by index prefix 1.2.3 1.1 ...etc --> '1' + +NOTE: questions can contain parameterized exercises (how ? +--> describe variables (syntax ?) +--> write javascript script (OK, users trusted ? ==> safe mode possible if public website) +Imaginary example: (using math.js) + (avant l'exo) + x: math.random() + y: math.random() + M: math.matrix([[7, x], [y, -3]]); + res: math.det(M) + +
Calculer le déterminant de + $$\begin{matrix}7 & x\\y & -3\end{matrix}$$
+ * ...