CIRI

Constitutional Integrity ROI Engine — calculates total recovery value, CIRI index, ROI per case, and human-readable recovery buckets.

What CIRI Does

CIRI calculates the modeled economic recovery created when constitutional alignment is restored.

divergence detected
→ recovery inputs
→ recovery buckets
→ total recovery value R_T
→ CIRI index
→ ROI per case
→ CIBS allocation

Plain language: CIRI answers, “What is it worth to fix the drift?”

Run CIRI

CIRI can read ciri/inputs.csv, stored Intake data, or manual values entered below.

Waiting to run.

Live CIRI KPIs

Modeled Recovery R_T
Total recovery value
CIRI Index
1 − e^(-R_T / K)
ROI Per Case
R_T / cases avoided
Cases Avoided
Prevented enforcement actions
Jail Days Avoided
Prevented incarceration days
Risk Class
Recovery pressure classification

Plain-Language Result

Run CIRI to generate a readable recovery explanation.

Recovery Buckets

Bucket Formula Value Plain Meaning
No CIRI output loaded.

Manual Inputs

cases_avoided
avg_cost_per_case
jail_days_avoided
cost_per_jail_day
fees_canceled_total
policy_corrections
avg_enforcement_cost_savings
households_restored
avg_monthly_market_spend
months_effective
employment_probability
avg_monthly_wage
expected_lawsuits
avg_payout
litigation_multiplier
transition_costs_one_time
K normalization constant

CIRI Variable Glossary

R_T is the total recovery value. It flows from CIRI into CIBS, CII, Integration, Macro, RT, and AFFE.

R_T =
direct_case
+ detention
+ fees
+ enforcement
+ market_access
+ employment
+ litigation
− transition_costs

This keeps the math understandable: every recovery number comes from a bucket that can be inspected.

Where CIRI Sits In The Closed Loop

INTAKE
→ CAE
→ CDA
→ CDI
→ CIRI
→ CIBS
→ CII
→ INTEGRATION
→ MACRO
→ RT
→ CFF
→ CCRI
→ AFFE

CIRI runs after CDI because divergence must be measured before recovery value can be calculated.

Advanced CIRI JSON