Commit e826388c3a438aedd091d15577f2738fdac3209a

Authored by Miguel Barão
1 parent 788919ca
Exists in master and in 1 other branch dev

- updated codemirror lib and documentation

1 1
2 # BUGS 2 # BUGS
3 3
  4 +- no test3 está contar 1.0 valores numa pergunta do tipo info? acontece para type: info, e não para type: information
  5 +- mostrar solucao na revisao de prova nas perguntas radio e checkbox.
4 - impedir os eventos copy/paste. alunos usam isso para trazer codigo ja feito nos computadores. Obrigar a fazer reset? fazer um copy automaticamente? 6 - impedir os eventos copy/paste. alunos usam isso para trazer codigo ja feito nos computadores. Obrigar a fazer reset? fazer um copy automaticamente?
5 - se aluno entrar com l12345 rebenta. numa funcao get_... ver imagem no ipad 7 - se aluno entrar com l12345 rebenta. numa funcao get_... ver imagem no ipad
6 - a revisao do teste não mostra as imagens. 8 - a revisao do teste não mostra as imagens.
@@ -109,7 +109,23 @@ To review the tests: @@ -109,7 +109,23 @@ To review the tests:
109 The grades are stored in the sqlite3 file specified in the test. 109 The grades are stored in the sqlite3 file specified in the test.
110 We can get the results into a csv file and later import it into LibreOffice: 110 We can get the results into a csv file and later import it into LibreOffice:
111 111
112 -```.bash 112 +```bash
113 $ sqlite3 demo/students.db "select student_id,grade from tests where ref='my-test-reference'" > grades.csv 113 $ sqlite3 demo/students.db "select student_id,grade from tests where ref='my-test-reference'" > grades.csv
114 ``` 114 ```
115 115
  116 +## Error in a question
  117 +
  118 +Found error in a question after the test. What to do?
  119 +
  120 +A possibility is to remove, for each student, the points of that question from the final grade, and then rescale the all the grades.
  121 +This means removing that question and assigning those points to the other questions keeping the proportions.
  122 +
  123 +The following query gets the final grades and the corrected points of the faulty question, so that a compensation can be done.
  124 +
  125 +```bash
  126 +sqlite3 students.db "select tests.student_id,tests.grade,questions.grade from tests inner join questions on tests.student_id=questions.student_id where tests.ref='ti-test3' and questions.ref='differential-entropy'"
  127 +```
  128 +
  129 +This example is for the test `ti-test3` and faulty question `differential-entropy`.
  130 +
  131 +
@@ -16,7 +16,6 @@ The webserver is a python application and requires `python3.7` and `pip` to be i @@ -16,7 +16,6 @@ The webserver is a python application and requires `python3.7` and `pip` to be i
16 - Pygments 16 - Pygments
17 - SQLAlchemy 17 - SQLAlchemy
18 - bcrypt 18 - bcrypt
19 -- markdown  
20 19
21 These can be installed for a single user (recommended), in a python virtual environment or system wide. 20 These can be installed for a single user (recommended), in a python virtual environment or system wide.
22 21
static/codemirror
1 -libs/codemirror-5.42.0/  
2 \ No newline at end of file 1 \ No newline at end of file
  2 +libs/codemirror-5.42.2/
3 \ No newline at end of file 3 \ No newline at end of file