2026-11-18·por Sijie Wang#cybernetics#engineering#testing

frequency-severity

Frequency and severity — how often, and how much each time

Total loss is a count times a size, and insurers model the two apart. In the collective risk model, NN is the number of claims in a period and XiX_i the cost of each:

S=∑i=1NXi,E[S]=E[N] E[X]S = \sum_{i=1}^{N} X_i, \qquad \mathbb{E}[S] = \mathbb{E}[N]\,\mathbb{E}[X] Var⁡(S)=E[N]Var⁡(X)+Var⁡(N) E[X]2\operatorname{Var}(S) = \mathbb{E}[N]\operatorname{Var}(X) + \operatorname{Var}(N)\,\mathbb{E}[X]^2

A pass rate is the frequency half only. It counts a reply that made the customer ask again and a reply that promised a refund the policy does not allow as one failure each.

A worked case

A published error analysis of 60 support replies counted failures by type. The counts are from that source. The costs are assumed here to show the method; they are not measurements.

Failure typeCount in 60 repliesAssumed cost eachExpected cost per 60 replies
Missing required fact15230
Unsupported claim1240480
Wrong section retrieved8216
Did not answer515
Wrong value260120
Over-promise1200200

By count, missing facts lead. By expected cost, unsupported claims are sixteen times larger, and the single over-promise outweighs all fifteen missing facts. A change that fixes the most common failure moves the pass rate most and the expected loss least.

What to do with it

  • Label the type of every failure, not only pass or fail. This is the error analysis a team should already be doing.
  • Attach a cost tier to each type. Three or four tiers are enough to start: an annoyance, a rework, money out, harm that money does not repair. The last tier does not go in the sum; it gets a gate (runtime-guardrails).
  • Report two numbers: failures per unit of exposure, and expected cost per unit of exposure (exposure-base).
  • Watch the variance, not only the mean. The second formula says a system with a few very costly failure types is risky even at a low count.

Up: actuarial-transfer · Next: rating-variables · Kin: extreme-value-tail · golden-set

Source: the collective risk model is standard, from memory. Failure counts from Makarevych, "Evals: how to know whether an AI system actually works" (2026-10-03); a reply can carry more than one label, so the counts do not sum to the number of failed replies. The cost column is assumed here.

sobre esta entrada

Una de las entradas de wiki de sijie. La IA en este sitio está anclada en el mismo corpus y responde en la voz de sijie, con citas que vuelven a entradas como esta — responder le cuesta dinero a sijie, así que espera detrás de un código: ingrese código de acceso →

frequency-severity — Sijie Wang