TSSB-3M: Mining single statement bugs at massive scale
Not on the map. Why?
Abstract (arXiv)
Single statement bugs are one of the most important ingredients in the evaluation of modern bug detection and automatic program repair methods. By affecting only a single statement, single statement bugs represent a type of bug often overlooked by developers, while still being small enough to be detected and fixed by automatic methods. With the rise of data-driven automatic repair the availability of single statement bugs at the scale of millionth of examples is more important than ever; not only for testing these methods but also for providing sufficient real world examples for training. To provide access to bug fix datasets of this scale, we are releasing two datasets called SSB-9M and TSSB-3M. While SSB-9M provides access to a collection of over 9M general single statement bug fixes from over 500K open source Python projects , TSSB-3M focuses on over 3M single statement bugs which can be fixed solely by a single statement change. To facilitate future research and empirical investigations, we annotated each bug fix with one of 20 single statement bug (SStuB) patterns typical for Python together with a characterization of the code change as a sequence of AST modifications. Our initial investigation shows that at least 40% of all single statement bug fixes mined fit at least one SStuB pattern, and that the majority of 72% of all bugs can be fixed with the same syntactic modifications as needed for fixing SStuBs.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). First posted on arXiv 28 Jan 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 2; 2023: 6; 2024: 2; 2025: 2; 2026: 2.
14 papers.
Sort:
By area:
- 2023Large Language Models and Simple, Stupid Bugscited by 45
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
- 2023Toward a Theory of Causation for Interpreting Neural Code Modelscited by 12
- 2023RunBugRun -- An Executable Dataset for Automated Program Repaircited by 10
- 2022Detect-Localize-Repair: A Unified Framework for Learning to Debug with CodeT5cited by 9
- 2024R2C2-Coder: Enhancing and Benchmarking Real-world Repository-level Code Completion Abilities of Code Large Language Modelscited by 9
- 2023Out of Context: How important is Local Context in Neural Program Repair?cited by 5
- 2022Can we learn from developer mistakes? Learning to localize and repair real bugs from real bug fixescited by 4
- 2023The Grand Illusion: The Myth of Software Portability and Implications for ML Progresscited by 3
- 2025Where's the Bug? Attention Probing for Scalable Fault Localizationcited by 3
- 2023Towards Automatically Addressing Self-Admitted Technical Debt: How Far Are We?cited by 1
- 2024Insights from Benchmarking Frontier Language Models on Web App Code Generationcited by 1
- 2026ExecRetrieval: Measuring the Functional-Correctness Gap in Code-Embedding Retrieval1 Sep 2026
- 2026Model See, Model Do? Exposure-Aware Evaluation of Bug-vs-Fix Preference in Code LLMs15 Jan 2026
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025Where's the Bug? Attention Probing for Scalable Fault Localization19 Feb 2025
- 2024Insights from Benchmarking Frontier Language Models on Web App Code Generation8 Sep 2024
- 2024R2C2-Coder: Enhancing and Benchmarking Real-world Repository-level Code Completion Abilities of Code Large Language Models3 Jun 2024
- 2023Out of Context: How important is Local Context in Neural Program Repair?8 Dec 2023
- 2023The Grand Illusion: The Myth of Software Portability and Implications for ML Progress12 Sep 2023
- 2023Towards Automatically Addressing Self-Admitted Technical Debt: How Far Are We?17 Aug 2023
- 2023RunBugRun -- An Executable Dataset for Automated Program Repair3 Apr 2023
- 2023Large Language Models and Simple, Stupid Bugs20 Mar 2023
- 2023Toward a Theory of Causation for Interpreting Neural Code Models7 Feb 2023
- 2023Large Language Models and Simple, Stupid Bugscited by 45
- 2023Toward a Theory of Causation for Interpreting Neural Code Modelscited by 12
- 2023RunBugRun -- An Executable Dataset for Automated Program Repaircited by 10
- 2022Detect-Localize-Repair: A Unified Framework for Learning to Debug with CodeT5cited by 9
- 2024R2C2-Coder: Enhancing and Benchmarking Real-world Repository-level Code Completion Abilities of Code Large Language Modelscited by 9
- 2023Out of Context: How important is Local Context in Neural Program Repair?cited by 5
- 2022Can we learn from developer mistakes? Learning to localize and repair real bugs from real bug fixescited by 4
- 2023The Grand Illusion: The Myth of Software Portability and Implications for ML Progresscited by 3
- 2025Where's the Bug? Attention Probing for Scalable Fault Localizationcited by 3
- 2023Towards Automatically Addressing Self-Admitted Technical Debt: How Far Are We?cited by 1
- 2024Insights from Benchmarking Frontier Language Models on Web App Code Generationcited by 1
- 2026Model See, Model Do? Exposure-Aware Evaluation of Bug-vs-Fix Preference in Code LLMscited by 1
- 2026Model See, Model Do? Exposure-Aware Evaluation of Bug-vs-Fix Preference in Code LLMs15 Jan 2026
- 2025Where's the Bug? Attention Probing for Scalable Fault Localization19 Feb 2025
- 2024Insights from Benchmarking Frontier Language Models on Web App Code Generation8 Sep 2024
- 2024R2C2-Coder: Enhancing and Benchmarking Real-world Repository-level Code Completion Abilities of Code Large Language Models3 Jun 2024
- 2023Out of Context: How important is Local Context in Neural Program Repair?8 Dec 2023
- 2023The Grand Illusion: The Myth of Software Portability and Implications for ML Progress12 Sep 2023
- 2023Towards Automatically Addressing Self-Admitted Technical Debt: How Far Are We?17 Aug 2023
- 2023RunBugRun -- An Executable Dataset for Automated Program Repair3 Apr 2023
- 2023Large Language Models and Simple, Stupid Bugs20 Mar 2023
- 2023Toward a Theory of Causation for Interpreting Neural Code Models7 Feb 2023
- 2022Detect-Localize-Repair: A Unified Framework for Learning to Debug with CodeT527 Nov 2022
- 2022Can we learn from developer mistakes? Learning to localize and repair real bugs from real bug fixes1 Jul 2022