Claude comment detection A developer criticized an AI-generated code comment from Anthropic's Claude for asserting that skipping a full collection walk is 'the usual case,' a claim the model cannot verify and that misleads future readers about system behavior. The comment, found in code for flag detection, illustrates how LLM-generated comments can fabricate domain-specific assumptions. Here’s a comment I read in the code I was working on. Walk the entire collection to locate flagged clusters. Skip it altogether when the cached, dirty-tracked flag count says there are none the usual case : nothing needs marking, so the walk is pure waste. When the count is stale e.g. right after an edit or non-zero, we fall through to the real lookup, so stale marks never show. Same eventually-consistent signal the “Flags” badge relies on. One thing in this comment caught my mind: the small parenthetical that says “the usual case”. If that were true, it would be important information However, this comment is generated by the LLM model Claude, which has no sense of what counts as the usual case in this domain. But by generating that comment, it tricks every future reader both human and robot into believing in a property of the system that does not exist.