Early Salary Loan System

byMilan Ajudiya

Early Salary Loan (Phase 1) AI Model Design Principles All classification models across this engagement follow the same architectural pattern: • Algorithm: Random Forest / Gradient Boosting Decision Tree (GBDT) • Output: Continuous probability score in [0, 1] range — not a binary label • Threshold system: Double-threshold (approve / uncertain / reject zones) • Accuracy metric: AUC-ROC (Area Under the Receiver Operating Characteristic Curve) • Uncertainty quantification: Configurable uncertain band between two thresholds Double-Threshold Decision Framework Every model outputs a score S ∈ [0, 1]. Two configurable thresholds (T_low and T_high) divide outcomes into three zones: Zone Score Range Decision Action AUTO-APPROVE S ≥ T_high Automatically approved Loan disbursed without human review UNCERTAIN T_low ≤ S < T_high Escalate to admin Human reviews and makes final call AUTO-REJECT S < T_low Automatically rejected Loan declined; notification sent Admin Control Panel — Features A web-based admin panel is delivered across all products with the following controls: • Real-time score distribution histogram — shows how many applicants fall in each zone • Adjustable T_low and T_high sliders with live AUC / expected repayment-rate preview • Daily/monthly budget caps with configurable auto vs. manual split • Warning banner when threshold changes significantly alter projected repayment rate • Audit log of all threshold changes with timestamp and admin identity 2A.1 Background & Objective This is a new greenfield product. The concept — commonly known as Earned Wage Access or Early Salary — enables salaried employees to borrow against their upcoming salary when they face a cash shortfall before payday. Key characteristics: • Target borrowers: salaried individuals who run out of funds before salary credit (typically 25th–30th of month) • Loan amount: up to 100% of monthly salary • Repayment: auto-deducted from incoming salary upon credit (typically 5th–10th of next month) • Revenue model: interest-based (unlike the hospital product) • The client will use the same CRM (new account/module) for case management Objective: Build the complete product from scratch — user-facing portal, ML-powered approval model with interest rate prediction, and admin dashboard. 2A.2 Scope of Work 2A.2.1 User-Facing Application Portal (Frontend) • Responsive web application (mobile-first) for loan applications • Application form fields (minimum required; extensible): ◦ Full name, mobile number, email ◦ Employer name, employment type (permanent / contractual), designation ◦ Monthly net salary, salary credit date ◦ Bank account details (for disbursement and auto-debit setup) ◦ Loan amount requested and purpose ◦ CIBIL score (self-declared; verified separately) ◦ Bank statement upload (last 3 months, PDF) ◦ Aadhaar / PAN for KYC • Real-time form validation and document upload with virus scanning • Application status tracker (submitted / under review / approved / rejected) • Loan agreement display and e-sign integration (DigiLocker or similar) • Disbursement status and repayment schedule view 2A.2.2 ML Approval & Interest Rate Model • Data sources: application form fields, CIBIL score, bank statement analysis, salary verification • Bank statement parser: extract monthly credits, debits, EMI patterns, minimum balance trends, bounce history • Feature engineering: debt-to-income ratio, salary consistency score, loan-to-salary ratio, employment tenure proxy • Model 1 — Approval Classifier: Random Forest / GBDT outputting probability score [0,1] with double-threshold framework • Model 2 — Interest Rate Regressor: Gradient Boosting Regressor predicting optimal interest rate (%) conditional on approval; rate higher for riskier profiles • Both models trained on synthetic seed data initially; retrained when live data accumulates • AUC-ROC curve stored per model version; admin panel shows repayment-rate projection at any threshold • Uncertainty quantification: cases in uncertain band surfaced to human reviewer with model confidence score 2A.2.3 CRM Integration • New CRM module / account setup for Early Salary product • Application data from portal flows into CRM on submission • AI service writes approval score, interest rate recommendation, and decision (auto/uncertain/reject) back to CRM • Approved cases: trigger disbursement workflow in CRM • Auto-debit mandate registration workflow (NACH/eNACH) triggered post-approval 2A.2.4 Admin Dashboard • All features from shared architecture (threshold controls, budget caps, score distribution, AUC preview, audit log) • Additional panels specific to Early Salary: ◦ Interest rate distribution chart across approved cases ◦ Salary verification status tracker ◦ Repayment schedule calendar with expected inflows ◦ Early warning list: borrowers with salary credit overdue by >2 days 2A.2.5 Testing & Deployment • Backend API unit + integration tests • Frontend cross-browser and mobile UAT • Model validation report (AUC, precision-recall, feature importance) • Security review: OWASP top-10 checklist for financial application • Production deployment with CI/CD pipeline • Monitoring: model performance dashboards, API uptime, error rate alerting 2A.3 Deliverables # Deliverable Format When 1 Product Requirements Document (PRD) PDF End of Week 2 2 UI/UX Wireframes & Prototype Figma / PDF End of Week 4 3 User Application Portal (Frontend) Web application End of Week 9 4 Bank Statement Parser Module Python service + docs End of Week 8 5 Approval Classifier Model + Model Card Artefact + PDF End of Week 10 6 Interest Rate Regressor Model + Card Artefact + PDF End of Week 10 7 AI Inference Service Deployed microservice End of Week 11 8 CRM Integration Layer Source code + deployment End of Week 12 9 Admin Dashboard Web application End of Week 13 10 Security Review Report PDF End of Week 14 11 Production Deployment & Runbook Live system + docs End of Week 16 2A.4 Timeline & Milestones Phase Activity Duration Phase 1 Requirements Gathering & PRD Weeks 1–2 (10 working days) Phase 2 UI/UX Design & Wireframing Weeks 3–4 (10 working days) Phase 3 Frontend Development (Application Portal) Weeks 5–9 (25 working days) Phase 4 Bank Statement Parser + Feature Engineering Weeks 5–8 (concurrent, 20 days) Phase 5 ML Model Development (Approval + Interest Rate) Weeks 9–10 (10 working days) Phase 6 AI Service + CRM Integration Weeks 11–12 (10 working days) Phase 7 Admin Dashboard Development Weeks 12–13 (10 working days) Phase 8 QA, Security Review, UAT Weeks 14–15 (10 working days) Phase 9 Production Deployment & Handover Week 16 (5 working days) TOTAL End-to-end Phase 1 delivery 16 Weeks (~80 working days) 2A.5 Assumptions & Dependencies • Client provides CRM credentials and API access in Week 1 • Client confirms preferred KYC/e-sign vendor (DigiLocker, Aadhaar eKYC, etc.) by Week 2 • NACH/eNACH mandate registration partner identified and integrated by client by Week 10 • Seed/synthetic dataset for initial model training approved by client • CIBIL API access (if required for live score fetch) procured by client • Cloud hosting, domain, and SSL provisioned by client 2A.6 Out of Scope • Native iOS / Android mobile application • Payroll system integration with employer HR software • Collection / recovery workflows (covered in Phase 2) • Regulatory compliance filing (RBI NBFC guidelines compliance is client's responsibility)  

LandingApplicationApplicationsDisbursementLoginRepaymentTrackerAuditLogDashboard
Landing

Comments (0)

No comments yet. Be the first!

Project Tasks

123 workspace tasks
#1

Implement Landing Hero for Landing

54s52.72 cr estimated
To Do
#2

Implement Landing Cityscape for Landing

70.3 cr estimated
Backlog
#3

Implement Landing Value Props for Landing

35.15 cr estimated
Backlog
#4

Implement Landing How It Works for Landing

52.72 cr estimated
Backlog
#5

Implement Landing Features for Landing

35.15 cr estimated
Backlog
#6

Implement Landing Trust for Landing

52.72 cr estimated
Backlog
#7

Implement Landing FAQ for Landing

17.57 cr estimated
Backlog
#8

Implement Landing CTA for Landing

52.72 cr estimated
Backlog
#9

Implement Navigation for Login

35.15 cr estimated
Backlog
#10

Implement Login Hero for Login

17.57 cr estimated
Backlog
#11

Implement Login Form for Login

52.72 cr estimated
Backlog
#12

Implement Login Security Trust for Login

17.57 cr estimated
Backlog
#13

Implement Footer for Login

35.15 cr estimated
Backlog
#14

Implement Navigation for Dashboard

17.57 cr estimated
Backlog
#15

Implement Dashboard Sidebar for Dashboard

35.15 cr estimated
Backlog
#16

Implement Dashboard Header for Dashboard

35.15 cr estimated
Backlog
#17

Implement Dashboard Metrics for Dashboard

35.15 cr estimated
Backlog
#18

Implement Dashboard Score Histogram for Dashboard

70.3 cr estimated
Backlog
#19

Implement Dashboard Threshold Controls for Dashboard

52.72 cr estimated
Backlog
#20

Implement Dashboard Rates Preview for Dashboard

70.3 cr estimated
Backlog
#21

Implement Dashboard Budget Config for Dashboard

52.72 cr estimated
Backlog
#22

Implement Dashboard Interest Distribution for Dashboard

70.3 cr estimated
Backlog
#23

Implement Dashboard Repayment Calendar for Dashboard

52.72 cr estimated
Backlog
#24

Implement Dashboard Audit Log for Dashboard

52.72 cr estimated
Backlog
#25

Implement Footer for Dashboard

17.57 cr estimated
Backlog
#26

Implement Applications Header for Applications

17.57 cr estimated
Backlog
#27

Implement Applications Filters for Applications

35.15 cr estimated
Backlog
#28

Implement Applications List for Applications

35.15 cr estimated
Backlog
#29

Implement Applications Detail for Applications

52.72 cr estimated
Backlog
#30

Implement Applications Actions for Applications

35.15 cr estimated
Backlog
#31

Implement Navigation for Audit Log

35.15 cr estimated
Backlog
#32

Implement Audit Log Header for Audit Log

17.57 cr estimated
Backlog
#33

Implement Audit Log Filters for Audit Log

35.15 cr estimated
Backlog
#34

Implement Audit Log Table for Audit Log

70.3 cr estimated
Backlog
#35

Implement Audit Log Pagination for Audit Log

35.15 cr estimated
Backlog
#36

Implement Audit Log Details for Audit Log

52.72 cr estimated
Backlog
#37

Implement Footer for Audit Log

17.57 cr estimated
Backlog
#38

Implement Navigation for Application

35.15 cr estimated
Backlog
#39

Implement Application Sidebar for Application

35.15 cr estimated
Backlog
#40

Implement Application Welcome Banner for Application

17.57 cr estimated
Backlog
#41

Implement Application Status Cards for Application

52.72 cr estimated
Backlog
#42

Implement Application Loan Details for Application

17.57 cr estimated
Backlog
#43

Implement Application Document Upload for Application

70.3 cr estimated
Backlog
#44

Implement Application Loan Agreement for Application

35.15 cr estimated
Backlog
#45

Implement Application Disbursement for Application

70.3 cr estimated
Backlog
#46

Implement Application Repayment Schedule for Application

52.72 cr estimated
Backlog
#47

Implement Footer for Application

17.57 cr estimated
Backlog
#48

Implement Navigation for Tracker

17.57 cr estimated
Backlog
#49

Implement Sidebar for Tracker

35.15 cr estimated
Backlog
#50

Implement Tracker Header for Tracker

17.57 cr estimated
Backlog
#51

Implement Tracker Status Summary for Tracker

35.15 cr estimated
Backlog
#52

Implement Tracker Timeline for Tracker

70.3 cr estimated
Backlog
#53

Implement Tracker Document Upload for Tracker

52.72 cr estimated
Backlog
#54

Implement Tracker Milestones for Tracker

35.15 cr estimated
Backlog
#55

Implement Tracker Next Steps for Tracker

35.15 cr estimated
Backlog
#56

Implement Footer for Tracker

17.57 cr estimated
Backlog
#57

Implement Navigation for Agreement

17.57 cr estimated
Backlog
#58

Implement Agreement Header for Agreement

17.57 cr estimated
Backlog
#59

Implement Agreement Terms And Conditions for Agreement

52.72 cr estimated
Backlog
#60

Implement Agreement Loan Details for Agreement

35.15 cr estimated
Backlog
#61

Implement Agreement Repayment Schedule for Agreement

35.15 cr estimated
Backlog
#62

Implement Agreement Fees for Agreement

17.57 cr estimated
Backlog
#63

Implement Agreement Risks And Disclosures for Agreement

35.15 cr estimated
Backlog
#64

Implement Agreement Consent for Agreement

52.72 cr estimated
Backlog
#65

Implement Agreement Signature for Agreement

52.72 cr estimated
Backlog
#66

Implement Agreement Actions for Agreement

35.15 cr estimated
Backlog
#67

Implement Footer for Agreement

17.57 cr estimated
Backlog
#68

Implement Navigation for Disbursement

17.57 cr estimated
Backlog
#69

Implement Disbursement Header for Disbursement

52.72 cr estimated
Backlog
#70

Implement Disbursement Status Card for Disbursement

70.3 cr estimated
Backlog
#71

Implement Disbursement Timeline for Disbursement

70.3 cr estimated
Backlog
#72

Implement Disbursement Breakdown for Disbursement

35.15 cr estimated
Backlog
#73

Implement Disbursement Repayment Schedule for Disbursement

87.87 cr estimated
Backlog
#74

Implement Disbursement Documents for Disbursement

35.15 cr estimated
Backlog
#75

Implement Disbursement Support CTA for Disbursement

52.72 cr estimated
Backlog
#76

Implement Footer for Disbursement

17.57 cr estimated
Backlog
#77

Implement Navigation for Repayment

17.57 cr estimated
Backlog
#78

Implement Repayment Header for Repayment

17.57 cr estimated
Backlog
#79

Implement Repayment Status Banner for Repayment

52.72 cr estimated
Backlog
#80

Implement Repayment Summary Cards for Repayment

17.57 cr estimated
Backlog
#81

Implement Repayment Schedule Table for Repayment

52.72 cr estimated
Backlog
#82

Implement Repayment Timeline for Repayment

70.3 cr estimated
Backlog
#83

Implement Repayment Payment Methods for Repayment

52.72 cr estimated
Backlog
#84

Implement Repayment Documents for Repayment

52.72 cr estimated
Backlog
#85

Implement Repayment Support for Repayment

35.15 cr estimated
Backlog
#86

Implement Footer for Repayment

17.57 cr estimated
Backlog
#87

Auth API & JWT Middleware

83.92 cr estimated
Backlog
#88

Loan Application CRUD API

95.9 cr estimated
Backlog
#89

Document Upload & Virus Scan API

83.92 cr estimated
Backlog
#90

Application Tracker Status API

59.94 cr estimated
Backlog
#91

Loan Agreement & E-Sign API

83.92 cr estimated
Backlog
#92

Disbursement & NACH API

83.92 cr estimated
Backlog
#93

Repayment Schedule & Payment API

83.92 cr estimated
Backlog
#94

Borrower Dashboard Summary API

71.93 cr estimated
Backlog
#95

Admin Dashboard Metrics API

83.92 cr estimated
Backlog
#96

Threshold Control & Budget API

83.92 cr estimated
Backlog
#97

Admin Application Detail API

83.92 cr estimated
Backlog
#98

Database Models & Migrations

71.93 cr estimated
Backlog
#99

Bank Statement Parser Service

107.89 cr estimated
Backlog
#100

ML Approval Classifier Model

119.88 cr estimated
Backlog
#101

Interest Rate Regressor Model

107.89 cr estimated
Backlog
#102

AI Inference Microservice Deploy

95.9 cr estimated
Backlog
#103

CRM Integration Layer

83.92 cr estimated
Backlog
#104

Design System & Theme Setup

105.44 cr estimated
Backlog
#105

Global State Management Setup

88.13 cr estimated
Backlog
#106

CI/CD Pipeline Configuration

48.75 cr estimated
Backlog
#107

Monitoring & Alerting Setup

48.75 cr estimated
Backlog
#108

Integrate Login Auth Flow

80 cr estimated
Backlog
#109

Integrate Loan Application Submit

100 cr estimated
Backlog
#110

Integrate Application Tracker

80 cr estimated
Backlog
#111

Integrate Agreement E-Sign Flow

100 cr estimated
Backlog
#112

Integrate Disbursement Status Page

100 cr estimated
Backlog
#113

Integrate Repayment Schedule Page

100 cr estimated
Backlog
#114

Integrate Admin Dashboard Metrics

100 cr estimated
Backlog
#115

Integrate Threshold & Budget Controls

100 cr estimated
Backlog
#116

Integrate Admin Application Detail

120 cr estimated
Backlog
#117

Integrate Applications List & Filters

100 cr estimated
Backlog
#118

Integrate Bank Statement Parser & ML

140 cr estimated
Backlog
#119

Implement Application Loan Details for Application

52.72 cr estimated
Backlog
#120

Implement Application Document Upload for Application

52.72 cr estimated
Backlog
#121

Implement Application Loan Agreement for Application

35.15 cr estimated
Backlog
#122

Implement Application Disbursement for Application

35.15 cr estimated
Backlog
#123

Implement Application Repayment Schedule for Application

70.3 cr estimated
Backlog
Landing design preview
Login: Sign In
Dashboard: View Overview
Applications: Browse List
Application: Review Details
Application: AI Score Review
Application: Manual Override
Application: Verify Documents
AuditLog: View Changes
AuditLog: Adjust Thresholds
AuditLog: Set Budget Caps
AuditLog: Preview Impact
Landing design preview
Login: Sign In
Dashboard: View Overview
Applications: Browse List
Application: Review Details
Application: AI Score Review
Application: Manual Override
Application: Verify Documents
AuditLog: View Changes
AuditLog: Adjust Thresholds
AuditLog: Set Budget Caps
AuditLog: Preview Impact