Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Windows Tipps & SecurityNighthawk M7 Pro im Test: Flexibler, aber teurer 5G-Router(21.09.2026 um 10:30 Uhr)
Sichere ProgrammierungNeue Gmail-Funktion: So sparst du jetzt Zeit bei Einmalcodes(21.09.2026 um 10:00 Uhr)
Sichere ProgrammierungYour GIF exporter is fine — the container is the problem(21.09.2026 um 10:01 Uhr)
Sichere ProgrammierungCSS, Motion, or GSAP? I Choose by Who Owns the Animation(21.09.2026 um 10:12 Uhr)
Windows Tipps & SecurityNighthawk M7 Pro im Test: Flexibler, aber teurer 5G-Router(21.09.2026 um 10:30 Uhr)
Sichere ProgrammierungNeue Gmail-Funktion: So sparst du jetzt Zeit bei Einmalcodes(21.09.2026 um 10:00 Uhr)
Sichere ProgrammierungYour GIF exporter is fine — the container is the problem(21.09.2026 um 10:01 Uhr)
Sichere ProgrammierungCSS, Motion, or GSAP? I Choose by Who Owns the Animation(21.09.2026 um 10:12 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

The hardest LLM bugs are contract failures, not hallucinations

When people talk about LLM failures, the default word is usually "hallucination." But after building and testing LLM apps, I think many production bugs are better described as contract failures. A hallucination is when the model makes…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

When people talk about LLM failures, the default word is usually "hallucination."



But after building and testing LLM apps, I think many production bugs are better described as contract failures.



A hallucination is when the model makes something up. That matters, but it is not the only failure mode.



The subtler bugs happen when the model had enough context, but violated the surrounding system contract.



Examples:




  • It skipped a required tool call.

  • It returned JSON that looked valid but broke the downstream schema.

  • It made a claim without the evidence artifact the workflow expected.

  • It ignored a tool result.

  • It answered before satisfying a validation step.

  • It followed one instruction while violating another.



Retrieval failures are usually easier to notice. You can compare the answer against the retrieved chunks and see that the grounding is weak.



Contract failures are harder because the answer may look plausible. The text might even be correct in isolation. But the system still failed because the model did not do the thing the application required.



For example, in a support agent, the problem may not be that the model gave a bad refund answer. The problem may be that it answered without first calling the refund eligibility tool.



In a data extraction app, the problem may not be that the model misunderstood the document. The problem may be that it returned almost-correct JSON that fails validation in the next service.



In a RAG workflow, the problem may not be missing context. The problem may be that the answer made a claim without attaching the citation or artifact that proves it.



This changed how I think about LLM debugging.



Prompt and response logs are useful, but they are not enough. A debugger should also inspect the contracts around the model call:




  • Was the required tool called?

  • Were the tool arguments valid?

  • Was the tool result used?

  • Did the output match the schema?

  • Was each claim supported by evidence?

  • Did the model satisfy the approval or safety preconditions?

  • Is this failure reproducible as a regression case?



This is the direction I am taking with DebugAI, a Python SDK I have been building.



The goal is to take a bad LLM response and return a structured debug artifact:




  • failure type

  • evidence

  • likely root cause

  • suggested fix

  • regression-testable case



For example, instead of only saying "bad answer," the diagnosis should say something like:



{

"failure": "tool_call_failure",

"evidence": [

"Expected refund_order tool before answering",

"No tool call was made"

],

"fix": "Require tool execution before final answer and reject responses without tool evidence."

}



I think this framing is more useful than treating every LLM bug as a hallucination.



Some bugs are grounding failures.

Some are retrieval failures.

Some are instruction failures.

Some are output validation failures.

Some are tool contract failures.



The more specific the failure class, the easier it is to fix and test.



Repo is public here if useful: https://github.com/civicRJ/DebugAI

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten The hardest LLM bugs are contract failures, not hallucinations

Thematisch verwandte Begriffe: hardest, bugs, contract, failures · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-94030 | A security vulnerability has been detected in SerenityOS up to 3d83e4509…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick