Programmers often guess wrong about what their AI coding assistant can actually see — does that wrong guess lead to worse suggestions?
Do misconceptions about AI context actually degrade code suggestion quality?
This explores whether programmers' wrong beliefs about what an AI coding assistant can 'see' (open files, commented-out code, the wider codebase) actually lead to worse suggestions, or whether they are just a harmless gap in user understanding.
This explores whether programmers' wrong beliefs about what an AI coding assistant can see lead to worse code suggestions. The short answer: the corpus clearly shows that the misconceptions exist and that missing context hurts suggestions, but no study here directly measures the link between the two. That gap is worth knowing about, because the separate pieces of evidence point strongly in one direction.
The misconceptions are well documented. In a 20-person study of Copilot users, people wrongly believed that commenting out code hid it from the model. They also didn't know which parts of their codebase the model could access, and they asked for explicit ways to control what it sees, such as scratchpads or special syntax markers Do programmers understand what context Copilot actually sees?. This is understandable rather than careless. An AI's context isn't fixed like a traditional interface. It is a shifting mix of the prompt, conversation history, retrieved files and hidden state that users can't build a stable mental model of How does AI context differ from conventional software context?. Part of that context is deliberately invisible: system prompts set rules that end users can't see, and small edits to them can shift behavior abruptly Who actually controls what AI systems say?.
The other half of the chain, that missing context degrades output, has strong evidence from code review. In more than 31,000 CodeRabbit reviews, developers rejected most suggestions, mostly as false positives, and the rejections were driven by the tool misunderstanding system design and code context Do developers actually accept AI code review suggestions?. Across nearly 280,000 GitHub review conversations, AI suggestions reached production at about a third of the rate of human ones, and when adopted they added more complexity Why do developers adopt AI code suggestions so rarely?. Not every rejection is a context failure, though. Many rejected suggestions about maintainability were technically valid but clashed with team conventions Why do developers reject code suggestions that actually work?. That is also a context problem, just a social one: the model didn't know the team's habits.
The most telling evidence comes from a different angle. When AI agents got incomplete instructions on software tasks, live clarification exchanges recovered 74–80% of the lost performance. But the models rarely asked unless prompted to Can asking for clarification recover lost software engineering performance?. Put that next to the Copilot findings and the risk becomes clear. If a developer thinks the model already knows something it doesn't, they won't supply it, and the model won't ask. Neither side notices the gap. That fits the Stack Overflow finding that developers' main complaint is code that looks right but contains subtle errors, which is pushing trust down even as usage climbs Why do developers keep using AI tools they don't trust?.
The takeaway is that the problem may be less about users being wrong than about nobody showing what the model can see. The fixes the corpus points to are about making context visible and steerable: syntax for controlling scope, agents that ask clarifying questions, and plans users can revise partway through, which improved steering in one lab study Can users steer AI agents better by revising plans mid-execution?. A study that measures suggestion quality against what users believe the model sees would close this loop. The corpus doesn't have one yet.
Sources 9 notes
A 20-person study found widespread misconceptions: participants wrongly believed commenting out code hid it from Copilot, didn't know which codebase information the model could access, and requested explicit syntax to control context scope, like scratchpads or dedicated syntax markers.
AI interactions operate on a substrate of constantly shifting context—prompt, history, retrieved data, hidden state—that users cannot internalize like traditional UIs. This structural mutability demands a new design discipline centered on context engineering rather than interface design.
System prompts operate as a confidential three-tier control structure where developers set foundational rules users cannot see or influence. Evidence from 2025 incidents shows small prompt edits can abruptly shift model behavior, yet users remain excluded from this layer.
A study of 31,073 CodeRabbit reviews across 239 repositories found 56.3% rejected (mostly as false positives), 36.4% accepted, with rejections driven by misunderstanding of system design and code context.
A study of 278,790 GitHub code review conversations found AI agents' suggestions reach production at roughly one-third the rate of human suggestions. When adopted, agent suggestions also increased code complexity more than human suggestions did.
Show all 9 sources
CodeRabbit's rejected evolvability suggestions were valid but dismissed 31.6% of the time due to conflicts with developer preferences, not technical errors. This differs from rejected functional suggestions and reveals a gap between algorithmic correctness and developer acceptance.
Testing AI agents on ambiguous software engineering tasks showed that live clarification exchanges recover 74–80% of the performance drop caused by incomplete instructions. However, models rarely initiate these queries without explicit prompting, suggesting a training rather than capability gap.
Stack Overflow's 2025 survey shows 80% of developers use AI tools while trust in accuracy fell from 40% to 29%. The primary complaint: AI code that looks correct but contains subtle errors, creating a verification burden that erodes confidence faster than usage grows.
Cocoa's system, which lets users assign plan steps to themselves or an agent and revise plans mid-execution, afforded greater steerability than chat-baseline interaction in a lab study (n=16) while maintaining ease of use, with field users valuing explicit work delegation.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- Human-AI Synergy in Agentic Code Review
- 2025 Stack Overflow Developer Survey: developers remain willing but reluctant to use AI
- Is Agentic Code Review Helpful? Mining Developers' Feedback to CodeRabbit Reviews in the Wild
- 2025 Stack Overflow Developer Survey: AI
- Adoption and Impact of Command-Line AI Coding Agents: A Study of Microsoft's Early 2026 Rollout of Claude Code and GitHub Copilot CLI
- 2026 Stack Overflow Developer Survey: AI
- Who Controls the Conversation? User Perspectives On Generative AI (LLM) System Prompts
- HumanAgencyBench: Scalable Evaluation of Human Agency Support in AI Assistants