Authoring ILIAS-ready questions

This article summarizes the authoring patterns currently covered by the package and its bundled examples.

Supported exercise types

The package exports the following main question types:

For cloze exercises, the gap subtypes num, string, schoice, and mchoice are mapped to the corresponding ILIAS gap elements.

Choice questions

Single-choice and multiple-choice questions follow the standard R/exams pattern with answerlist() in the question and a logical answer key in the solution block.

Question
========
Which statement about p-values is correct?



Solution
========

Points and metadata

If you want imports to arrive with explicit scoring in ILIAS, include expoints in the exercise metadata.

Meta-information
================
extype: schoice
exsolution: 100
exname: P-value interpretation
exshuffle: TRUE
expoints: 1

For cloze exercises with several gaps, you can provide one point value per gap.