Calculation catalog › Optimizer and comparisons
Optimizer candidate trailing estate amount
In the downloadable report's conversion-candidate table, how far a candidate that was not chosen trails the selected recommendation (or the calculated winner withheld pending account allocation) in after-tax estate improvement.
Field: Candidate's gap to the chosen schedule Unit: US dollars Basis: nominal dollars Computed by: UI-native Status: Complete chain
Appears in: report (Downloadable HTML report candidate table reason "Trailed the selected recommendation by $X." or "Trailed the calculated winner by $X; that winner was withheld pending account allocation.")
Calculation records
-
Conversion candidate: gap to the chosen schedule Formula record, justified by derivation
Purpose: How far a conversion schedule that was not chosen falls short of the chosen one in after-tax estate, as the downloadable report states it.
Statement: projection/candidateTrailingEstate.ts#candidateTrailingEstateAmount returns benchmark − the candidate's afterTaxEstateDelta when the benchmark is larger, and null otherwise. The benchmark (#tournamentEstateBenchmark) is the afterTaxEstateDelta of the full projection that validated the selected winner, or, when the calculated winner was withheld pending account allocation, of the one that validated that withheld winner; with neither (the plan's own strategy kept, or no winner) it is the largest of 0 and every candidate's afterTaxEstateDelta. The downloadable report prints the gap for a candidate that improved the estate by more than $1 and was not the winner, not vetoed and not held back by unpriced premium credits, as "Trailed the selected recommendation by $X", or "Trailed the calculated winner by $X" when that winner was withheld. A validated winner at +$48,000 puts candidates at +$42,500 and +$10,000 behind by $5,500 and $38,000, and one at +$48,700 does not trail; with a withheld winner at +$30,000, a candidate at +$12,000 trails by $18,000; with no validated winner, a candidate at +$600 trails the best one, at +$900, by $300. Units: nominal dollars at the plan's last year, the unit of every estate delta. Rounding: none; the report prints whole dollars.
Formula:
B = winner validation delta, else withheld winner validation delta, else max(0, d_1, …, d_n); gap_i = B − d_i when B > d_i, else none-
d_i: The candidate's ending after-tax estate minus the plan's own (afterTaxEstateDelta) (unit: usd, nominal at the plan's last year) (domain: finite) -
B: The estate improvement the candidates are measured against (unit: usd, nominal at the plan's last year) (domain: finite; at least 0 when no winner was validated)
Timing: once per candidate row of the report
Rounding: none
Limits:
- The gap is in after-tax estate whatever the objective ranked the schedules by; under another objective a candidate can have a larger estate than the winner, and then it does not trail at all.
- With no validated winner the benchmark is the best candidate, which was not selected, while the report still calls it "the selected recommendation"; the words are the report's, and on the example plans no row is printed that way.
Provenance: derived by
claude, implemented byclaude.Independent review:
codexGates (6 of 6 pass): fixture registers a test: pass; pins resolve: pass; families exist: pass; worksheet exists: pass; mutation receipt exists: pass; provenance independent: pass
Worksheet: optimizer-candidate-trailing-estate-amount.md Mutation receipt: optimizer-candidate-trailing-estate-amount.mutation.md
Evidence tests: candidateTrailingEstate.evidence.test.ts
Implemented in: candidateTrailingEstate.ts
Is the number of: optimizer-candidate-trailing-estate-amount
-
Transformations
- projection/candidateTrailingEstate.ts#candidateTrailingEstateAmount: benchmark − candidate.afterTaxEstateDelta when the benchmark is larger, else none, where #tournamentEstateBenchmark is the afterTaxEstateDelta of the winner's validation, else of the withheld winner's validation, else the largest of 0 and every candidate's afterTaxEstateDelta; reportHtml.ts#lossReasonForCandidate prints it.
The evidence links on this page (each record's worksheet, mutation receipt, evidence tests
and implementation, and the source links) are pinned to engine commit
2624dbdba9fd, committed 2026-10-11.
The live calculation index and
output-family census links point at the repository's main
branch, so you can check this snapshot against them.