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.

A portfolio CSV is required to run an analysis.

How risk is scored

Risk Score = (Credit Risk Weight × Credit Score Factor) + (Repayment Risk Weight × Repayment Status Factor) + (Exposure Weight × Loan Balance Factor)

Weights

  • Credit risk40%
  • Repayment risk40%
  • Exposure20%

Credit score is normalised across the 300–850 bureau range (lower score = higher risk). Repayment status maps to a risk factor from Current (0) through to Default (100). Exposure is measured against a cap of $500,000, so size signals materiality without dominating the score.

Categories

  • Green (Low Risk)0 – 35
  • Amber (Medium Risk)36 – 65
  • Red (High Risk)66 – 100

To change any weight or threshold, edit src/lib/riskScoring.ts — it is the only file that defines scoring behaviour.