CREDIT · GUARANTEES
GuarantorGraphv2
Guarantor risk engine
Reference guarantor risk engine for SACCOs and small lenders. assess() is a pure dry-run; commit() re-validates and is idempotent. Tracks per-loan guarantee records, merges duplicate guarantors, rejects self-guarantees, and uses bounded shortest-path cycle search. Outcomes: APPROVED / REFERRED / REJECTED. Pack includes FastAPI sidecar wiring and Postgres-oriented schema_v2.sql.
THE PROBLEM IT ADDRESSES
Group lending creates hidden cycles and over-concentration of guarantor exposure. Approving without a graph view understates risk; rejecting without referral paths blocks legitimate committee overrides.
How it works
- 01assess() dry-runs capacity, cycles, and contagion — no state mutation.
- 02commit() re-validates and writes per-loan guarantee edges idempotently.
- 03Capacity uses gross outstanding guarantees vs free deposits (PD-weighted EL as a secondary signal).
- 04Outcomes: APPROVED, REFERRED (maker-checker), or REJECTED (not overridable here).
Inputs
- ·Member deposits, encumbrances, PD, insider flag
- ·Loan id, borrower, amount, guarantor list
- ·Policy ratios: exposure, expected loss, cycle lengths
- ·Optional maker/checker override payload for referrals
Outputs
- ·Decision: APPROVED / REFERRED / REJECTED
- ·All findings (fails closed — not first-error only)
- ·Updated exposure graph + contagion stress view
- ·Audit trail entries (schema_v2.sql for persistence)
Capabilities in a scoped build
LIMITATIONS · READ BEFORE ENGAGING
- ·Requires NetworkX (and FastAPI/Pydantic for the sidecar).
- ·Demo API uses in-memory tenants — hydrate from Postgres in production.
- ·Reference pack only — calibrate Policy() per SACCO, do not treat defaults as universal.
VIDEO PREVIEW
See GuarantorGraph in action
Demo video coming soon
A walkthrough of GuarantorGraph will appear here. Meanwhile, request details or book a desk session below.
NEXT STEP
Request details or arrange a meeting
Source packs are not available for public download. Tell us about your institution and we will share a scoped overview, or book an architecture review.
Prefer the contact form? Contact desk
OTHER ARCHITECTURE PREVIEWS
DEPOSITS · RETENTION
SpreadShield v2
Optimises deposit retention offers from churn probability, market rates, and replacement cost — expected-value savings, not a hard-coded rate.
View detailsPAYMENTS · RECONCILIATION
ReconGuard v2
Two-phase initiate/callback reconciliation for mobile-money and card switches — HMAC authenticity, idempotent retries, and per-txn variance checks.
View details