/** * The country–shape supply pass behind the retention table (HOLDOUT_AND_EVALUATION section 5.1): * count every combination's distinct groups per split under the current policy, * and register the combinations whose training remainder falls below the floor. */ import { type ShapeSupplyEntry, type ShapeSupplyRow, type SplitRetention } from "#utils/retention"; import { type CountryHoldout } from "#utils/split"; /** * Count every country–shape combination's distinct groups per split under the * given policy, without applying any retention. * * A group counts in the split the policy would give its row. * A group whose variants would straddle two splits counts in each, and the * record-ancestry audit of section 4.4 reports those separately. */ export declare function computeShapeSupply(rows: Iterable, opts?: { holdouts?: Record; trainedPlaces?: Record; }): ShapeSupplyEntry[]; /** * Register the combinations whose post-holdout training remainder falls below `floor` * (section 5.1's retention rule: every group of the combination stays in training, * and its held-out accuracy reports as unmeasured until independent evaluation data exists). */ export declare function splitRetentionFromSupply(supply: Iterable, floor: number): SplitRetention; //# sourceMappingURL=shape-supply.d.ts.map