# Price calculator equations

The source is the [historical interactive model](https://wabw.cje.io/2026-interactive-model.html). Its inputs, coefficients, target brackets and scenario presets are transcribed in `corpus/data/model-calibration.json`. Reference cases inherit the original defaults and apply only the listed overrides.

## Base bracket

The standard base endpoints are the target's low and high times the corresponding object factors times the buyer multiplier. The historical midpoint is retained in the computation for parity. The public output displays a range.

For defensive intelligence, let `cap = min(2,000,000, target midpoint)`. The two endpoints are `0.5 × cap × low object factor` and `1.2 × cap × high object factor`. The legacy midpoint uses `cap × midpoint object factor`. For access, the initial access broker uses `[500, 5,000, 50,000]` and the state-directed volume buyer uses `[10,000, 35,000, 75,000]`. Other valid combinations use the standard bracket. Disallowed combinations return no bracket.

## Adjustments

Let `s(x) = (50 - x) / 100`. Tolerance and resistance are buyer-specific.

- Maintenance is `1 + s(maintenance) × (0.6 if maintenance > 50, else 0.1) × (1 - 0.7 × tolerance)`.
- Decay is `1 + s(decay)`.
- Detection is `1 + 0.7 × s(detection)`.
- Substitution is `1 + s(substitution) × (1 - 0.7 × resistance)`.
- Conversion is `1 - 0.5 × s(conversion)`.
- Multiply those five terms and clamp to `[0.20, 2]` to get the force factor.
- The April calibration uses scalar AI multipliers of `1, 0.95, 0.55` for none, asymmetric and symmetric AI. The July calibration uses the per-object array in the calibration file.
- Geographic factors resolve to the Western constant, the PRC object multiplier or the Russian basis multiplier.
- Rediscovery is `clamp(1 - (rate - 12.7) × 0.025, 0.55, 1.25)`. Enter the rate in percentage points.
- Provenance multiplies by `1, 0.40, 0.10` for legitimate research, distressed sale and stolen material.
- Clamp year to `[2007, 2026]`. Starting at 2026, divide by `1.15` per year after 2020 and by `1.40` per year at or before 2020.

Multiply each base endpoint by the force, AI, geography, rediscovery, provenance and time factors. The displayed result rounds for readability. Validation mode overlays the current scenario on the complete price ledger. Its dots have different targets, terms and accounting boundaries.

The published default example has build-time claims. Live ranges, chart endpoints and assumption readouts are calculated or displayed in the browser with the current inputs. The range and chart endpoints link to the calculator method, which links to these equations.

The model mixes offer and sale anchors and makes an order-of-magnitude estimate. The shares and sensitivities describe the model assumptions. They are not measured cost shares or uncertainty bounds.
