Preserve documented turnover corrections in PEC viability estimates
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-11-11 10:55:53 +02:00
parent a2033dd4a0
commit 8f295f0551
15 changed files with 618 additions and 15 deletions
@@ -1,3 +1,4 @@
import {pecCorrectionVersion} from './irpc-pec-correction.ts';
import {pecPlanVersion} from './irpc-pec-plan.ts';
import {validatePecObligation,pecObligationReport,pecObligationVersion,type PecObligation} from './irpc-pec-obligation.ts';
import { validatePpcObligation, ppcObligationReport, ppcObligationVersion, type PpcObligation } from './irpc-ppc-obligation.ts';
@@ -575,6 +576,7 @@ function key(d: Record<string, unknown>, b: AnnualBook) {
...(b.ppcObligation ? [ppcObligationVersion] : []),
...(b.pecObligation ? [pecObligationVersion] : []),
...(b.pecObligation?.plan ? [pecPlanVersion] : []),
...(b.pecObligation?.correction ? [pecCorrectionVersion] : []),
...(b.investmentCredit && b.creditCarry?.lots.length
? ['CBF15-credit-carry-combination/1']
: []),