- Ya
- 26 Juni 2026, 18:54 UTC
- Mwandishi
- Kamo
- Ahadi ya
- 2cda79c
The investor margin layer — the "+ margin_schedule" term of §8.1 step-4 price assembly. - MlosMarginSchedule (mlos_margin_schedule): rateSheetVersionId FK, productId (null=all), marginType, loanAmountLow/High band, value (raw BigDecimal), compBasis (BORROWER_PAID|LENDER_PAID). - CompBasis enum — the comp BASIS convention (how margin is paid), NOT an LO comp-plan amount; LO comp is never a scoring input (doc 13 §8.5). - MarginScheduleResolver (ungated @Component): applicable(schedules, loanAmount, compBasis) = band contains amount (inclusive, null=open) AND comp matches; totalMargin = Σ values (ZERO if none). 5 MarginScheduleResolverTest green. Pricing numbers raw BigDecimal (Slice-3 correction). NO KamoInitializer code change (catalog repo pkg registered Slice 1; indexes entity-declared) — re-run only.