Skip to main content
Loading navigation

Build and review the exercise

Prompt source

Implementation with evidence-linked review4 lines4 sectionsNo variables0 checklist items
Calculate a contractual cash sweep from annual cash flow and permitted deductions. Apply voluntary-prepayment credit once and cap the mandatory payment at outstanding principal. Export the calculation with deduction references.

Contract: Eligible cash equals max(operating cash minus permitted capex minus cash taxes, zero). Sweep 50%, then subtract eligible voluntary prepayments made in the same year. Cap payment at outstanding principal.

Use the attached inputs and dictionary. Show source records, calculation traces and unresolved cases. Return an export with stable record references.

Use the supplied fictional contract. Do not execute payments, trades, credit decisions or regulatory filings. Do not present results as legal, accounting or investment advice.