Field notes

Field notes, 3 of 5

A hypothesis, written down before the test

Observation

BuildStoriesReviewers startedPer story
Maintenance, 17 November5204.0
The instrument11413.7
Follow-ups11353.2
Corrections8273.4
The control described below21733.5

I never set those numbers. The coding session decided how many reviewers each gate started, and when a second look was needed. It settled on about three and a half per story every time.

Two consequences follow. A Build’s token use is hard to predict. And the session doing the work is the one sending its own work out for review, then recording the verdict.

Hypothesis

Many of those reviewers are redundant. A security review of eleven small stories on one branch does not need eleven reviewers.

Acceptance review is different. Each story has its own criteria, and checking them is per-story work. But security and code quality are properties of the change as a whole. Eleven reviewers each reading a slice of one branch will repeat each other, and none of them sees how the slices meet.

The control I didn’t have

To test this I needed two things my workflow could not do.

  • Review depth set per gate. One reviewer per story, one per group of related stories, or one for the whole Build, chosen for each gate by a person.
  • Reviewers started by the workflow. Not by the session under review. Each sign-off names the reviewer run that produced it, so a session cannot certify its own work.

I built both. That Build was the largest I have measured: 21 stories, 66 points, $357 of tokens at list prices, $5.41 a point. It also added a third setting, the severity at or above which a review’s findings must be fixed. That one stays where it was for this test.

A review step before and after: the later one has a Reviewer scope setting and a separate Reviewer brief

Left: a review step as it was, with the reviewer described only in the words of the session’s brief. Right: the same kind of step now, with the reviewer’s scope as a setting and its brief kept apart from the session’s.

The setting for the test

GateBeforeFor the test
Acceptance reviewOne reviewer per storyOne reviewer per story
Compliance reviewOne check across the BuildUnchanged
Security reviewOne reviewer per storyOne reviewer for the Build
Code reviewOne reviewer per storyOne reviewer per group of related stories

Nothing else changes: the same workflow, the same fix threshold, the same kind of work, the same codebase.

Prediction

For a Build of 11 stories:

MeasureNowPredicted
Reviewers started per story3.5About 1.4
Reviewers’ share of the Build’s tokensAbout 40%About 25%
Tokens per story, at list pricesAbout $16About $13 to $14

I have assumed a reviewer that covers a whole Build reads more, and uses $5 to $12 where a per-story reviewer uses about $2.

What would prove me wrong

Fewer reviewers finding fewer serious problems. If critical and high findings fall along with the reviewer count, the saving is not a saving. I began counting findings before changing anything, so there is a before.

This is not about loosening review. It is about finding out how much of it is doing work.

Limits

  • The test is one Build. One Build can refute a prediction. It cannot confirm one.
  • Finding counts before the change are inflated by re-reviews, so the comparison on findings is rougher than the comparison on tokens.
  • I chose the settings and I am scoring the result.

Next

Results, whichever way they go.

Want this measured on your own team's work?