test.yaml
1.75 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
63
#=============================================================================
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: inscritos.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: ans/demo
show_points: True
show_hints: True
practice: True
# debug: False
#-----------------------------------------------------------------------------
# This is the base path applied to the questions files and all the scripts
# including generators and correctors.
# Either absolute path or relative to current directory.
path: demo
# (Note: answers are saved in a different path defined in answers_dir)
#-----------------------------------------------------------------------------
# List of files containing questions in yaml format.
# Selected questions will be obtained from these files.
# (search in absolute path or current working directory)
files:
- 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