Poison Valleys: Diagnosing Path-Dependent Failure in LLM Code Repair
Poison Valleys traces this path in 1,844 model requests on two synthetic Python cases: PersistQueue adds atomic batch claiming to a disk-backed queue, while Dijkstra adds source-sensitive filtering to shortest-path search.
ProofPaper ↗
Key points
- When code-repair agents fail, final tests reveal that a patch is wrong but not which earlier commitment caused it or which software obligation failed.
- We define plausible but incorrect software mechanisms, place each in a model's hypothesis, implementation plan, or both, and evaluate the generated code with an Oracle and targeted diagnostic coordinates.
- Moving the misconception from hypothesis to plan increased failure by 32.2% in PersistQueue and 28.9% in Dijkstra after matching the experimental mix.
- This creates a measured connection from upstream misconception to code mechanism and failure form.
Sources (1)
- [1]Poison Valleys: Diagnosing Path-Dependent Failure in LLM Code RepairarXiv (AI, ML, NLP, CV, robotics, multi-agent) · Oct 15, 08:49 AM
Poison Valleys traces this path in 1,844 model requests on two synthetic Python cases: PersistQueue adds atomic batch claiming to a disk-backed queue, while Dijkstra adds source-sensitive filtering to shortest-path search.
When code-repair agents fail, final tests reveal that a patch is wrong but not which earlier commitment caused it or which software obligation failed.
Extractive summary: sentences quoted from the sources.
Before this
- Oct 15, 2026CertEx: Exact Visual Retrieval at Scale by Certified Exclusion
- Oct 14, 2026NVIDIA/TensorRT-LLM v1.4.0rc0
- Oct 14, 2026Deploy and evaluate models with Amazon SageMaker JumpStart
- Oct 13, 2026How to Use Meta’s Rebalancer for Task Placement & Optimization
- Oct 13, 2026anisayari/sparky: 🔒 Your private AI assistant, 100% local on Windows: chat, vision, documents (RAG), web search, images, videos with sound, voice, code projec
- Oct 13, 2026Plan or Retrieve First? A Scale Study of Tool Discovery Architectures