test.yaml
1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#=============================================================================
ref: demo
title: Teste de Demonstração
# database contains students+passwords, final results of the tests, and questions done
# database: path/to/students.db
database: db/asc1-students.db
# this will generate a file for each test done. The file is like a replacement
# for a test done in paper.
save_answers: False
# answers_dir: path/to/directory
show_points: True
show_hints: True
practice: True
# debug: False
# When in practice mode and an answer is wrong (i.e. less that 0.5 correct),
# an insult is chosen from the list (optional)
offensive:
- Ó meu grande asno, então não sabes esta?
- Pois, pois... não estudes não...
- E eu sou o Elvis Presley...
- Pois, e bróculos também.
#-----------------------------------------------------------------------------
# List of files containing questions in yaml format.
# Selected questions will be obtained from these files.
files:
- demo/questions.yaml
#-----------------------------------------------------------------------------
# This is the list of questions. If a "ref:" has a list of keys, then
# one question is selected from the list.
# The following example will generate a test with 3 questions.
questions:
# first
- ref:
# choose 1 from the following 3 questions
- solar-system-mars
- solar-system-jupiter
points: 0.5
# second
- ref:
- question-v1
- question-v2
# points: 1.0 is the default, if not defined here.
# 3.
- ref:
- question-colors
# 4.
- ref:
- question-whatever
# 5.
- ref: one-question
# 6.
- another-question