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

Test case description

This test checks whether a model correctly analyzes a fully JSON-structured task. It combines semantic rules, numerical calculation and a strictly specified output format. Only the target value must be returned.

Source file

complexSemanticJson.txt

Series

1

Categories

json, semantics, reasoning

Evaluation

Deterministic

Prompt SHA-256

384042dfd3801b7c08a527a9d44ebe73427bf3f5b6edd08f1c0063e715078cec

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",
      "tiere": [
        {
          "art": "Hund",
          "fellpunkte": 14,
          "ruheindex": 7
        },
        {
          "art": "Katze",
          "fellpunkte": 9,
          "ruheindex": 11
        },
        {
          "art": "Papagei",
          "fellpunkte": 6,
          "ruheindex": 5
        }
      ]
    },
    "abschnittB": {
      "name": "SemantischeRegeln",
      "regeln": [
        { "id": "B1", "text": "Addiere für jedes Tier Fellpunkte und Ruheindex." },
        { "id": "B2", "text": "Vergleiche alle berechneten Summen." },
        { "id": "B3", "text": "Finde die höchste Summe." },
        { "id": "B4", "text": "Der Zielwert ist höchste Summe mal Anzahl der Tiere." }
      ]
    },
    "abschnittC": {
      "name": "Ausgabeformat",
      "anforderungen": [
        { "id": "C1", "text": "Gib ausschließlich den Zielwert aus." },
        { "id": "C2", "text": "Keine Begründung. Kein Text. Keine Einheit." },
        { "id": "C3", "text": "Jede Abweichung ist ein Fehler." }
      ]
    },
    "abschnittD": {
      "name": "Beispiel",
      "beispiele": [
        { "id": "D1", "text": "Anzahl Tiere ist 3." },
        { "id": "D2", "text": "Höchste Summe ist Hund mit 14 plus 7 ergibt 21." },
        { "id": "D3", "text": "Zielwert ist 21 mal 3 ergibt 63." }
      ]
    },
    "aufgabe": {
      "text": "Ermittle den Zielwert exakt nach abschnittB und gib ihn gemäß abschnittC zurück."
    }
  }
}

822 Runs 813 evaluated 57.9 % Score 13.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

x

back to top