How pmkaulani/sha-pmt-reform works
SHA PMT v2.1 is presented as an interactive MVP for assessing household contributions with an AGI means-testing model, alongside fraud-risk analysis and revenue projections. A household enters information in the web app; the model is intended to produce an adjusted assessment, indigent classification, and explainable factors. The sampled code confirms the React entry point, a revenue stress-test call, and MSISDN hashing, but not the app’s full assessment wiring. Other documented capabilities are shown without asserting unsampled call paths; external data integrations are optional and dashed.
Main entry points: AlgorithmSimulation.js AGI calculation · App.jsx Assessment interface · main.jsx React entry · hash.js MSISDN hashing
Components 14
Web MVP
- Assessment interface
sha-mvp/src/App.jsx - React entry
sha-mvp/src/main.jsx
Assessment Model
- AGI calculation
sha-mvp/src/lib/AlgorithmSimulation.js - Fairness deductions
sha-mvp/src/lib/AlgorithmSimulation.js - Indigent classification
sha-mvp/src/lib/AlgorithmSimulation.js - Fraud flags
sha-mvp/src/lib/AlgorithmSimulation.js - Signal triangulation
sha-mvp/src/lib/AlgorithmSimulation.js - Audit record
sha-mvp/src/lib/AlgorithmSimulation.js - MSISDN hashing
sha-mvp/src/lib/hash.js
Risk And Impact
- Assessment factors
sha-mvp/src/lib/AlgorithmSimulation.js - Revenue stress test
sha-mvp/src/lib/AlgorithmSimulation.js
Other components
- Household user
- Verification sources
- MNO signals
Connections 13
- Household user → React entry: opens app
- React entry → Assessment interface: renders
- Household user → Assessment interface: enters details
- Assessment interface → Revenue stress test: runs stress test
- Assessment interface → AGI calculation: submits assessment
- AGI calculation → Fairness deductions: applies adjustments
- AGI calculation → Indigent classification: classifies eligibility
- AGI calculation → Fraud flags: checks risk flags
- AGI calculation → Assessment factors: returns factors
- AGI calculation → Audit record: creates record
- Audit record → MSISDN hashing: hashes identifier
- Verification sources → Signal triangulation: provides signals
- MNO signals → Signal triangulation: provides signals