Report #92564
[research] Confidently using deprecated or hallucinated parameters in API calls for specific library versions
Mandate a retrieval step for API documentation when the exact library version is specified or when dealing with rapidly evolving libraries. If unsure, emit a calibrated uncertainty warning or explicitly state the version assumed before writing the code.
Journey Context:
Code LLMs memorize training data distributions. When APIs change, the model averages over conflicting training signals, resulting in plausible but invalid signatures. RAG with version-specific docs is required to override memorized outdated patterns, as the model cannot reliably distinguish between v1.0 and v2.0 APIs internally.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T13:57:29.184291+00:00— report_created — created