test-tutorial.yaml
1.92 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
#=============================================================================
# The test reference should be a unique identifier. It is saved in the database
# so that queries for the results can be done in the terminal with
# $ sqlite3 students.db "select * from tests where ref='demo'"
ref: tutorial
# (optional, default: '') You may wish to refer the course, year or kind of test
title: Teste tutorial
# (optional) duration in minutes FIXME
duration: 90
# Database with student credentials and grades of all questions and tests done
# The database is an sqlite3 file generate with the script initdb.py
database: demo/students.db
# Generate a file for each test done by a student.
# It includes the questions, answers and grades.
answers_dir: demo/ans
# (optional, default: False) Show points for each question, scale 0-20.
show_points: True
# scale_points: True
# scale_max: 20
# (optional, default: False) Show hints if available
show_hints: True
# (optional, default: False) Show lots of information for debugging
# debug: 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: demo
# (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-success111
- tut-warning
- tut-alert