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

Test case description

This test checks whether a model can generate a correctly structured NISO STS document. It requires typical standard elements, including metadata, identifiers, titles, scope, definitions and several requirement elements. Correct use of the STS version and official namespace is also evaluated.

Source file

NisoStsSample.txt

Series

1

Categories

xml, sts, structure

Evaluation

LLM judge

Prompt SHA-256

1f80cbebefd050cd75774d88522c344a7c5d8d04a1f199e928ba023fd50e7171

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 NISO STS 1.0 standard document with metadata, scope, definitions and several normative requirements.

Expectation in the catalog

No

Correct result in the catalog

Yes

Judge instruction

Check actual NISO STS 1.0 conformance and the semantically required components. Do not enforce nonstandard element names from the short description.

Must be satisfied

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

  • The root element is standard and the output is identified or validatable as a NISO STS 1.0 instance.

  • front contains std-doc-meta and at least one appropriate organization-related metadata block such as std-meta.

  • Standard number or identifier, title and issue or edition are modeled with valid STS vocabulary.

  • body contains a clearly recognizable scope section.

  • Definitions use valid STS structures such as def-list, def-item, term and def, or equivalent valid STS modeling.

  • At least two normative requirements are marked up with valid STS structures or attributes.

Error criteria

  • Nonstandard elements such as invented requirement, doc-ident or doc-title are used when not permitted by the chosen STS grammar.

  • The output is only generic XML with STS-like names.

  • Scope, definitions or multiple requirements are missing.

Prompt

Erstelle unter content ein vollständiges NISO STS XML Dokument.
Verwende die NISO STS Version 1.0 und den offiziellen STS Namensraum.

Erforderliche Bestandteile
standard
std-meta
doc-ident
doc-number
doc-title
doc-edition
scope
definitions
ein Abschnitt mit mehreren requirement Elementen

Alle Elemente sollen sinnvoll befüllt sein.
Achte auf korrekte Strukturierung und gültiges STS Datenmodell.
Gib ausschließlich das XML Dokument zurück.

# content

708 Runs 698 evaluated 30.8 % Score 10.6 % 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