CodeSmellEval

Aa Appearance
Text size
Reading width
Contents

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.[1]

Maintainability measurements

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.[1]

Reported model comparison

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.[1]

Connections

View connections on the graph
Graph neighborhood · Open full Graph Explorer
Agent harnesses and …CodeSmellEval

References

  1. ↑How Propense Are Large Language Models at Producing Code Smells? A Benchmarking Study arxiv.org
Revision history
Time view Latest revision

Event dates describe the subject. The knowledge cutoff controls which editorial revisions you can see.