AI & XML / LLM test suite / Results / Test cases / DitaLearningObject
Test case description
This test checks whether a model can generate a complete DITA Learning and Training document. It requires an L1 Learning Object with typical LT structures such as learningOverview, learningObjectives, learningSummary, knowledgeCheck and suitable learning metadata. Correct use of the LT namespace and conformant DITA LT structure is also evaluated.
Source file | DitaLearningObject.txt |
|---|---|
Series | 1 |
Categories | xml, ditalt, learning |
Evaluation | LLM judge |
Prompt SHA-256 | b55b2bc8cfbae1bad0332e98f0a580a86673b99318cd2c5a85df76849193a846 |
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 DITA Learning and Training learning object with overview, content, learning objectives, summary, assessment and learning metadata.
Expectation in the catalog | No |
|---|---|
Correct result in the catalog | Yes |
Judge instruction
Check genuine DITA Learning and Training structures. Interpret knowledgeCheck semantically as an assessment; do not require a nonstandard literal element.
Must be satisfied
The output is well-formed XML with no explanatory prose outside the XML.
A learningObjectMap contains at least one learningObject or an equivalent learning-object structure valid against a DITA Learning and Training grammar.
The learning object references or contains learningOverview, at least one learningContent component and learningSummary.
Learning objectives are modeled using the designated Learning and Training elements.
A knowledge check is implemented as a valid learningAssessment or pre- or post-assessment with at least one question and several answer options.
Appropriate learning metadata is present.
All href references and IDs are consistent.
Error criteria
An invented knowledgeCheck element is used without a declared valid specialization.
An invented DITA Learning and Training namespace is required or used.
Overview, learning objectives, summary, assessment or learning metadata are missing.
The structure cannot be validated against a suitable DITA Learning and Training grammar.
Prompt
Erstelle unter content ein vollständiges DITA Learning and Training Dokument (L1 Learning Object).
Verwende den LT Namensraum:
http://dita.oasis-open.org/architecture/2005/
Erforderliche Bestandteile
learningOverview
learningObjectives
learningSummary
knowledgeCheck Abschnitt mit
einer Frage
mehreren Antwortmöglichkeiten
zusätzliche typische Lernmetadaten
Achte auf gültige DITA Learning and Training Struktur.
Gib ausschließlich das DITA LT Dokument zurück.
# content755 Runs 738 evaluated 22.2 % Score 1.9 % 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