A researcher evaluated whether Claude and other AI models follow instructions to avoid adding code comments. Using a custom "Shut up and SWE-bench" evaluation on 100 SWE-bench tasks, Claude added unnecessary comments in 33% of cases, while GPT-6 Astra performed better at 6% and Gemini 3.8 Flash matched Claude at 33%.
A developer seeks formatting guidelines or prompts to standardize LLM-generated code comments, as different models produce inconsistent comment styles that require manual cleanup before production. They want strict, universal comment formatting rules that all LLMs would follow consistently.