EconomicsPattern 01 of 41

Three Costs

An attempt, a correct result and the establishing of correctness are three costs. Cheaper attempts lower the first. The second falls where something tells a good attempt from a bad one, and the third falls least unless evidence is made as cheap as candidates.

Kind
Principle
Stage
Across
Role
Factory designer
Evidence
Inferred
Entry
Abridged

This page is the abridged form. The full entry, with its reasoning, costs and evidence, is in preparation for the book The Engineering of Confidence.

Use when

You are judging what cheaper attempts really save.

In brief

Keep attempting, getting a correct result and establishing correctness apart. Build checks and evidence to be as cheap as candidates, since the third cost falls least otherwise.

Evidence

InferredSources support a mechanism or a neighbouring claim. The step to this pattern is the author’s.

Sources named: Brooks 1986; Parnas and Clements 1986; Boehm and Basili 2001.

Related patterns

Full entry

The full entry is in preparation for the book.

How to cite this page

Vibhor Mahajan. (2026). Three Costs. In Design Patterns for AI Software Factory. Last changed 2 December 2026. https://softwarefactorypatterns.com/patterns/three-costs/

In the manuscript: Chapter 1.