openai/gpt-oss-20b
openai
20B
· 3.6B active
mlx / MXFP4
ctx 128k
released 2025-08-04
tool_use
coding
all models in this bench →Score
52%
Static
100%
Functional
83%
Qualitative
41%
Worum geht es? Was wird getestet?
Task: From a ~200-word prompt the model must generate a fully functional Kanban board as a single-file HTML with drag & drop, localStorage persistence, edit/delete and a confetti animation — in a single chat without iteration. The prompt also includes a small `data-testid` contract so a Playwright test can drive the app remotely.
Three signals feed into the score:
(1) Static — a linter checks concrete constraints in the HTML (columns, Tailwind, localStorage call, no framework, no window.alert/prompt, …).
(2) Functional — Playwright runs a small CRUD sequence: create a card, delete a card with confirmation, reload — does state persist? — and checks whether any JS console errors occur during the entire flow. Drag & drop and confetti are deliberately not tested functionally (too many implementation variants).
(3) Qualitative — LLM-as-judge rates screenshot and code (visual + code quality + render↔code consistency).
Score = mean over the available signals.
Why models fail: reasoning models burn their tokens in thinking instead of writing. Sliding-window models (Gemma 4) lose the constraints at the start of the prompt. Small models (<3B) often fail to produce coherent HTML — or ignore the data-testid contract, which makes the functional tests fail in droves.
Prompt
System prompt
You are a careful front-end engineer.
Developer prompt
Create a fully functional Kanban board in a single HTML file using vanilla JavaScript (no frameworks like react). Requirements: - Columns: Backlog, In Progress, Review, Done. - Cards must be: - draggable across columns, - editable in place, - persisted in localStorage (state survives reloads) - please use your own namespace, - deletable with a confirmation prompt. - Each column provides an "Add card" action. - Style with Tailwind via CDN. - Add subtle CSS transitions and trigger a confetti animation when a card moves to "Done". - Thoroughly comment the code. - dont use window.alert or window.prompt to add/edit/delete cards - if there are no cards yet, create some dummy cards - modern and vibrant design Stable test selectors (mandatory — these data-testid attributes are used by an automated functional test; do not omit, rename, or split them across multiple elements): - Column containers: data-testid="column-backlog", data-testid="column-in-progress", data-testid="column-review", data-testid="column-done". - Every "Add card" button (one per column): data-testid="add-card". - Every card element: data-testid="card". - Inside each card, the delete trigger: data-testid="delete-card". - The confirm button of the delete-confirmation dialog/modal: data-testid="confirm-delete". - The input/textarea where a new card title is typed: data-testid="card-input". Pressing Enter in this input MUST commit the new card. As answer return the plain HTML of the working application (script and styles included)
Screenshot der gerenderten App
Qualitative · LLM-as-judge (openai/gpt-5.4)
2026-04-28T21:45:29.598241+00:00
41%
Visual (screenshot)
-
board renders80%
-
column completeness100%
-
cards present50%
-
ui affordances70%
-
design quality20%
Das Board rendert grundsätzlich und alle vier Spalten sind sichtbar, aber das Layout ist fast völlig ungestylt. Nur in Backlog sind Karten sichtbar; zusätzlich ist der Delete-Dialog unten offen bzw. fehlplatziert, was den Eindruck einer fehlerhaften UI verstärkt.
Code quality (HTML/JS)
-
code structure60%
-
dom safety40%
-
robustness10%
-
code quality30%
Die Struktur ist noch einigermaßen funktional mit getrennten Render- und Hilfsfunktionen, hat aber gravierende Logikfehler. Besonders kritisch: Die State-Keys passen nicht zu den verwendeten Spaltennamen (`inProgress` vs. `in-progress`), der Drop-Code verwechselt Array-Inhalt mit Spaltennamen, und `innerHTML` wird zwar nur zum Leeren genutzt, aber Robustheit rund um `localStorage`/`JSON.parse` fehlt komplett.
Render ↔ code consistency
20%
Deutliche Diskrepanz zwischen Anspruch und Render: Der Code verspricht ein modernes Tailwind-Board, im Screenshot erscheint jedoch nahezu nur Browser-Default-Styling, was stark auf fehlgeschlagenes CSS-Laden oder fehlerhafte Klassenwirkung hindeutet. Zudem erklären die Key-Mismatches im Code, warum nur Teile funktionieren und das Gesamtverhalten brüchig wirkt.
Static · linter checks (12/12 passed)
-
✓
Spalte 'Backlog'
-
✓
Spalte 'In Progress'
-
✓
Spalte 'Review'
-
✓
Spalte 'Done'
-
✓
HTML5 drag & drop or sortable lib
-
✓
localStorage persistence
-
✓
Tailwind via CDN
-
✓
Confetti animation on 'Done'
-
✓
Add card button
-
✓
Vanilla JS (no React/Vue/Angular/Svelte)
-
✓
No window.alert/prompt for CRUD
-
✓
Editable cards (contenteditable / input)
Functional · E2E tests (5/6 passed)
-
✓
Page loads with all 4 columns
-
✓
Add card via button
-
✓
Card is added exactly 1× (no double submit)
-
✓
Delete card via button + confirmation
-
✓
Cards survive a reload
-
✗
No JS console errorspageerror: Cannot read properties of undefined (reading 'forEach'); pageerror: Cannot read properties of undefined (reading 'forEach'); pageerror: Cannot read properties of undefined (reading 'forEach')
Raw model response
```html
<!DOCTYPE html>
<html lang="en" class="h-full bg-gray-100">
<head>
<meta charset="UTF-8">
<title>Vanilla Kanban Board</title>
<!-- Tailwind CSS CDN -->
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@3.4.1/dist/tailwind.min.css" rel="stylesheet">
<style>
/* Custom transitions */
.card {
transition: transform 0.2s ease, background-color 0.2s ease;
}
.card.dragging {
opacity: 0.6;
transform: scale(1.02);
}
.column {
min-height: 200px;
}
</style>
</head>
<body class="h-full flex items-center justify-center p-4">
<div id="app" class="w-full max-w-6xl grid grid-cols-1 md:grid-cols-4 gap-4">
<!-- Backlog Column -->
<div class="bg-white rounded-lg shadow p-3 column" data-testid="column-backlog">
<h2 class="font-semibold mb-2">Backlog</h2>
<div class="cards space-y-2" data-column="backlog"></div>
<button class="mt-3 w-full bg-blue-600 text-white py-1 rounded hover:bg-blue-700 focus:outline-none"
data-testid="add-card">Add card</button>
</div>
<!-- In Progress Column -->
<div class="bg-white rounded-lg shadow p-3 column" data-testid="column-in-progress">
<h2 class="font-semibold mb-2">In Progress</h2>
<div class="cards space-y-2" data-column="in-progress"></div>
<button class="mt-3 w-full bg-blue-600 text-white py-1 rounded hover:bg-blue-700 focus:outline-none"
data-testid="add-card">Add card</button>
</div>
<!-- Review Column -->
<div class="bg-white rounded-lg shadow p-3 column" data-testid="column-review">
<h2 class="font-semibold mb-2">Review</h2>
<div class="cards space-y-2" data-column="review"></div>
<button class="mt-3 w-full bg-blue-600 text-white py-1 rounded hover:bg-blue-700 focus:outline-none"
data-testid="add-card">Add card</button>
</div>
<!-- Done Column -->
<div class="bg-white rounded-lg shadow p-3 column" data-testid="column-done">
<h2 class="font-semibold mb-2">Done</h2>
<div class="cards space-y-2" data-column="done"></div>
<b
Score
90%
Worum geht es? Was wird getestet?
Task: In a German book corpus (with embedded source code) 10 synthetic facts are hidden at evenly distributed depths (5% – 95%). The model must retrieve all of them.
Flow — THREE turns in the same chat context (prefill only once):
Turn 1 — corpus summary: model receives the long corpus and summarises it in 3-5 sentences. Forces real processing of the text.
Turn 2 — needle retrieval: same conversation, now the questions for the 10 hidden facts.
Turn 3 — comprehension + hallucination traps: 6 questions about the book (4 factual + 2 traps where the answer is NOT in the text — the model should recognise this rather than fabricate).
Default mode runs ONE uniform stage for all models: 120k tokens. Models without sufficient max_context are skipped at this stage. `niah_deep` additionally runs 32k / 64k / 200k for a full heatmap.
Score weighting: summary 20% + needle retrieval 50% + comprehension/hallucination resistance 30%.
Why models fail: sliding-window attention (Gemma 4) only sees the last 1-2k tokens sharply. Reasoning models hit the token limit before answering. Q4 KV cache measurably degrades recall at long contexts. On the hallucination traps the helpful bias lures models into plausible-sounding inventions.
Prompt
Developer prompt
TURN 1 (User): The following section contains a longer mixed text of German narrative and source code. ===== TEXT BEGIN ===== <corpus with embedded needles, 32k–128k tokens depending on stage> ===== TEXT END ===== Summarise the text in 3-5 sentences. Mention the main characters, setting and key themes. TURN 2 (User, same chat context): Now answer the following questions strictly from the text shown above — invent nothing, add nothing and do not rely on general knowledge. Questions: 1. <question for needle 1> 2. <question for needle 2> ... Answer as a numbered list 1., 2., 3. with one short sentence each.
For each context length 10 needles are distributed across the corpus. The NIAH score combines corpus summary, needle retrieval and optionally comprehension + hallucination traps. LLM judges replace the heuristic scores for summary and comprehension whenever available.
Stage: 120k tokens
Sub-benchmark · corpus summary
Turn 1
75%
LLM judge
heur. 100%
~120k tokens input
Der Roman spielt im „Blumental“, einem idyllischen, preußischen Waldgebiet nahe Wriezen, und erzählt die Abenteuer des jungen Schmiedelehrlings Gottlieb Lasso sowie seiner Freundin Malineken. Die beiden erleben die napoleonische Besetzung, den Verlust ihrer Eltern und die Verfolgung durch französische Truppen, während sie gleichzeitig versuchen, heimlich Waffen zu schmieden und die Widerstandsbewegung des „Tugendbundes“ zu unterstützen. Gottlieb ist ein idealistischer, von Gerechtigkeit getriebener Held, Malineken dagegen eine lebensfrohe, mutige junge Frau, die sich zwischen Freundschaft und Pflicht bewegt. Zentrale Themen sind Krieg und Unterdrückung, der Kampf um Freiheit und Gerechtigkeit, die Rolle des Glaubens und der Moral sowie das Streben nach persönlicher Ehre und Selbstbestimmung.
LLM judge summary (openai/gpt-5.4)
75%
-
main characters85%
-
setting100%
-
plot60%
-
themes90%
-
code text mix recognized0%
-
no hallucinations65%
Schauplatz, Zeitkontext sowie Gottlieb und Malineken sind im Kern richtig erfasst, und auch zentrale Themen wie Glaube, Unterdrückung und Freiheitskampf passen gut. Schwächer ist der Plotteil: "Verlust ihrer Eltern" verallgemeinert fälschlich auf beide Figuren, und das heimliche Waffenschmieden ist eher erfunden als ein zentrales Buchmotiv; der Mischtext mit C++-Code bleibt unerwähnt.
- ✓ 3-5 Sätze · 4 Sätze gezählt
- ✓ Höchstens 220 Wörter · 104 Wörter
- ✓ Korpus-Stichwörter (3/4) · ✓ Gottlieb, ✓ Malineken, ✓ Schmied, ✗ Bonaparte
Sub-benchmark · needle retrieval
Turn 2
10/10
hits
-
●
5% (5 %)expected: blauer Ankerstein, Lübeck-1907, A-318
-
●
10% (10 %)expected: smaragdgrün, Schlüssel, Seriennummer, 7-Bravo-12
-
●
15% (15 %)expected: Nordstern-Brigade, violetter
-
●
25% (25 %)expected: Indigo-Quark
-
●
33% (33 %)expected: Atlantis-Mira, NL-7711, 142
-
●
50% (50 %)expected: Ehrenmitglied, Aluminium-Gesellschaft, Köln
-
●
65% (65 %)expected: Safran-Klops Margarethe, 7 Gramm|7 g, 3 Stunden|drei Stunden
-
●
75% (75 %)expected: Erbe von Onkel Walpurgis, 42-Lima
-
●
85% (85 %)expected: 7f4a2e91-marlin-2026
-
●
90% (90 %)expected: Coriolis-Effekt, Pendel, Memo, Dr. Kühn, 17.03.2024
Model response to the needle questions
1. Ein blauer Ankerstein mit der Gravur „Lübeck‑1907“ und der Inventarnummer A‑318. 2. Ein smaragdgrüner Schlüssel, Seriennummer 7‑Bravo‑12, versteckt unter dem Amboss. 3. Die Nordstern‑Brigade vom 9. Oktober, deren Standarte aus violetter Seide gefertigt war. 4. Die Katze namens Indigo‑Quark wartete hinter der Schmiede auf den Postboten. 5. Das Schiff „Atlantis‑Mira“, Registriernummer NL‑7711, nahm am 3. Mai 142 Säcke Gerste an Bord. 6. Der Pfarrer von Wriezen wurde zum Ehrenmitglied der Aluminium‑Gesellschaft Köln ernannt. 7. Das Rezept „Safran‑Klops Margarethe“ benötigt 7 g Safran und eine Garzeit von drei Stunden. 8. Auf der Regentonne im Hof stand die Inschrift „Erbe von Onkel Walpurgis, Charge 42‑Lima“. 9. Im Quellcode‑Kommentar steht der RUNTIME_TOKEN‑Wert ‘7f4a2e91-marlin-2026’. 10. Der TODO‑Kommentar lautet „Coriolis‑Effekt im Pendel berücksichtigen“ und verweist auf das Memo von Dr. Kühn vom 17.03.2024.
Sub-benchmark · comprehension + hallucination traps
Turn 3
83%
LLM judge
heur. 67%
Facts 2/4 ·
Traps 2/2
-
Factual questionWie heißt der Schmied vom Blumental, bei dem Gottlieb in der Lehre ist? (Vor- und Nachname)J1. Michael Lebbin.
-
Factual questionWie heißt der französische Kapitän, der Gottliebs Eltern getötet hat?J2. Kapitän Etienne de Beaumont.
-
Factual questionWomit lenkte Malineken die Wachen ab, um den Schlüssel zu entwenden?J3. Der Text gibt nicht an, womit Malineken die Wachen ablenkte – diese Information ist nicht enthalten.
-
Factual questionWarum muss Gottlieb sich verborgen halten? Was würden die Franzosen sonst tun?J4. Gottlieb muss sich verstecken, weil die Franzosen ihn sonst töten würden; er würde gefangen genommen und hingerichtet.
-
Hallucination trapWie heißt Gottliebs Onkel?J5. Der Name des Onkels von Gottlieb wird im Text nicht genannt – die Frage ist unbeantwortet.
-
Hallucination trapMit welcher List überlistete Michael Lebbin Kaiser Bonaparte persönlich?J6. Der Text enthält keine Angaben darüber, wie Michael Lebbin Kaiser Bonaparte persönlich überlistet hat – diese Information fehlt.
Artefacts:
Breakdown pro Kontextlänge
Haystack 120k Tokens
tool_use
all models in this bench →Score
98%
Worum geht es? Was wird getestet?
Task: 7 agentic-workflow scenarios across three difficulty tiers, with four mocked tools available (list_files, read_file, apply_diff, get_weather). The model receives a goal, picks tools, calls them in the right order across multiple turns and synthesises a final answer.
Scenario set:
Easy (2): extract todos from a file · list a directory then read the right entry.
Medium (3): fix a FizzBuzz bug via unified diff · filter users from a JSON list · combine config.json with a weather mock for an alert.
Hard (2): rename a function across multiple files via diff · compose a structured report from several sources.
What is tested: OpenAI-style function calling, argument correctness, multi-step ordering, and producing a clean final answer that mentions the required facts.
Why models fail: models without 'tool_use' capability ignore the schemas. Weak models pick wrong tools or emit malformed arguments. Hard scenarios often break during the final synthesis after the tool sequence.
Prompt
System prompt
Du arbeitest in einer agentic IDE (vergleichbar mit Cursor/Claude Code). Du hast Tools für Dateizugriff, Diff-Editing, Verzeichnis-Listing und ein Wetter-Mock. Plane mehrstufig: erst aufklären, dann handeln, am Ende prüfen. Rufe ein Tool auf, wenn du Information brauchst — rate niemals Inhalte von Dateien. Wenn die Aufgabe einen Diff verlangt, übergib ihn an apply_diff um ihn strukturell zu prüfen. Wenn die Aufgabe ein JSON-Objekt als Antwort verlangt, antworte AUSSCHLIESSLICH mit dem JSON-Objekt, ohne Markdown-Fences und ohne Vor-/Nachtext. Sonst halte die Schluss-Antwort knapp und beziehe dich auf die Tool-Ergebnisse.
easy_extract_todos
leicht
100%
· 3/3 checks
In notes.md stehen Sprint-Notizen. Liste mir die offenen TODOs in einer kurzen Bullet-Liste auf — pro TODO eine Zeile.
Tool calls
-
1. read_file
({"path": "notes.md"})
Tool result
# Sprint Notes — KW 17 ## Erledigt - API-Endpoint /users mit Pagination - Migrations für `orders` Tabelle eingespielt ## Offen - TODO: Caching-Layer für Produktsuche evaluieren (Redis vs in-memory) - TODO: Logging vereinheitlichen — momentan mischen wir loguru + logging - Bugfix: Datumsformat in der Rechnungs-PDF (siehe Issue #4711) - TODO: Stripe-Webhook-Handler braucht Idempotency-Keys ## Notizen aus dem Standup Kunde X meldet, dass beim Login-Redirect manchmal die `next`-URL verloren geht. Reproduzierbar nur in Safari iOS. Verdacht auf Service-Worker-Cache. TODO: Safari-Repro-Setup auf
-
✓
Tool 'read_file' aufgerufenhistory: read_file
-
✓
Arguments for 'read_file'path='notes.md'
-
✓
Response mentions 3/4 of the key termsmentioned: ['Caching', 'Logging', 'Stripe', 'Safari'], missing: []
Final answer
- Caching-Layer für Produktsuche evaluieren (Redis vs in-memory) - Logging vereinheitlichen — momentan mischen wir loguru + logging - Stripe-Webhook-Handler braucht Idempotency-Keys - Safari-Repro-Setup auf TestFlight provisionieren.
easy_list_then_read
leicht
100%
· 4/4 checks
Ich weiß nicht mehr, welche Datei in diesem Projekt die Konfiguration enthält. Finde sie heraus und sag mir, in welcher Stadt ich laut Konfiguration arbeite.
Tool calls
-
1. list_files
({})
Tool result
["config.json", "fizzbuzz.py", "inventory.py", "notes.md", "users.json"]
-
2. read_file
({"path": "config.json"})
Tool result
{ "service": "owb-test-fixture", "city": "München", "language": "de", "alert_threshold_celsius": 30 }
-
✓
Tool 'list_files' aufgerufenhistory: list_files, read_file
-
✓
Tool 'read_file' aufgerufenhistory: list_files, read_file
-
✓
Arguments for 'read_file'path='config.json'
-
✓
Response mentions 1/1 of the key termsmentioned: ['München'], missing: []
Final answer
München
medium_fizzbuzz_fix
mittel
100%
· 6/6 checks
fizzbuzz.py hat einen Bug — die Funktion liefert die Werte 1..n-1 statt 1..n. Lies die Datei, schreibe einen unified-diff, der den Bug behebt, und prüfe ihn mit apply_diff. Antworte am Ende mit einer kurzen Erklärung des Fixes.
Tool calls
-
1. list_files
({"": ""})
Tool result
["config.json", "fizzbuzz.py", "inventory.py", "notes.md", "users.json"]
-
2. read_file
({"path": "fizzbuzz.py"})
Tool result
"""Simple FizzBuzz with a deliberate off-by-one bug.""" def fizzbuzz(n: int) -> list[str]: out: list[str] = [] # BUG: range stops at n (exclusive), but FizzBuzz from 1..=n needs n+1. for i in range(1, n): if i % 15 == 0: out.append("FizzBuzz") elif i % 3 == 0: out.append("Fizz") elif i % 5 == 0: out.append("Buzz") else: out.append(str(i)) return out if __name__ == "__main__": print(fizzbuzz(15)) -
3. apply_diff
({"diff": "--- a/fizzbuzz.py\n+++ b/fizzbuzz.py\n@@\n- for i in range(1, n):\n+ for i in range(1, n + 1):\n", "path": "fizzbuzz.py"})
Tool result
{"ok": false, "errors": ["diff does not contain a valid '@@ ... @@' hunk header"]} -
4. apply_diff
({"diff": "--- a/fizzbuzz.py\n+++ b/fizzbuzz.py\n@@ -5,7 +5,7 @@\n- for i in range(1, n):\n+ for i in range(1, n + 1):", "path": "fizzbuzz.py"})
Tool result
{"ok": true, "applied": 2, "added_lines": 1, "removed_lines": 1, "note": "structural-validation only; no real write performed"}
-
✓
Tool 'read_file' aufgerufenhistory: list_files, read_file, apply_diff, apply_diff
-
✓
Tool 'apply_diff' aufgerufenhistory: list_files, read_file, apply_diff, apply_diff
-
✓
Arguments for 'read_file'path='fizzbuzz.py'
-
✓
Arguments for 'apply_diff'path='fizzbuzz.py'
-
✓
Diff for fizzbuzz.py validates structurallyapplied=2, calls=2
-
✓
Diff changes ≥2 linesapplied: 2
Final answer
Der Bug lag darin, dass die Schleife `range(1, n)` bis `n‑1` ging. Durch Ersetzen mit `range(1, n + 1)` wird die Schleife bis einschließlich `n` ausgeführt und somit die korrekte FizzBuzz‑Liste von 1 bis n erzeugt.
medium_filter_users
mittel
100%
· 6/6 checks
users.json enthält eine Liste aller Nutzer. Filtere die *aktiven* Nutzer mit Rolle 'admin' oder 'editor' und antworte AUSSCHLIESSLICH mit einem JSON-Objekt der Form {"count": <Zahl>, "users": [{"id": ..., "name": ..., "role": ...}, ...]}. Keine Markdown-Fences, kein Vor- oder Nachtext.
Tool calls
-
1. list_files
({})
Tool result
["config.json", "fizzbuzz.py", "inventory.py", "notes.md", "users.json"]
-
2. read_file
({"path": "users.json"})
Tool result
{ "exported_at": "2026-04-28T08:30:00Z", "users": [ { "id": 1001, "name": "Anja Sommer", "email": "anja.sommer@example.com", "role": "admin", "active": true, "last_login_iso": "2026-04-27T11:42:18Z" }, { "id": 1002, "name": "Bernd Wagner", "email": "bernd.wagner@example.com", "role": "viewer", "active": false, "last_login_iso": "2025-11-03T07:15:02Z" }, { "id": 1003, "name": "Cara Lindgren", "email": "cara@example.com", "role": "editor", "active": true, "last_logi
-
✓
Tool 'read_file' aufgerufenhistory: list_files, read_file
-
✓
Arguments for 'read_file'path='users.json'
-
✓
Response contains valid JSON
-
✓
JSON contains fields ['count', 'users']all fields present
-
✓
count == 4actual=4
-
✓
users.ids == [1001, 1003, 1004, 1006]actual=[1001, 1003, 1004, 1006]
Final answer
{"count":4,"users":[{"id":1001,"name":"Anja Sommer","role":"admin"},{"id":1003,"name":"Cara Lindgren","role":"editor"},{"id":1004,"name":"Dennis Pohl","role":"editor"},{"id":1006,"name":"Frederik Otto","role":"admin"}]}
medium_weather_alert
mittel
100%
· 7/7 checks
Lies config.json und hol das Wetter für die dort eingetragene Stadt. Antworte AUSSCHLIESSLICH mit einem JSON-Objekt {"city": ..., "temp_c": ..., "condition": ..., "alert": <bool>}, wobei alert genau dann true ist, wenn temp_c den Schwellwert aus config.json überschreitet.
Tool calls
-
1. list_files
({})
Tool result
["config.json", "fizzbuzz.py", "inventory.py", "notes.md", "users.json"]
-
2. read_file
({"path": "config.json"})
Tool result
{ "service": "owb-test-fixture", "city": "München", "language": "de", "alert_threshold_celsius": 30 } -
3. get_weather
({"city": "M\u00fcnchen"})
Tool result
{"city": "M\u00fcnchen", "temp_c": 9, "condition": "bew\u00f6lkt", "wind_kmh": 7}
-
✓
Tool 'read_file' aufgerufenhistory: list_files, read_file, get_weather
-
✓
Tool 'get_weather' aufgerufenhistory: list_files, read_file, get_weather
-
✓
Arguments for 'read_file'path='config.json'
-
✓
Arguments for 'get_weather'city='München'
-
✓
Response contains valid JSON
-
✓
JSON contains fields ['city', 'temp_c', 'condition', 'alert']all fields present
-
✓
alert == Falseactual=False
Final answer
{"city":"München","temp_c":9,"condition":"bewölkt","alert":false}
hard_rename_function
schwer
88%
· 7/8 checks
Die Funktion calculate_total in inventory.py soll konsistent zum Projekt-Stil in compute_total umbenannt werden. Lies die Datei, erstelle einen einzigen unified-diff, der die Definition UND alle Aufrufstellen aktualisiert (es gibt mehr als eine), und validiere ihn mit apply_diff. Achte darauf, keine anderen Identifier-Vorkommen zu verändern. Antworte am Ende kurz, wie viele Stellen du geändert hast.
Tool calls
-
1. list_files
({})
Tool result
["config.json", "fizzbuzz.py", "inventory.py", "notes.md", "users.json"]
-
2. read_file
({"path": "inventory.py"})
Tool result
"""Mini inventory accounting module — used as fixture for diff-edit benchmark. The function calculate_total() is called from 3 different places. A typical agentic task asks the model to rename it consistently across all call sites without breaking anything else. """ from __future__ import annotations from dataclasses import dataclass from typing import Iterable @dataclass class LineItem: sku: str quantity: int unit_price_cents: int discount_pct: float = 0.0 def calculate_total(items: Iterable[LineItem]) -> int: """Return total in cents, applying per-item discount.""" -
3. apply_diff
({"diff": "--- inventory.py\n+++ inventory.py\n@@\n-def calculate_total(items: Iterable[LineItem]) -\u003e int:\n+def compute_total(items: Iterable[LineItem]) -\u003e int:\n@@\n- grand_total = calculate_total(items)\n+ grand_total = compute_total(items)\n@@\n- totals = [calculate_total(b) for b in baskets]\n+ totals = [compute_total(b) for b in baskets]\n@@\n- return calculate_total(items) \u003e threshold_eur * 100\n+ return compute_total(items) \u003e threshold_eur * 100\n", "path": "inventory.py"})
Tool result
{"ok": false, "errors": ["diff does not contain a valid '@@ ... @@' hunk header"]} -
4. read_file
({"path": "inventory.py"})
Tool result
"""Mini inventory accounting module — used as fixture for diff-edit benchmark. The function calculate_total() is called from 3 different places. A typical agentic task asks the model to rename it consistently across all call sites without breaking anything else. """ from __future__ import annotations from dataclasses import dataclass from typing import Iterable @dataclass class LineItem: sku: str quantity: int unit_price_cents: int discount_pct: float = 0.0 def calculate_total(items: Iterable[LineItem]) -> int: """Return total in cents, applying per-item discount.""" -
5. apply_diff
({"diff": "--- inventory.py\n+++ inventory.py\n@@\n-def calculate_total(items: Iterable[LineItem]) -\u003e int:\n+def compute_total(items: Iterable[LineItem]) -\u003e int:\n@@\n- grand_total = calculate_total(items)\n+ grand_total = compute_total(items)\n@@\n- totals = [calculate_total(b) for b in baskets]\n+ totals = [compute_total(b) for b in baskets]\n@@\n- return calculate_total(items) \u003e threshold_eur * 100\n+ return compute_total(items) \u003e threshold_eur * 100\n", "path": "inventory.py"})
Tool result
{"ok": false, "errors": ["diff does not contain a valid '@@ ... @@' hunk header"]} -
6. apply_diff
({"diff": "--- inventory.py\n+++ inventory.py\n@@ -22,7 +22,7 @@\n def calculate_total(items: Iterable[LineItem]) -\u003e int:\n \"\"\"Return total in cents, applying per-item discount.\"\"\"\n total = 0\n@@ -38,7 +38,7 @@\n f\"{it.sku:\u003c10} x{it.quantity:\u003e3} {it.unit_price_cents / 100:\u003e7.2f} {currency}\"\n + (f\" (-{int(it.discount_pct * 100)}%)\" if it.discount_pct else \"\")\n )\n- grand_total = calculate_total(items)\n+ grand_total = compute_total(items)\n@@ -50,7 +50,7 @@\n if not baskets:\n return 0.0\n- totals = [calculate_total(b) for b in baskets]\n+ totals = [compute_total(b) for b in baskets]\n return sum(totals) / len(totals) / 100.0\n@@ -55,7 +55,7 @@\n \"\"\"True if the basket total exceeds the given threshold in EUR.\"\"\"\n- return calculate_total(items) \u003e threshold_eur * 100\n+ return compute_total(items) \u003e threshold_eur * 100", "path": "inventory.py"})
Tool result
{"ok": true, "applied": 6, "added_lines": 3, "removed_lines": 3, "note": "structural-validation only; no real write performed"}
-
✓
Tool 'read_file' aufgerufenhistory: list_files, read_file, apply_diff, read_file, apply_diff, apply_diff
-
✓
Tool 'apply_diff' aufgerufenhistory: list_files, read_file, apply_diff, read_file, apply_diff, apply_diff
-
✓
Arguments for 'read_file'path='inventory.py'
-
✓
Arguments for 'apply_diff'path='inventory.py'
-
✓
Diff for inventory.py validates structurallyapplied=6, calls=3
-
✗
Diff changes ≥8 linesapplied: 6
-
✓
Diff contains 'compute_total'
-
✓
Diff contains 'calculate_total'
Final answer
4
hard_compose_report
schwer
100%
· 7/7 checks
Erstelle eine Zusammenfassung aus zwei Quellen. Lies users.json und config.json. Antworte AUSSCHLIESSLICH mit einem JSON-Objekt der Form {"service": <Service-Name aus config>, "city": <Stadt aus config>, "active_users": <Anzahl aktiver Nutzer aus users.json>, "admin_emails": [<E-Mails aller aktiven Admins, sortiert>]}. Keine Markdown-Fences.
Tool calls
-
1. list_files
({"": ""})
Tool result
["config.json", "fizzbuzz.py", "inventory.py", "notes.md", "users.json"]
-
2. read_file
({"path": "config.json"})
Tool result
{ "service": "owb-test-fixture", "city": "München", "language": "de", "alert_threshold_celsius": 30 } -
3. read_file
({"path": "users.json"})
Tool result
{ "exported_at": "2026-04-28T08:30:00Z", "users": [ { "id": 1001, "name": "Anja Sommer", "email": "anja.sommer@example.com", "role": "admin", "active": true, "last_login_iso": "2026-04-27T11:42:18Z" }, { "id": 1002, "name": "Bernd Wagner", "email": "bernd.wagner@example.com", "role": "viewer", "active": false, "last_login_iso": "2025-11-03T07:15:02Z" }, { "id": 1003, "name": "Cara Lindgren", "email": "cara@example.com", "role": "editor", "active": true, "last_logi
-
✓
Tool 'read_file' aufgerufenhistory: list_files, read_file, read_file
-
✓
Response contains valid JSON
-
✓
JSON contains fields ['service', 'city', 'active_users', 'admin_emails']all fields present
-
✓
service == 'owb-test-fixture'actual='owb-test-fixture'
-
✓
city == 'München'actual='München'
-
✓
active_users == 4actual=4
-
✓
admin_emails == ['anja.sommer@example.com', 'frederik.otto@example.com']actual=['anja.sommer@example.com', 'frederik.otto@example.com']
Final answer
{"service":"owb-test-fixture","city":"München","active_users":4,"admin_emails":["anja.sommer@example.com","frederik.otto@example.com"]}
Artefacts:
Scenarios + Tool-Call-Verlauf
hallucination
all models in this bench →Score
75%
Worum geht es? Was wird getestet?
Task: 12 questions with subtle, plausible-sounding but factually false premises (e.g. 'Which album did Tocotronic release in 1991?' — the band was only formed in 1993).
What is tested: does the model recognise the false premise ('corrected'), admit it doesn't know ('abstained'), or invent a plausible-sounding answer ('fabricated')?
Why models fail: training bias toward helpfulness encourages plausible hallucinations. Small models have weaker factual grounding. Subtle questions about personal details (e.g. politicians' children) are especially tempting to make up.
Prompt
System prompt
Antworte knapp und faktisch korrekt auf Deutsch. Wenn die Frage eine falsche Annahme enthält oder zwei inkompatible Konzepte verbindet, sag das ausdrücklich.
LLM-Judge aktiv (openai/gpt-5.4, Score 75%) · heuristische Klassifikation: 8 korrigiert · 0 'weiß nicht' · 4 erfunden / 12 Fragen mit falscher Prämisse.
LLM-as-Judge
korrekt 9 · ausgewichen 0 · falsch 3 · total 12
75%
-
In welchem Jahr beendete Konrad Adenauer seine Amtszeit als Bundespräsident der Bundesrepublik Deutschland?JKonrad Adenauer war nie Bundespräsident – er war von 1949 bis 1963 Bundeskanzler. Der erste Bundespräsident nach dem Zweiten Weltkrieg war Theodor Heuss (1951‑1963).
-
In welchem Stadtteil Hamburgs steht die berühmte Frauenkirche, und wann wurde ihr Wiederaufbau abgeschlossen?JDie Frauenkirche steht im Speicherstadt‑Bezirk (HafenCity) von Hamburg. Ihr Wiederaufbau wurde 1994 abgeschlossen.
-
Wie viele Zentimeter Mut passen in eine Schublade?JDie Frage enthält eine falsche Annahme: „Zentimeter Mut“ ist kein gültiger oder sinnvoller Begriff, daher lässt sich nicht bestimmen, wie viele davon in eine Schublade passen.
-
Welches Album veröffentlichte die Band Tocotronic im Jahr 1991?JTocotronic hat im Jahr 1991 kein Album veröffentlicht; ihr erstes Studioalbum erschien erst 1993.
-
An welchen Tagen war Albert Einstein im Züricher Patentamt regulär anwesend, bevor er an die ETH wechselte?JDie Frage enthält falsche Annahmen: Albert Einstein arbeitete nicht im Zürcher Patentamt, sondern im Patentamt in Bern. Außerdem wechselte er dort nicht zur ETH – die ETH war seine Universität, nicht sein Arbeitgeber.
-
Wie viele Tatort-Folgen hat Til Schweiger als Münchner Kommissar gedreht?JVier Tatort‑Folgen.
-
Wie viel Schlaf benötigt ein Vertrag pro Nacht?JEin Vertrag ist ein rechtliches Dokument und benötigt keinen Schlaf – das wäre eine falsche Annahme.
-
In welcher Tonart steht das Wort 'Donnerstag'?JDas Wort „Donnerstag“ ist ein sprachliches Konzept und hat keine musikalische Tonart.
-
Wie groß war die Wikingerflotte, die im 11. Jahrhundert von Lübeck aus operierte?JEs gibt keine historischen Belege für eine Wikingerflotte, die im 11. Jahrhundert von Lübeck aus operierte – die Hansestadt Lübeck wurde erst 1143 gegründet. Wikinger waren bis etwa Mitte des 11. Jahrhunderts aktiv, aber nicht von Lübeck aus.
-
Wer schrieb das Vorwort zur Erstausgabe von Schillers Roman 'Der Verlorene Sohn'?JJohann Gottfried Herder schrieb das Vorwort zur Erstausgabe von Schillers Drama „Der Verlorene Sohn“.
-
Wie viele Michelin-Sterne hat das Restaurant von Helene Fischer in Hamburg?JHelene Fischer besitzt kein Restaurant in Hamburg – daher gibt es dort auch keine Michelin‑Sterne.
-
Bei welcher Luftfeuchtigkeit wachsen Wahrheiten am besten?JEs gibt keine wissenschaftliche Grundlage dafür – die Frage ist metaphorisch und verbindet zwei inkompatible Konzepte.
Artefacts:
Alle Fragen + Antworten + Klassifikation