{"slug":"codesmelleval","article":{"kind":"article","title":"CodeSmellEval","category":"Benchmarks","entityType":"benchmark","summary":"CodeSmellEval is a benchmark for assessing whether code written by language models contains maintainability problems known as code smells. Alejandro Velasco and colleagues introduced it in a paper first posted in December 2024. It complements evaluation based on the functional correctness of generated code.","sources":["source:research-track-agent-harnesses-code-smells"],"relations":[{"to":"article:research-track-agent-harnesses","rel":"covered-in"}],"id":"article:codesmelleval","from":"2026-11-28","revision":"58ff02f4b64d6aecc1e9fd90152fc89af0215a25d336308b35b4b75833582534","recordedAt":"2026-11-28T23:42:44.620Z"},"sections":[{"kind":"section","article":"article:codesmelleval","title":"Maintainability measurements","text":"The benchmark includes a curated collection of method-level smells called CodeSmellData and a score intended to compare how often models produce the specified patterns. Its evaluation concerns code that could be made clearer or easier to maintain, including simplifiable conditions, alongside tests of what the code does.","order":0,"sources":["source:research-track-agent-harnesses-code-smells"],"id":"section:codesmelleval-scope","from":"2026-11-28","revision":"58ff02f4b64d6aecc1e9fd90152fc89af0215a25d336308b35b4b75833582534","recordedAt":"2026-11-28T23:42:44.620Z"},{"kind":"section","article":"article:codesmelleval","title":"Reported model comparison","text":"The paper demonstrates CodeSmellEval using CodeLlama and Mistral. Both produced some of the analysed patterns in the authors’ study. This illustrates why a code-generation assessment may report functional performance and code-quality observations separately.","order":1,"sources":["source:research-track-agent-harnesses-code-smells"],"id":"section:codesmelleval-case-study","from":"2026-11-28","revision":"58ff02f4b64d6aecc1e9fd90152fc89af0215a25d336308b35b4b75833582534","recordedAt":"2026-11-28T23:42:44.620Z"}],"events":[],"examples":[],"links":[],"sources":[{"kind":"source","title":"How Propense Are Large Language Models at Producing Code Smells? A Benchmarking Study","url":"https://arxiv.org/abs/2412.18989","id":"source:research-track-agent-harnesses-code-smells","from":"2026-11-28","revision":"bee1b84cf15d5703092428a85af3e05749af0151d0401ab9acd6269b76311f17","recordedAt":"2026-11-28T22:36:26.545Z"}],"related":[{"slug":"research-track-agent-harnesses","title":"Agent harnesses and tool protocols","category":"Research Collections","entityType":"collection","rel":"covered-in"}],"backlinks":[],"history":[{"id":"58ff02f4b64d6aecc1e9fd90152fc89af0215a25d336308b35b4b75833582534","recordedAt":"2026-11-28T23:42:44.620Z","message":"Publish sourced articles and connect reviewed subjects and dated records"}]}
