Portfolio Risk Dashboard
Lending & credit risk prototype

Portfolio Risk Analysis

Upload your lending policy document and customer portfolio to generate an executive risk dashboard. All processing happens in your browser — no files are sent to a server.

1. Lending Policy & Risk Guidance (PDF)

Used to surface key policy rules and thresholds referenced on the dashboard. Optional, but recommended.

2. Customer Portfolio (CSV)

Expected columns: CustomerID, CustomerName, Industry, CreditScore, RepaymentStatus, LoanBalance. Column names are matched flexibly.

How risk is scored

Risk Score = (40% × Credit Score Factor) + (40% × Repayment Status Factor) + (20% × Loan Balance Factor, capped at $500,000)

Customers are categorised Green (0–35), Amber (36–65), or Red (66–100).

To change weights or thresholds, edit src/lib/riskScoring.ts.