test-tutorial.yaml 1.91 KB
#=============================================================================
# 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-success
  - tut-warning
  - tut-alert