Does it pass?
Pass@1 measures whether one generated solution passes every official test.
correctnessSDDT 2026 / OPEN RESEARCH
A Cross-Benchmark and Unified
Fine-Grained Error Taxonomy
Passing is only part of the story. A closer look at what fails, how it fails, and how much.
EQUALITY / INEQUALITY
A failed solution is more than a zero on a leaderboard.
We study code generated by DeepSeek-V3.1, Kimi-K2, Qwen-Plus, and Qwen3-Coder-Plus, including thinking-mode configurations for DeepSeek and Qwen-Plus. A shared taxonomy connects evaluator evidence across HumanEval, MBPP, and BigCodeBench.
Three complementary views separate complete correctness, the semantics of a failure, and its severity.
Pass@1 measures whether one generated solution passes every official test.
correctnessTwenty subtypes describe observed failure semantics across three evaluator categories.
failure semanticsMacro and micro error ratios measure the share of failed tests among failed tasks.
conditional severityExplore the vocabulary behind the verdict.
Choose a category to inspect its subtypes.
The taxonomy covers AssertionError / WrongAnswer, ValueError, and TypeError. Other outcomes remain outside its scope. UNKNOWN is a classifier fallback, not a 21st subtype.
Explore pass@1 across six benchmark settings.
Higher means more fully correct solutions.
| Model configuration | HumanEval | HumanEval+ | MBPP | MBPP+ | BCB Full | BCB Hard |
|---|
Historical results, not new runs. Values are transcribed from the supplied paper. HumanEval/+ and MBPP/+ each share a task set with different tests; BCB Hard is a subset of BCB Full. Machine-readable data ↗
Equality and inequality failures (A_EQ_NEQ) are a central failure pattern across the study’s benchmarks and model configurations. Syntactically valid code can still miss the intended behavior.
On BCB Hard, DeepSeek thinking-mode pass@1 decreases from 0.304 to 0.284, while its micro error ratio among failed tasks decreases slightly from 0.514 to 0.512. Correctness and conditional severity can move differently.
The same 20 subtypes connect evaluator-specific evidence. EvalPlus’s WrongAnswer and BigCodeBench’s AssertionError map to the same nine assertion subtypes.
Macro averages each failed task’s fraction of failing tests, giving tasks equal weight.
Micro pools failing tests across failed tasks, weighting tasks by their test counts.
Both are conditional severity measures. Neither is the overall task failure rate. See Table 3 and metric definitions ↗.
Retained research artifacts and analysis tools.
Start with an offline, standard-library workflow.
EvalPlus and BigCodeBench outputs, failure evidence, classifications, and a LiveCodeBench supplement.
88 artifacts with original source locations, file sizes, and SHA-256 checksums.
Offline inspection plus benchmark-specific generation, failure extraction, and classification scripts.
Supported workflows, artifact coverage, dependencies, and the limits of this release.
Python 3.10+ · No API calls.
These commands do not execute archived model-generated code.
git clone https://github.com/Yujun-Lu/llm-codegen-error-taxonomy.git
cd llm-codegen-error-taxonomy
python scripts/verify_artifacts.py
python scripts/summarize_results.py --section paperThe release preserves research artifacts; it is not a complete, locked end-to-end reproduction of every experiment. LiveCodeBench generation files are supplemental and carry no inferred evaluation score.
If the taxonomy or artifacts support your work, please cite the paper and credit the upstream benchmarks you use.
10.1145/3838938.3838941@inproceedings{lu2026llmsfail,
author = {Lu, Yujun},
title = {How {LLMs} Fail in Code Generation:
A Cross-Benchmark and Unified
Fine-Grained Error Taxonomy},
booktitle = {The 2nd International Conference on
Sustainable Development and Digital Transformation},
series = {SDDT 2026},
year = {2026},
publisher = {ACM},
doi = {10.1145/3838938.3838941},
url = {https://doi.org/10.1145/3838938.3838941},
numpages = {9}
}