Systems and records
Engineering review disagreement dataset: 4,056 negative Gerrit votes
By SourceX Editorial · Updated
10 sections
Short answer
An engineering review disagreement dataset keeps every negative review with its reason, how it ended and what happened after merge. In Gerrit's own reviews of changes created 2017-2025, reviewers cast 4,056 negative votes and 95.5 percent came with written reasons; 465 of 1,991 merged changes with dissent went in while a no still stood or had been removed, and no submit record mentions one.
License terms
Engineering review
Key takeaways
- Keep the dissent as its own record: the vote, the reason, the blocking power, how it ended and the change's later outcome.
- Merged commits and submit records drop objections; in Gerrit's history every submit line reads OK, MAY or a rule name.
- Of 1,991 merged Gerrit changes with dissent, 1,526 saw it withdrawn, 425 outlasted it, 25 had it removed and 15 merged over a no on the shipped revision.
- Dissent did not predict reverts here: 0.9 percent of changes merged over unresolved dissent were reverted, against 1.3 percent with none.
- Label silent overrides apart: 8 of the 15 changes merged over a standing no have no written reply after the objection.
What is an engineering review disagreement dataset?
An engineering review disagreement dataset keeps every review that said no, the reason given, how the disagreement ended and what happened to the change afterwards. Its unit is the dissent, not the change: one change can carry several objections, and each one ends its own way, withdrawn after a revision, outlasted, overruled or vindicated by a later revert.
Most engineering datasets flatten this. A merged change is stored as accepted and an abandoned one as rejected, and the reviewer who objected to a change that merged anyway disappears. That reviewer is often the most informative person in the record, because the objection names a risk the approvers weighed and accepted, and the later history can show whether they were right to.
SourceX already publishes a guide to recording why a working patch was rejected and a buyer's guide to preference pairs built from review outcomes and reverts. This page covers the other side: dissent that did not stop the merge. It counts how one large public review history records that dissent, how it ended and whether it predicted reverts, and turns the result into a trace and an outcome rubric.
Where does a dissenting review survive after the merge?
Only in the review system's own history. The merged commit carries the code and its message, and the submit record lists the approvals that satisfied the project's rules; neither keeps the objection.
Gerrit stores its review metadata in git. Its NoteDb documentation says that code reviews are stored together with the code under review and that modifications to changes are stored as a sequence of git commits, automatically preserving the history of the metadata, while cautioning that meta refs may be rewritten. Gerrit's own project mirrors those refs publicly, so votes on changes going back to 2008 can be read with git: 55,274 changes and 891,525 metadata commits when fetched on October 27, 2026.
The submit record shows what is lost if only the final state is kept. Across all years, every Submitted-with line in that history reads OK (99,843 lines), MAY (76,839) or a rule name (12,019). None records a negative vote; the submit record names only the votes that satisfied each rule. GitHub keeps a different trace: dismissing a pull request review turns it into a review comment, and the person dismissing it must add a comment explaining why, which is posted to the conversation.
What 4,056 negative votes in Gerrit's own reviews show
Negative votes are uncommon, almost always explained, and far more common on changes that were later abandoned. In Gerrit's documentation, a -1 on the Code-Review label means the reviewer would prefer the change is not submitted as is but is willing to live with it if another reviewer accepts it, and does not block submit; a -2 means it shall not be submitted and blocks submit until the reviewer changes the vote.
For changes created from 2017 through 2025, a script read every Code-Review vote in the metadata history. Reviewers other than the change owner cast 4,056 negative votes, 276 of them -2, and none was posted by an automated process. 3,875 of the 4,056, or 95.5 percent, came with written text or at least one comment in the same update. A company archive may explain far fewer, which makes this history a useful ceiling for what a disagreement record can hold.
Dissent tracks abandonment. Of the 28,763 merged changes, 1,991 (6.9 percent) carried at least one dissenter; of the 4,920 abandoned changes, 802 (16.3 percent) did. Among changes that closed with dissent, 28.7 percent were abandoned, against 13.3 percent of those without. The window's totals:
| Gerrit changes created 2017-2025 | Count | Share or note |
|---|---|---|
| Changes in the window | 34,508 | 28,763 merged, 4,920 abandoned, 825 still open or other |
| Negative Code-Review votes by non-owners | 4,056 | 276 at -2; none posted by an automated process |
| Negative votes with a written reason | 3,875 | 95.5 percent of all negative votes |
| Merged changes with at least one dissenter | 1,991 | 6.9 percent of merged changes |
| Abandoned changes with at least one dissenter | 802 | 16.3 percent of abandoned changes |
| Changes that received a -2 | 249 | 107 merged, 137 abandoned |
How dissent ended in 1,991 merged changes
Most dissent ended with the dissenter changing the vote, but 465 merged changes went in while a dissenter's last word was still no or had been removed by someone else. Gerrit's project roles document sets the rules for that: maintainers approving a change may ignore -1 votes if there is a good reason, and in that case the reason should be clearly communicated on the change. A maintainer's -2 can be overruled by the engineering steering committee, which the project's process document says should happen only in exceptional situations after attempts to reach consensus have failed.
The record lets a buyer check whether the rule was followed. For each dissenter still negative or removed at merge, the script looked for any written text or comment from another person between the last negative vote and the merge. Someone answered in 7 of the 15 changes merged over a negative vote on the final revision, in 24 of the 25 where another account removed the vote, and in 389 of the 425 where the dissent sat on an earlier revision. The other 8 of 15 merged with no written word after the objection.
How dissent ended on the 1,991 merged changes, classified by each dissenter's last Code-Review vote before the merge:
| How the dissent ended | Merged changes | What the record shows | Answered in writing after the last no |
|---|---|---|---|
| Withdrawn: every dissenter later voted 0 or higher | 1,526 | The objection was resolved, usually by a revision | Not measured |
| Outlasted: last no sat on an earlier revision | 425 | The author revised; the dissenter never voted again | 389 of 425 |
| Removed: another account deleted the no | 25 | An override recorded as a vote deletion | 24 of 25 |
| Overruled: last no sat on the merged revision | 15 | Merged over a standing objection to the exact code that shipped | 7 of 15 |
Was the dissenter right? Reverts as one later outcome
In this project, no. Changes merged over unresolved dissent were reverted no more often than changes nobody objected to, though the counts are too small to say much more.
A change counts as reverted when a later merged change carries Gerrit's Revert-of field naming it, which appears in the project's metadata from 2017 on. By that rule, 335 of 26,772 merged changes without dissent were reverted (1.3 percent), 15 of 1,526 with withdrawn dissent (1.0 percent) and 4 of the 465 with dissent outlasted, removed or overruled (0.9 percent). A broader rule also counts a merged change titled Revert followed by a quoted subject when that subject is the first recorded subject of exactly one merged change in the whole history, merged before the revert; it raises the three rates to 1.7, 1.4 and 1.3 percent and leaves the order unchanged. That result depends on the reading: matching each change's final subject against exactly one earlier merged change gives 1.8, 2.3 and 1.5 percent (469, 35 and 7 reverts), and withdrawn dissent then has the highest rate. None of the 40 changes whose dissent was removed by another account or overruled on the merged revision was reverted under any of these readings.
Reverts are one outcome among several and a blunt one. A dissenter can be right about maintainability, naming or design without the change ever being reverted, and a project as careful as this one may simply act on good objections before merging. The result is a check a buyer should rerun on every supplier's history, not a law: in another codebase, outvoted dissent may predict trouble.
| Merged changes, created 2017-2025 | Changes | Reverted, Revert-of field | Reverted, field or unique first-subject match |
|---|---|---|---|
| No dissent | 26,772 | 335 (1.3%) | 447 (1.7%) |
| Dissent withdrawn | 1,526 | 15 (1.0%) | 21 (1.4%) |
| Dissent outlasted | 425 | 4 (0.9%) | 6 (1.4%) |
| Dissent removed or overruled | 40 | 0 (0.0%) | 0 (0.0%) |
Three disagreements the merged commit does not show
Each of the following is visible only in the review metadata; the commits that landed look like any uncontested change. Reviewers are not named here; the change numbers are public.
Change 224705, May 2019, which changed an acceptance-test helper to add a real file system only when cloning over ssh. One reviewer voted +2; 24 minutes later another reviewer voted -1 on the same revision with one inline comment, Move the instantiation in the if block?, marked unresolved. The change merged the next day with nothing written in between, and its submit record lists the +2 and the code style and verification votes. A minor objection, overruled in silence: exactly the case a disagreement dataset should label rather than drop.
Change 387837, adding support for JDK 20. In October 2023 a reviewer blocked it with a -2 and a comment: "It will take us a while at Google until we can switch the language version to 21, so unfortunately I have to block this change. I expect this to happen in 2024." The same reviewer voted -2 again in November 2024 on patch set 41. Approvals came on patch sets 43 and 44 in January 2025, and the change merged on January 27, 2025, with no withdrawal of the block on record. The dissent was tied to an outside constraint with a date; the record never says whether that constraint lifted, only that approvals came later.
Change 223472, May 2019, which documented project governance. A reviewer blocked it with a -2 and two unresolved comments, one arguing that it did "not feel like it clearly solves any specific obvious community problems or issues." Many reviewers voted +1, a second reviewer left a -1 on the final revision, and more than eight days after the block a third account removed the -2 and, after a run of +2 votes that morning, merged the change. The objection, the removal and the merge are all recorded, but only in the metadata.
The dissent trace: fields a disagreement record needs
Store each dissent as one record joined to its change, with the fields below. The Gerrit column shows where the public history keeps each one; a field that a supplier's system cannot fill should be marked unknown, not inferred.
| Field | What it holds | Where Gerrit keeps it | Company equivalent |
|---|---|---|---|
| Objection | Vote value, revision, timestamp and the reviewer's role | Label line in a metadata commit | Changes-requested review, Gerrit or Phabricator vote |
| Reason | The reviewer's text and inline comments, with resolved or unresolved state | Change message and comment notes | Review comments and threads |
| Blocking power | Whether the vote could block, under which rule | Label definition and project rules | Branch protection, code owner rules |
| Response | Revisions, replies and re-votes after the objection | Later metadata commits | Later commits and replies on the pull request |
| End state | Withdrawn, outlasted, removed, overruled, or blocked and abandoned | Derived from the last vote before merge | Review state at merge, dismissal events |
| Adjudicator | Who decided to merge or remove the vote, and their stated reason | Vote deletion and merge commits | Dismissal comment, approver, merge actor |
| Later outcome | Revert, follow-up fix, incident or nothing, within a stated window | Revert-of field on a later change | Revert commits, linked incidents, reopened tickets |
| Scope and privacy | Whether the thread names people or customers and may be shared | Not recorded | Rights and privacy review of review threads |
An outcome rubric, and the objection that most no votes are nits
The fair objection is that many negative votes are nits, and Gerrit's own definition supports it: a -1 says the reviewer can live with the change if someone else accepts it. Change 224705's objection was a single question about where to put one line. Treating every outvoted -1 as a warning would teach a model that approvers routinely ignore real risks, which this history does not show.
The answer is to label rather than drop. Severity comes from the reason text and from the vote's blocking power, not from the vote alone; a -2 with a dated external constraint and a -1 about placement are different records. Silence also needs a label: 8 of the 15 changes merged over a standing objection have no written reply after it, which is a different case from an objection answered and overruled. The rubric below keeps those distinctions.
Labels for each dissent, with what each can teach:
| Label | How to recognize it | Gerrit count, 2017-2025 | Use in training or evaluation |
|---|---|---|---|
| Withdrawn after revision | Dissenter later votes 0 or higher | 1,526 merged changes | Pairs of objection and fix for review-comment models |
| Outlasted | Last no on an earlier revision; no re-vote | 425 merged changes | Ask a model whether the revision answered the objection |
| Overruled with a reply | No stands at merge; someone answered in writing | 7 of 15 on the merged revision | Adjudication examples with both sides stated |
| Overruled in silence | No stands at merge; nothing written after it | 8 of 15 on the merged revision | Flag for review; weak as a label of either side |
| Removed by another account | A vote deletion by someone other than the dissenter | 25 merged changes | Explicit overrides with an actor and a time |
| Blocked and abandoned | Dissent present; the change never merged | 802 abandoned changes | Cases where the objection prevailed |
How a buyer would use disagreement records, and what to request
Disagreement records serve three uses. For an AI code reviewer, the objection and its reason are the target: given the diff, does the model raise the concern the human raised, including the ones that were overruled. For a reward model, outvoted dissent becomes a soft label rather than a clean rejected flag, weighted by the reviewer's blocking power and the reason's substance. For evaluation, the later-outcome field lets a buyer test whether objections predicted reverts or incidents in that codebase before trusting them as a signal.
Ask a supplier for the full review event history, not the review state at merge: every vote or review with its revision and timestamp, comment threads with resolution state, dismissal and vote-deletion events with their actors, and revert or incident links. Ask for the counts in the tables above as a sample check, especially the share of objections with written reasons and the number merged over a standing no.
SourceX finds such datasets for buyers on request instead of reselling a fixed catalog; the request form covers scope, volume, language, format, timing and licensing, and the dissent trace can go in as the acceptance test. Review threads name colleagues and sometimes customers, so identities are replaced with roles and the owning company clears rights and privacy before any thread leaves its systems.
Methods note: NoteDb refs, vote rules and revert matching
Data: refs/changes/*/meta of github.com/GerritCodeReview/gerrit, the public mirror of Gerrit's own project, fetched on October 27, 2026 into a bare repository with commit messages only (55,274 changes, 891,525 metadata commits). Scripts parse commit messages; no repository code was run, and account numbers are used in memory and never saved. Gerrit's documentation was read from a shallow clone of the same mirror at commit b865a81.
Rules: a change is one meta ref, read oldest first along first parents; its creation date is the author date of the first metadata commit, and the window is 2017-01-01 to 2025-12-31 (UTC dates). Merged means a Status: merged line; only votes in earlier commits count. A vote is a footer Label: Code-Review=value, cast by the commit author unless an account follows the value; Label: -Code-Review sets 0. Copied-Label lines are ignored. A dissenter is a non-owner with any negative vote; the final position is that account's last vote before merge. Classes, in precedence order: last no on the merged revision (the highest patch set number before merge); last event a deletion of the dissenter's no by another account; last no on an earlier revision; otherwise withdrawn.
Written text: message lines other than a Patch Set header holding only votes, comment counts, quoted lines starting with >, system lines such as Uploaded patch set, and Outdated Votes blocks, or at least one comment; commits tagged autogenerated never count. Answered means a commit by another account with such text between the dissenter's last negative vote and the merge. Reverted, strict: a merged change with Revert-of naming the change, merged later. Broad: strict, or a merged change whose first recorded subject is Revert followed by a quoted subject S, where S is the first recorded subject of exactly one merged change in the whole history, not only among earlier ones, and that change merged before the revert. Sensitivity, from an independent recount: matching final subjects against exactly one earlier merged change gives 469, 35 and 7 reverts (1.8, 2.3 and 1.5 percent). Percentages come from integers, rounded once, half up.
Not measured: inline comment text at scale (read only for the three cases), chat and mailing-list discussion, follow-up fixes other than reverts, and any company system. Revert-of is recorded only for reverts made through Gerrit's revert action. Scripts and outputs (gerrit_dissent.py, gerrit_summary.py, gerrit_summary_out.txt; gerrit_rows.json holds change numbers, dates, counts and classes, no names) are kept in the writer's scratch folder.
Frequently asked questions
What is an engineering review disagreement dataset?
It is a set of code review objections, each stored with its reason, the reviewer's blocking power, how the disagreement ended and what happened to the change later. It keeps dissent that was overruled or outlasted, which datasets built from merged and rejected flags lose.
Does a merged commit record that a reviewer objected?
Usually not. In Gerrit's own history every submit record reads OK, MAY or a rule name and none records a negative vote; the objection survives only in the review metadata. Ask a supplier for the review event history, not the state at merge.
How often do reviewers' objections get overruled?
In Gerrit's own project, 465 of 1,991 merged changes with dissent went in while a dissenter's last vote was still negative or had been deleted by someone else, and 15 of those over a negative vote on the exact revision that merged. Other projects will differ.
Do changes merged over objections get reverted more often?
Not in Gerrit's own history: 0.9 percent of changes merged with unresolved dissent were reverted, against 1.3 percent with no dissent, though the dissent group has only 4 reverts. A buyer should rerun the check on each supplier's history before treating dissent as a risk signal.
Should nit-level objections stay in the dataset?
Yes, labeled. Severity comes from the reason text and whether the vote could block. A -1 about where to place a line and a -2 tied to a platform constraint teach different things, and dropping the small ones hides how often objections are answered in silence.
Sources
- The NoteDb review metadata of Gerrit's own project, fetched from its public mirror on October 27, 2026, supplies every vote, class and revert count in this article. Source
- Gerrit's NoteDb stores code review metadata in git as a sequence of commits, preserving history, though meta refs may be rewritten. Source
- On Gerrit's Code-Review label a -1 means the reviewer prefers the change is not submitted as is and does not block submit, while a -2 blocks submit. Source
- Gerrit maintainers may ignore -1 votes for a good reason that should be clearly communicated on the change, and a maintainer's -2 can be overruled by the steering committee. Source
- Gerrit's steering committee may overrule votes from individual maintainers only in exceptional situations after attempts to reach consensus have failed. Source
- Dismissing a GitHub pull request review turns it into a review comment and requires a comment explaining why, added to the conversation. Source
Tell us what data you need
Share scope, volume, format, timing and licensing needs. Datasets are sourced on request.