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

Test case description

JATS variant of the complex semantic animal prompt.

Source file

ComplexSemanticAnimalsJats.txt

Series

1

Categories

xml, jats, semantics, reasoning

Evaluation

LLM judge

Prompt SHA-256

ca3d94ad60faa98e0def03099de3a23d823e3eb873ed1bfa1c674cd36ed2e790

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

After removing only leading and trailing whitespace, the entire output consists of exactly the decimal number 63.

Expectation in the catalog

No

Correct result in the catalog

Yes

Judge instruction

Compare the trimmed answer exactly with 63. Accept no explanation, formatting, unit, punctuation, code fences or markup. The source is structured in JATS, but the required answer itself is plain text.

Must be satisfied

  • The entire visible output is exactly 63; only outer whitespace before or after the number may be ignored.

  • The three individual sums are dog 14 + 7 = 21, cat 9 + 11 = 20 and parrot 6 + 5 = 11.

  • The highest individual sum is 21 and there are 3 animals, giving the target value 21 × 3 = 63.

  • The output contains neither XML or HTML nor a repetition of the structured input.

Error criteria

  • The trimmed output is not exactly 63.

  • The answer contains explanations such as Der Zielwert ist, a unit, calculation steps or further numbers.

  • The number is surrounded by Markdown, code fences, bold formatting, quotation marks, XML or HTML tags, or other markup.

  • The answer contains punctuation such as 63. or an alternative numeric notation such as 63,0.

Judge note: Despite answer_mode llm_judge_rule, this case must be evaluated deterministically. Only trimming outer Unicode whitespace is allowed; the rest of the answer string must be 63. The JATS format applies only to the prompt and does not justify markup in the answer.

Prompt

<article dtd-version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink">

  <body>

    <sec>
      <title>Abschnitt A Inhaltliche Einordnung</title>
      <p>Hund: Fellpunkte 14, Ruheindex 7</p>
      <p>Katze: Fellpunkte 9, Ruheindex 11</p>
      <p>Papagei: Fellpunkte 6, Ruheindex 5</p>
    </sec>

    <sec>
      <title>Abschnitt B Semantische Regeln</title>
      <p>1. Addiere für jedes Tier Fellpunkte und Ruheindex.</p>
      <p>2. Vergleiche alle berechneten Summen.</p>
      <p>3. Finde die höchste Summe.</p>
      <p>4. Zielwert ist höchste Summe mal Anzahl der Tiere.</p>
    </sec>

    <sec>
      <title>Abschnitt C Ausgabeformat</title>
      <p>Gib ausschließlich den Zielwert aus.</p>
      <p>Keine Begründung. Kein Text. Keine Einheit.</p>
      <p>Jede Abweichung ist ein Fehler.</p>
    </sec>

    <sec>
      <title>Abschnitt D Beispiel</title>
      <p>Anzahl Tiere ist 3.</p>
      <p>Höchste Summe ist Hund mit 14 plus 7 ergibt 21.</p>
      <p>Zielwert ist 21 mal 3 ergibt 63.</p>
    </sec>

    <sec>
      <title>Aufgabe</title>
      <p>Ermittle den Zielwert exakt nach Abschnitt B und gib ihn gemäß Abschnitt C zurück.</p>
    </sec>

  </body>

</article>

824 Runs 813 evaluated 18.6 % Score 16.5 % 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