demo.yaml
2.16 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---
# ============================================================================
# The test reference should be a unique identifier. It is saved in the database
# so that queries can be done in the terminal like
# sqlite3 students.db "select * from tests where ref='demo'"
ref: tutorial
# Database with student credentials and grades of all questions and tests done
# The database is an sqlite3 file generate with the command initdb
database: students.db
# Directory where the tests including submitted answers and grades are stored.
# The submitted tests and their corrections can be reviewed later.
answers_dir: ans
# --- optional settings: -----------------------------------------------------
# You may wish to refer the course, year or kind of test
# (default: '')
title: Teste de demonstração (tutorial)
# Duration in minutes.
# (0 or undefined means infinite time)
duration: 10
autosubmit: true
# Show points for each question, scale 0-20.
# (default: false)
show_points: true
# scale final grade to the interval [scale_min, scale_max]
# (default: scale to [0,20])
scale_max: 20
scale_min: 0
scale_points: true
# ----------------------------------------------------------------------------
# Base path applied to the questions files and all the scripts
# including question generators and correctors.
# Either absolute path or relative to current directory can be used.
questions_dir: .
# (optional) List of files containing questions in yaml format.
# Selected questions will be obtained from these files.
# If undefined, all yaml files in questions_dir are loaded (not recommended).
files:
- questions/questions-tutorial.yaml
# This is the list of questions that will make up the test.
# The order is preserved.
# There are several ways to define each question (explained below).
questions:
- tut-test
- tut-questions
- tut-radio
- tut-checkbox
- tut-text
- tut-text-regex
- tut-numeric-interval
- ref: tut-textarea
points: 2.0
- tut-information
- tut-success
- tut-warning
- tut-alert
# test:
# - ref1
# - block: a
# - block: [b, c]
# - ref2
# blocks:
# a:
# - ref1
# - ref2
# - ref3
# b:
# - rr4
# - rr5
# - rr6