AI & XML / LLM test suite / Results / Test cases / XbrlMiniTaxonomy
Test case description
This test checks whether a model can generate a complete XBRL example: a small custom taxonomy with schema, linkbase references and two concepts, plus an instance with a context and corresponding facts. This tests both instance structure and taxonomy components.
Source file | XbrlMiniTaxonomy.txt |
|---|---|
Series | 1 |
Categories | xml, xbrl, taxonomy |
Evaluation | LLM judge |
Prompt SHA-256 | d27a1dbe2ce478f13de1cd4f84e61284a204c15d59b549f6fee75880a2a27b2b |
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
Consistent XBRL file set containing a taxonomy schema, label linkbase, presentation linkbase and instance with a context and two facts.
Expectation in the catalog | No |
|---|---|
Correct result in the catalog | Yes |
Judge instruction
Check several related XML artifacts. A taxonomy and an instance are separate documents. All file references and QName relationships must be consistent.
Must be satisfied
The answer contains clearly separated XML documents for at least the taxonomy XSD, a label linkbase, a presentation linkbase and the XBRL instance.
The taxonomy XSD has a custom targetNamespace, imports or references the XBRL base schemas and defines at least two concepts, such as Revenue and Profit.
The concepts have appropriate name, id, type, substitutionGroup and xbrli:periodType values, and a plausible balance value for monetary concepts.
The schema consistently references label and presentation linkbases.
The label linkbase gives both concepts labels.
The presentation linkbase connects both concepts in a presentation network.
The instance has xbrli:xbrl as its root, references the taxonomy through schemaRef and contains at least one context.
An appropriate unit exists for monetary facts.
The instance contains one fact for each concept with a valid contextRef and, for numbers, unitRef and a plausible decimals value.
All xlink:href values, locators, roles, QNames and IDs resolve consistently.
Error criteria
Taxonomy schema, linkbases and instance are incorrectly nested into a single XML document.
Linkbase references or locators point to nonexistent concepts.
Context, unit or one of the two facts is missing.
The XML documents are well formed but do not form a consistent XBRL file set.
Prompt
Erzeuge unter content ein vollständiges XBRL Beispiel.
Erstelle eine kleine eigene Taxonomie und eine Instanz.
Erforderliche Bestandteile der Taxonomie
ein XML Schema
mindestens zwei Concepts, zum Beispiel Revenue und Profit
Linkbase Referenzen (label und presentation oder minimal funktionsähnlich)
Erforderliche Bestandteile der Instanz
ein Context für ein Geschäftsjahr
zwei Facts, die auf die Concepts referenzieren und Werte enthalten
Achte auf gültige XBRL Struktur und korrekt deklarierte Namensräume.
Gib ausschließlich die vollständige XBRL Darstellung zurück
(Taxonomie Komponenten und Instanz).
# content706 Runs 1382 evaluated 42.3 % Score 12.3 % 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