A dataset for identifying actionable feedback in collaborative software development

Benjamin S. Meyers, Nuthan Munaiah, Emily Prud'hommeaux, Andrew Meneely, Josephine Wolff, Cecilia Ovesdotter Alm, Pradeep K. MurukannaiahACL 2018

Abstract

In collaborative software engineering, code reviews are essential for maintaining quality, yet many reviewer comments are ignored or dismissed. This study introduces a massive dataset of 1.5 million comments from the Google Chromium project and a classifier designed to identify "actionable" feedback. By analyzing nine sophisticated linguistic features—including politeness, formality, and syntactic complexity—the researchers developed a model that predicts whether a comment will be acted upon with an AUC of 0.85. The findings suggest that the social and linguistic delivery of feedback is as critical as its technical content in ensuring developer response.

Introduction

Code reviews are a cornerstone of modern software engineering, yet their effectiveness is often hampered when developers overlook feedback. Previous attempts to understand comment "usefulness" relied on basic sentiment analysis or keyword matching, which lack the nuance of professional discourse. This research addresses the gap by identifying the specific linguistic characteristics—complexity, tone, and style—that distinguish a comment that prompts a "fix" from one that is ignored.

Methodology and Linguistic Features

The researchers framed the identification of actionable feedback as a binary classification task: "acted-upon" vs. "not acted-upon." They extracted nine linguistic features categorized into syntactic complexity, information content, style, and uncertainty.

Examples of linguistic features used to analyze code review comments from the Chromium dataset.

Key features included:

  • Syntactic Complexity: Measured via YNGVE and FRAZIER scores to assess cognitive load.
  • Information Content: Evaluated through Content Density (open-class vs. closed-class words) and Propositional Density (ideas per word).
  • Style and Tone: Models for Sentiment, Formality (formal vs. informal), and Politeness (based on Wikipedia and Stack Exchange interactions).
  • Uncertainty: Detection of "hedging" or investigative language (e.g., "I assume..." or "Did you check...?").

Dataset Construction

The study utilized two primary datasets derived from the Google Chromium project (2008–2016):

  1. The Full Dataset: A collection of over 1.5 million reviewer comments.
  2. The Labeled Dataset: A subset of 3,794 comments. "Acted-upon" comments (2,994) were identified via the "Done" button in the Rietveld code review tool, a metric verified to be 97% accurate through manual audit. "Not acted-upon" comments (800) were manually verified by inspecting codebases to confirm no changes were made in response to the feedback.

Key Results

The logistic regression classifier significantly outperformed baseline models that relied solely on token or sentence counts.

Performance metrics of the classifier across different feature sets, showing the superiority of the 'All' features model.

The best-performing model (using all linguistic features) achieved an AUC of 0.849. Recursive feature elimination revealed that Max Politeness, Propositional Density, and Formality were the most relevant predictors for discriminating between acted-upon and ignored comments. The model's high recall (0.926) indicates it is particularly effective at capturing actionable feedback without missing significant examples.

Discussion and Insights

The study's most striking finding is that "how" feedback is delivered often trumps "what" is being said. High-level discourse features like politeness and formality are primary drivers of whether a peer acts on advice. Additionally, actionable comments tend to be shorter, exhibit less uncertainty (less hedging), and have lower propositional density, suggesting that overloading a comment with too many distinct ideas can lead to it being ignored.

Conclusion and Future Work

While the "Done" button metric has limitations, the high accuracy of the classifier opens doors for tool integration. Future code review platforms could include "politeness and clarity" checks to flag comments likely to be ignored. Further research may explore reviewer personas and the application of these linguistic insights to other collaborative fields like legal or medical peer reviews.

Summary updated

BibTeX
@inproceedings{meyers2018dataset,
  author = {Benjamin S. Meyers and Nuthan Munaiah and Emily Prud'hommeaux and Andrew Meneely and Josephine Wolff and Cecilia Ovesdotter Alm and Pradeep K. Murukannaiah},
  title = {{A dataset for identifying actionable feedback in collaborative software development}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2018},
  doi = {10.18653/v1/p18-2021},
}
Figure