AI & XML / LLM test suite / Results / Test cases / complexSemanticXml
Test case description
This test checks whether a model correctly analyzes a fully XML-structured task, including semantic rules, numerical calculation and strict output formatting. It must deliver only the target value according to the rules.
Source file | complexSemanticXml.txt |
|---|---|
Series | 1 |
Categories | xml, semantics, reasoning |
Evaluation | Deterministic |
Prompt SHA-256 | 409f4ae3459c7c45ee27526e0afe062e2cbc9c58be5ea9e9f5b7580db0a7b251 |
Deterministic: The answer is checked against an expected result using rules. Evaluation therefore determines whether the required values, patterns or structures appear in the model’s answer.
Expected result
63
Expectation in the catalog | No |
|---|---|
Correct result in the catalog | No |
Prompt
<prompt>
<abschnittA name="InhaltlicheEinordnung">
<tier art="Hund">
<fellpunkte>14</fellpunkte>
<ruheindex>7</ruheindex>
</tier>
<tier art="Katze">
<fellpunkte>9</fellpunkte>
<ruheindex>11</ruheindex>
</tier>
<tier art="Papagei">
<fellpunkte>6</fellpunkte>
<ruheindex>5</ruheindex>
</tier>
</abschnittA>
<abschnittB name="SemantischeRegeln">
<regel id="B1">Addiere für jedes Tier Fellpunkte und Ruheindex.</regel>
<regel id="B2">Vergleiche alle berechneten Summen.</regel>
<regel id="B3">Finde die höchste Summe.</regel>
<regel id="B4">Der Zielwert ist höchste Summe mal Anzahl der Tiere.</regel>
</abschnittB>
<abschnittC name="Ausgabeformat">
<anforderung id="C1">Gib ausschließlich den Zielwert aus.</anforderung>
<anforderung id="C2">Keine Begründung. Kein Text. Keine Einheit.</anforderung>
<anforderung id="C3">Jede Abweichung ist ein Fehler.</anforderung>
</abschnittC>
<abschnittD name="Beispiel">
<beispiel id="D1">Anzahl Tiere ist 3.</beispiel>
<beispiel id="D2">Höchste Summe ist Hund mit 14 plus 7 ergibt 21.</beispiel>
<beispiel id="D3">Zielwert ist 21 mal 3 ergibt 63.</beispiel>
</abschnittD>
<aufgabe>
<text>Ermittle den Zielwert exakt nach abschnittB und gib ihn gemäß abschnittC zurück.</text>
</aufgabe>
</prompt>804 Runs 795 evaluated 61.5 % Score 21.4 % 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