How mynameanonim43-ship-it/de-core-credit-decision-engine-dashboard- works
Vantage is a browser-based credit decision and post-disbursement monitoring platform. Credit staff enter or edit an application in the analysis screen, which persists borrower records; the documented engine evaluates eligibility, weighted scores, benchmark gaps and safe loan sizing. Portfolio, borrower-list, detail and settings screens provide review and configuration. The app dispatches screens, while detail-screen EWS updates are judged and saved. README capabilities are included where source wiring is not shown; those uncertain connections are intentionally omitted.
Main entry points: app.js App router · store.js Borrower store · detail.js Borrower detail · scoring.js Pillar scoring
Components 17
Credit Workflow
- App router
src/app.js - Credit analysis
src/screens/analysis.js - Borrower directory
src/screens/borrowers.js - Borrower detail
src/screens/detail.js
Decision Engine
- Pillar scoring
src/core/scoring.js - Financial ratios
src/core/ratios.js - Eligibility decision
src/core/eligibility.js - Benchmark gap
src/core/gap.js - Safe loan sizing
src/core/nominal.js - Dynamic weights
src/core/weights.js
Portfolio Monitoring
- Portfolio dashboard
src/screens/dashboard.js - EWS evaluation
src/core/ews-monitor.js
Data and Configuration
- Sector benchmarks
src/data/benchmark.js - Platform settings
src/screens/settings.js - Borrower store
src/data/store.js
Other components
- Credit staff
- Browser localStorage
Connections 17
- Credit staff → App router: uses screens
- App router → Credit analysis: renders
- App router → Borrower directory: renders
- App router → Borrower detail: renders
- App router → Portfolio dashboard: renders
- App router → Platform settings: renders
- Credit analysis → Borrower store: reads and saves
- Borrower directory → Borrower store: reads borrowers
- Portfolio dashboard → Borrower store: reads borrowers
- Borrower detail → Borrower store: reads and saves
- Borrower detail → EWS evaluation: requests judgement
- EWS evaluation → Borrower detail: returns judgement
- Platform settings → Borrower store: reads and saves
- Borrower store → Browser localStorage: persists data
- Pillar scoring → Dynamic weights: uses weights
- Pillar scoring → Sector benchmarks: reads benchmarks
- Eligibility decision → Benchmark gap: checks override