AI & XML / LLM test suite / Results / Test cases / BitsFullChapter
Test case description
This test checks whether a model can correctly generate a fully structured BITS chapter. It requires formally valid XML according to NISO BITS, with typical structural elements including book-part, book-part-meta, title, abstract, several sections, a figure and a table. Correct BITS version and official namespace are also checked.
Source file | BitsFullChapter.txt |
|---|---|
Series | 1 |
Categories | xml, bits, structure |
Evaluation | LLM judge |
Prompt SHA-256 | 195e5c121cef617ad84cfd227494364b859f6c492c44bf69e8d588fb2c800794 |
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, complete BITS 2.0 chapter meeting the test criteria.
Expectation in the catalog | No |
|---|---|
Correct result in the catalog | Yes |
Judge instruction
Check a genuine BITS 2.0 chapter with metadata, sections, figure and table.
Must be satisfied
The output is well-formed XML with no explanatory prose outside the XML.
A valid BITS 2.0 book-part is present, either as the root element or in a permitted BITS book container.
Version 2.0 is identifiable through dtd-version, DOCTYPE or a schema declaration.
book-part-meta contains a chapter title and an abstract.
The chapter body contains at least two sec elements with text paragraphs.
A fig contains caption and graphic with a consistent xlink:href reference.
A table is modeled according to the standard, preferably as table-wrap with table, thead and tbody.
Error criteria
The output uses only invented or generic elements instead of BITS.
The figure, table, abstract or two sections are missing.
graphic uses xlink without a correct declaration or target.
Prompt
Erzeuge unter content ein vollständiges BITS XML Kapitel.
Verwende die BITS Version 2.0 (oasis-variant) und den offiziellen BITS Namensraum.
Erforderliche Bestandteile
book-part
book-part-meta
title
abstract
zwei sections mit Überschrift und Text
eine Figure mit caption und graphic Element
eine Tabelle mit thead und tbody
Achte auf die korrekte Strukturierung gemäß BITS Vorgaben.
Gib ausschließlich das BITS Dokument zurück.806 Runs 780 evaluated 17.3 % Score 6.7 % 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