-auto grading + finish erdiag + corr tp1
------
-
-TODO: format général TXT: (compilé en JSON)
-
-10 (time)
-1 (fixed)
-Introduction (multiline, from third line ; \n --> <br>)
+Replace underscore by lodash (or better: ES6)
+Replace socket.io by Websockets ( https://www.npmjs.com/package/websocket )
-[Intro q1, multiline]
+time per question (in mode "one question at a time" from server...)
+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)
-q1 txt
-
-answer q1 (multiline txt)
-
-q2 intro (multiline)
+-----
- q2.1 [intro optional]
+Draft format (compiled to json)
- q2.1 txt
+> Some global (HTML) intro
- q2.1 options:
- + good
- - bad
- - bad ...etc
+<some html question (or/+ exercise intro)>
- answer (integer array, one line)
+ <some html subQuestion>
+ * some answer [trigger input/index in answers]
- q2.2 [intro optional]
+ <another subquestion>
- q2.2 txt
+ <sub-subQuestion>
+ + choix1
+ - choix 2
+ + choix 3
+ - choix4
- answer (html multiline)
+ <another sub sub>
+ * answer 2 (which can
+ be on
+ several lines)
-Conclusion (last block)
+<Some second question>
+* 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)
+ <params> (avant l'exo)
+ x: math.random()
+ y: math.random()
+ M: math.matrix([[7, x], [y, -3]]);
+ res: math.det(M)
+ </params>
+ <div>Calculer le déterminant de
+ $$\begin{matrix}7 & x\\y & -3\end{matrix}$$</div>
+ * ...