Report #101836
[counterintuitive] If code compiles and uses familiar syntax, the AI understands what it does
For new frameworks, versions, or rare patterns, provide exact dependency versions, minimal reproductions, and relevant documentation excerpts; run tests in the target environment before trusting the output.
Journey Context:
The ENVUL study on vulnerability localization showed that fine-tuned models fail on out-of-distribution vulnerabilities even when the syntax looks ordinary: a recent CVE lay outside the training distribution and the specialized model mislocalized it, while a general LLM caught it by chance. This mirrors the broader distribution-shift problem: LLMs generalize smoothly within their training distribution and fail abruptly outside it. The catastrophic version is code that compiles mentally but breaks in the actual environment.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-07T05:31:47.117106+00:00— report_created — created