arxivcs.SEcs.AI2026-07-11
Mitigating LLM Sycophancy in Code Smell Detection Using Evidence-Guided Reasoning Prompts
Istiaq Ahmed Fahad, Kamruzzaman Asif, Md. Nurul Ahad Tawhid
Large Language Models (LLMs) are increasingly used for code smell detection tasks due to their ability to interpret program semantics. However, their reliability in this context remains poorly explored, particularly under varying prompt conditions where model predictions may be i…