demo.yaml 2.14 KB
---
# ============================================================================
# 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: 60

# 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_points: true
scale_max: 20
scale_min: 0

# ----------------------------------------------------------------------------
# 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