AI & XML / LLM test suite / Results / Test cases / Qti3MultipleChoice

Test case description

This test checks whether a model can generate a formally correct QTI 3 Item. It requires responseDeclaration, outcomeDeclaration, a multiple-choice interaction with four options, a correct answer, complete responseProcessing and metadata. Correct implementation of the qti-assessment-item namespace and QTI 3 compatibility requirements is also evaluated.

Source file

Qti3MultipleChoice.txt

Series

1

Categories

xml, qti, structure

Evaluation

LLM judge

Prompt SHA-256

d6231961238d83909fcf61920c428414894c914b9ff334e1a6b072e1b4174d4d

LLM judge: The answer is evaluated with LLM support. A judge model compares the model’s answer with the domain expectation and decides whether its content meets it.

Expected result

Valid QTI 3 multiple-choice item with four options, a correct answer, scoring and metadata.

Expectation in the catalog

No

Correct result in the catalog

Yes

Judge instruction

Check QTI 3 syntax with hyphenated QTI 3 element names, consistent identifiers and working scoring logic.

Must be satisfied

  • Output is well-formed XML without explanatory prose outside XML.

  • The root element is qti-assessment-item in the namespace http://www.imsglobal.org/xsd/imsqtiasi_v3p0.

  • The item has valid required attributes such as identifier, title, adaptive and time-dependent.

  • A qti-response-declaration with cardinality='single' and base-type='identifier' defines a correct answer.

  • A qti-outcome-declaration for SCORE or an equivalent outcome is present.

  • qti-item-body contains exactly one qti-choice-interaction with exactly four uniquely identified qti-simple-choice elements and max-choices='1'.

  • response-identifier, correct-response and option identifiers agree.

  • qti-response-processing awards the outcome for a correct answer through a valid template or complete explicit rules.

  • The required metadata is present.

Error criteria

  • QTI 2-like camelCase names such as responseDeclaration or choiceInteraction are used instead of QTI 3 element names.

  • The correct answer does not reference an existing option.

  • There are not exactly four options or no working scoring logic.

  • The namespace is incorrect.

Prompt

Erstelle unter content ein vollständiges QTI 3 kompatibles Item.
Verwende den qti-assessment-item Namensraum:
https://www.imsglobal.org/xsd/imsqtiasi_v3p0

Erforderliche Bestandteile
responseDeclaration mit korrekter richtigen Lösung
outcomeDeclaration
eine interaction mit vier Antwortoptionen
voll funktionsfähiges responseProcessing
metadata
gültige IDs und konsistente Referenzen

Es soll eine Multiple Choice Aufgabe sein.
Gib ausschließlich das QTI 3 Item zurück.

# content

705 Runs 694 evaluated 8.1 % Score 4.2 % exactly correct

Help on evaluation, score and exact correctness

Score is a graded quality measure: correct = 100 %, mostly_correct = 80 %, partial = 50 %, wrong/not_answered = 0 %.

Exactly correct is stricter: only correct-labeled runs count. Mostly correct increases score but does not count as exactly correct.

Evaluated counts all runs with a substantive judgment. LLM-judge errors also count as evaluated, with score 0 %.

Model Category Access route

x

back to top