RREWORK
← All frameworks
Productivity

The Criticality Ladder

Match testing rigour to what actually breaks if you are wrong

Difficulty
Moderate
Time to result
~weeks to results
Steps
5
Confidence
85%

Instead of a fixed test-coverage target or code-to-test ratio, this decision rule places each change on a ladder of criticality defined by the cost of failure — a mere inconvenience or aesthetic issue at the bottom, lost money in the middle, physical harm at the top. The required burden of proof rises with the rung, borrowing the legal distinction between preponderance of evidence and beyond reasonable doubt. Billing systems get more tests, more regimented tests and more reviews; a cosmetic fix gets a gut call and a quick deploy. The mechanism works because it forces an explicit statement of consequence before any process is chosen, which exposes both overkill and underkill. Confidence is deliberately kept as a felt judgement rather than a number, because a numerical scale invites mechanical compliance rather than thinking about context.

Origin

Extracted from REWORK, where David Heinemeier Hansson describes how 37signals decides how much testing and review a change needs, contrasting it with the industry habit of quoting test-coverage percentages and code-to-test ratios.

Core principles

  • 01Confidence is a judgement, not a coverage percentage
  • 02Ceremony should be proportionate to consequence
  • 03One process applied uniformly is simultaneously overkill and underkill
  • 04Reversibility lowers the required burden of proof
  • 05Rigour you cannot justify is demoralising, not safe

How to run it

  1. 1

    State the failure cost

    Before choosing any process, say plainly what happens if this change is wrong: a small annoyance, an aesthetic flaw, thousands of dollars lost, or someone getting hurt.

    Pro tip Say it out loud in the pull request description so the rigour choice is auditable.

  2. 2

    Place it on the ladder

    Assign the change a rung. Low rungs cover reversible, low-cost failures. High rungs cover money-losing or harmful failures such as billing systems.

    Pro tip Reversibility is the strongest discount: a bug you can fix in minutes rarely deserves top-rung ceremony.

  3. 3

    Set the burden of proof to match

    Choose the standard of evidence the way courts do — a contract dispute does not need the same certainty as a murder conviction. Higher rungs earn more tests and more reviews.

    Watch out Never invert this: high ceremony on trivial work trains people to treat all ceremony as noise.

  4. 4

    Deploy the proportionate ceremony

    Apply only the tests, reviews and gates the rung calls for. Regimented tests and multiple reviewers for the billing system; a gut-checked fix for the cosmetic issue.

    Pro tip Keep a short list of named high-rung systems so nobody has to guess.

    Watch out A single protocol applied everywhere is the most common and most expensive error.

  5. 5

    Calibrate against reality over time

    Watch what actually breaks and adjust your placements. Confidence is trained by exposure to consequences, not by hitting a coverage number.

    Pro tip New engineers should expect their calibration to be wrong at first and to over-test by default.

In the wild

QueenBee versus a cosmetic fix

37signals runs its billing through an internal system called QueenBee. Changes there sit high on the ladder: more tests, more regimented tests, and more reviews, because a fault costs real money. A minor fix elsewhere in the product sits far lower — the developer pushes it out on a gut call, accepting that if a bug appears it will be small and quickly fixable. The same team, the same week, deliberately runs two different levels of ceremony because the consequence of failure differs, not because one change is bigger than the other.

→ High-risk surfaces get proportionate protection while routine work still fits inside a six-week cycle.

The junior engineer's five-week two-week project

A new programmer joins and applies maximum safety to everything, writing exhaustive tests for trivial code. The work does not fit the six-week cycle and a two-week project stretches to five. The correction is not to test less in general but to gauge each change against its criticality, which lets the same engineer ship inside the cycle without lowering the standard where it matters.

→ Delivery pace recovers once rigour is allocated by consequence instead of applied uniformly.

Common mistakes

Treating coverage percentage as safety

A 90% coverage target or a three-to-one test-to-code ratio says nothing about whether the risky parts are protected. It measures volume, not consequence.

One protocol for everything

A single level of ceremony is overkill on trivial work and underkill where real money or safety is at stake, so it fails in both directions at once.

Turning confidence into a number

Scoring confidence one to five invites mechanical box-ticking. Keeping it a trained judgement forces engineers to actually weigh the context.

Is it for you?

Best for

Engineering teams shipping on fixed cycles who need a defensible way to vary testing depth per change.

Not ideal for

Domains such as medical devices or avionics where an external standard, not internal judgement, sets the minimum rigour.

From the transcript

“You should apply far less ultimate rigor to something where a problem is a mere inconvenience or even perhaps an aesthetic issue versus I am…”

David Heinemeier Hansson · 05:59

“the biggest error is to pick one protocol, one level of ceremony and just apply it to all of it”

David Heinemeier Hansson · 07:34

“It’s not a numerical scale. It doesn’t go like one to five. It’s again, it’s a gut feel.”

David Heinemeier Hansson · 08:28

From the episode

Seven Shipping Principles

→