Introduction
In modern software engineering, issue trackers like Jira serve as the primary repository for project tasks, bug reports, and feature requests. However, the "issue type" field is frequently unreliable. Previous research indicates that up to 40% of issues may be mislabeled, often due to user error or developers bypassing quality gates. This lack of data integrity negatively impacts project velocity metrics and compromises "Mining Software Repositories" (MSR) research, leading to biased results in bug localization and defect prediction. This study investigates the feasibility of using state-of-the-art machine learning to distinguish between "true" bugs (functional deviations) and non-bug issues.
Methodology
The researchers evaluated several supervised learning models, identifying Facebook AI Research’s fastText as a top performer. A key innovation in their approach was the structural separation of issue data.
While traditional methods often concatenate the title and description, this study treated them as separate features. Titles are typically concise and high-signal, whereas descriptions are verbose and often contain noisy data like stack traces. By training separate models for each and averaging the results, the researchers prevented the high term frequency of descriptions from drowning out the specific keywords in titles. Additionally, the study utilized automated hyperparameter tuning via fastText’s "autotune" feature and tested domain-specific rules (e.g., identifying "NullPointerException"), though the latter provided minimal benefit over pure ML models.
Datasets and Experimental Setup
The study leveraged three distinct datasets to ensure robustness:
- TEST: 7,297 manually validated issues from five major projects (e.g., Lucene, Tomcat).
- CV (Cross-Validation): 11,154 manually validated bugs across 38 projects.
- UNVALIDATED: A massive "noisy" dataset comprising 607,636 Jira issues from 1,198 projects.
The inclusion of the unvalidated dataset allowed the authors to test if the sheer volume of data could compensate for the lack of manual cleaning. Results showed that training on large, unvalidated datasets produced models with very high recall, making "noisy" big data a viable path for finding the maximum number of bugs.
Key Results
The optimized model, Herbold2020-FTA, demonstrated significant predictive power. When classifying all incoming issues, it achieved an F1-score of 0.65. However, its performance improved dramatically when tasked with "correcting" issues already labeled as bugs, reaching an F1-score of 0.80. In practical simulations, the tool correctly identified 91.3% of actual bug-fixing commits while filtering out many false positives (such as feature additions) that typically skew repository data.
Discussion and Deployment Scenarios
The study highlights that while automated classification is feasible, the method of deployment is crucial for developer acceptance.
The authors suggest that "passive recommendations" (Scenario 4)—where the model suggests a type to the user—are preferable to "active" automated changes (Scenario 3). Automated changes that result in false positives can frustrate developers and lead to tool abandonment. Passive systems provide the benefits of AI assistance while keeping the human developer in the loop for final validation.
Conclusion
Automated prediction of bug vs. non-bug issues is a practical solution for maintaining data integrity in large-scale software projects. While the current models are highly effective, particularly in Java-based ecosystems, future work should explore transformer-based architectures like BERT and expand the research to include a more diverse range of programming languages and organizational cultures.
Summary updated