Skip to main content
QUICK REVIEW

[Paper Review] Better Predictors for Issue Lifetime

Mitch Rees-Jones, Matthew Martin|arXiv (Cornell University)|Feb 24, 2017
Software Engineering ResearchComputer Science11 references12 citations
TL;DR

This paper proposes a simple, interpretable method for predicting issue lifetime in software projects using correlation feature selection (CFS) and small decision trees, achieving high precision (median 71%) and low false alarms (median 13%), outperforming prior work. It further demonstrates that cross-project data—without complex transfer learning adjustments—can serve as a robust default for training effective predictors.

ABSTRACT

Predicting issue lifetime can help software developers, managers, and stakeholders effectively prioritize work, allocate development resources, and better understand project timelines. Progress had been made on this prediction problem, but prior work has reported low precision and high false alarms. The latest results also use complex models such as random forests that detract from their readability. We solve both issues by using small, readable decision trees (under 20 lines long) and correlation feature selection to predict issue lifetime, achieving high precision and low false alarms (medians of 71% and 13% respectively). We also address the problem of high class imbalance within issue datasets - when local data fails to train a good model, we show that cross-project data can be used in place of the local data. In fact, cross-project data works so well that we argue it should be the default approach for learning predictors for issue lifetime.

Motivation & Objective

  • To improve precision and reduce false alarms in issue lifetime prediction, addressing limitations in prior work that used complex models like random forests.
  • To develop interpretable, human-readable predictors for issue lifetime, enabling better adoption by developers and managers.
  • To investigate whether cross-project data can effectively replace local data when local models fail due to poor performance or data scarcity.
  • To evaluate the effectiveness of simple, lightweight models (e.g., single decision trees) versus complex models (e.g., random forests) in this prediction task.
  • To assess whether transfer learning in issue lifetime prediction requires complex data adjustments, or if simple cross-project transfer works effectively.

Proposed method

  • Feature selection via Correlation Feature Selection (CFS) to identify the most predictive, non-reduundant features from issue metadata and contextual data.
  • Training of single decision tree models (using C4.5) on selected features to ensure model interpretability and simplicity.
  • Application of round-robin cross-project learning, where models are trained on data from other projects and tested on the target project.
  • Use of a binary classification approach with N thresholds (N=5) to predict whether an issue will close before or after a given time window.
  • Avoidance of temporal data leakage by using only static features available at issue creation time.
  • Evaluation of model performance using precision, recall, and false alarm rates, with cross-validation and round-robin testing.

Experimental results

Research questions

  • RQ1Can a simple, interpretable model using CFS and decision trees achieve higher precision and lower false alarm rates than prior work using random forests?
  • RQ2Does cross-project learning—without data adjustments—yield better or comparable performance than local learning, especially when local data fails?
  • RQ3Are contextual features alone sufficient for accurate issue lifetime prediction, or are code-level metrics necessary?
  • RQ4Can a lightweight model with fewer than 20 lines of code be both highly accurate and easily explainable to stakeholders?
  • RQ5Is transfer learning for issue lifetime prediction as simple as transferring raw data across projects, without complex filtering or transformation?

Key findings

  • The proposed method achieved a median precision of 71% and median false alarm rate of 13%, significantly outperforming prior work that reported precisions under 25% and false alarms over 60%.
  • Cross-project learning consistently outperformed local learning, with effective predictions even in cases where local models failed (e.g., cocoon, hadoop, hive, kafka, node, ofbiz, qpid).
  • The use of CFS for feature selection improved model performance across all datasets, with different features selected per project, indicating no universal best feature set.
  • Simple decision trees (under 20 lines) trained with CFS-processed features were highly interpretable and more effective than complex models like random forests.
  • Cross-project data worked so well that the authors argue it should be the default approach for training issue lifetime predictors, even without data adjustments like relevancy filtering or dimensionality transformation.
  • The study found that contextual features—such as issue body length and commit patterns—were sufficient for high-accuracy predictions, with minimal need for static code metrics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.