Project 03 Deployment Verification

A. Formula health
/formula/health.php
Expected: all Service, Database and Engine Map checks are OK.

B. Direct calculation
1. Open Deal with Product Terms READY.
2. New Calculation.
3. Verify Deal Terms badges on prefilled parameters.
4. Execute PREVIEW or UNDERWRITING.
5. Verify Run Detail opens.
6. Verify Golden status = PASSED.
7. Verify input source = DEAL_TERMS for mapped values.

C. Override
1. Change one Deal Terms sourced value.
2. Do not check Manual Override -> execution must be blocked.
3. Check Manual Override -> execution succeeds.
4. Run Detail must show USER_OVERRIDE + prior value.

D. Confirmation
1. Completed + Golden PASS run can be confirmed.
2. confirmed_flag becomes YES.
3. confirming actor is recorded by existing calculation_runs columns.

E. Scenario
1. Create scenario from a Run or Deal.
2. Edit one parameter.
3. Save scenario.
4. Execute UNDERWRITING.
5. Verify a new Calculation Run exists.

F. Comparison
1. Compare two Runs from the same Deal / engine.
2. Verify Input, Output and Waterfall differences.
3. Save comparison.
4. Reload it from Comparison History.

G. Sensitivity
1. Select a completed base Run.
2. Select a sensitivity-enabled parameter and output KPI.
3. Execute a small 3-5 point range.
4. Verify points and linked Calculation Runs display.

H. Deal integration
/deal/view.php?id=...
Expected Formula table:
- Golden status
- Confirmed status
- New Calculation
- Scenario Workspace
