demo.yaml
2.42 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
85
86
87
88
89
90
91
92
93
---
# ============================================================================
# Unique identifier of the test.
# Valid names can only include letters, digits, dash and underscore,
# e.g. asc1-test3
# Database queries can be done in the terminal with
# sqlite3 students.db "select * from tests where ref='asc1-test3'"
ref: tutorial
# Database file that includes student credentials, tests and questions grades.
# It's a sqlite3 database generated with the command 'initdb'
database: students.db
# Directory where the submitted and corrected test are stored for later review.
answers_dir: ans
# --- optional settings: -----------------------------------------------------
# Title of this test, e.g. course name, year or test number
# (default: '')
title: Teste de demonstração (tutorial)
# Duration in minutes.
# (0 or undefined means infinite time)
duration: 0
# Automatic test submission after the given 'duration' timeout
# (default: false)
autosubmit: true
# Show points for each question (min and max).
# (default: true)
show_points: true
# scale final grade to an interval, e.g. [0, 20], keeping the relative weight
# of the points declared in the questions below.
# (default: no scaling, just use question points)
scale: [0, 5]
# DEPRECATED: old version, to be removed
# 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:
- ref: 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-alert1, tut-alert2]
- tut-generator
- tut-yamllint
# test:
# - ref1
# - block: a
# - block: [b, c]
# - ref2
# blocks:
# a:
# - ref1
# - ref2
# - ref3
# b:
# - rr4
# - rr5
# - rr6