diff --git a/BUGS.md b/BUGS.md index 1c8a0a3..fcf4399 100644 --- a/BUGS.md +++ b/BUGS.md @@ -1,7 +1,7 @@ # BUGS -- na pagina grade.html as barras estao normalizadas para os limites scale_min e max do testte actual e nao do realizado. +- na pagina grade.html as barras estao normalizadas para os limites scale_min e max do teste actual e nao do realizado. - codigo `hello world` nao esta a preservar o whitespace. O renderer de markdown gera a tag que não preserva whitespace. Necessario adicionar
.
 - teste nao esta a mostrar imagens de vez em quando.
 - ordenacao das notas em /admin nao é numerica, é ascii...
diff --git a/perguntations/questions.py b/perguntations/questions.py
index 4d17694..93d639f 100644
--- a/perguntations/questions.py
+++ b/perguntations/questions.py
@@ -220,17 +220,17 @@ class QuestionCheckbox(Question):
         if self['discount'] and not all(0.0 <= x <= 1.0
                                         for x in self['correct']):
 
-            msg0 = ('+-------------- BEHAVIOR CHANGE NOTICE --------------+')
-            msg1 = ('| Correct values must be in the interval [0.0, 1.0]. |')
-            msg2 = ('| I will convert to the new behavior, but you should |')
-            msg3 = ('| fix it in the question.                            |')
-            msg4 = ('+----------------------------------------------------+')
+            msg0 = ('+--------------- BEHAVIOR CHANGE NOTICE ---------------+')
+            msg1 = ('| Correct values in checkbox questions must be in the  |')
+            msg2 = ('| interval [0.0, 1.0]. I will convert to the new       |')
+            msg3 = ('| behavior, for now, but you should fix it.            |')
+            msg4 = ('+------------------------------------------------------+')
             logger.warning(msg0)
             logger.warning(msg1)
             logger.warning(msg2)
             logger.warning(msg3)
             logger.warning(msg4)
-            logger.warning(f'-> please fix "{self["ref"]}"')
+            logger.warning(f'please fix "{self["ref"]}"')
 
             # normalize to [0,1]
             self['correct'] = [(x+1)/2 for x in self['correct']]
--
libgit2 0.21.2