Cap Trap Explorer
How this is built
The page contains no cap arithmetic of its own. Every ceiling, every allowed figure and every
line of working comes from computeCapSchedule() — a pure TypeScript function
compiled straight into this page, and the same function a golden test suite pins, to the cent,
against worked examples from the industry's published training material.
The three leases are synthetic, written for teaching and demonstration. Their clause language is industry boilerplate; their numbers are invented. No client lease, reconciliation or figure appears anywhere in this page — a build-time check deletes the build rather than publish one. Your own lease, typed in or opened from a workpaper, is read in this page and never sent anywhere: the page cannot open a network connection, and closing it forgets everything you did not save.
The engine fails loudly rather than approximately. Ask it to honour a lease term it cannot model and it refuses to produce a schedule at all, because a number that silently drops a clause is worse than no number.