Skip to content
UPPER LAYER®

Case study · Loan self-assessment · Product Build

Borrower CopilotLoan self-assessment Case Study

A loan self-check for Indian borrowers: about nine adaptive questions, then a verdict, a safe amount next to the lender's number, a fair rate and an EMI ceiling, all computed in the browser.

Type
Built to a written brief
Role
Rules engine, design, frontend, deployment
Status
Live on Vercel
Service
Product Build
Last updated
Borrower Copilot browser home page: Know what you can safely borrow headline beside sample result card
Borrower Copilot mobile home screen with 3-minute loan self-check assessment button

The problem

A lender tells a borrower how much they can get, not how much they can safely repay, and the borrower usually walks into the branch with only the lender's number.

What I built

Borrower Copilot asks about nine questions that adapt to the borrower (a salaried employee isn't asked about ITRs or collateral) and runs the answers through a deterministic rules engine. It returns four outputs, each with a one-sentence reason, plus a Negotiation Card to show a lender. There is no login and no backend: every number is calculated in the browser.

Walkthrough

See it working

From the first question to the Negotiation Card, in one minute.

What it does

The features that matter

What it actually does, one feature at a time.

01

A clear verdict

Borrow, borrow less or don't borrow, with the reasons behind it.

02

Two different numbers

What a lender might sanction next to what your income can safely carry. The safe amount survives a 15% income drop, and collateral never raises it.

03

A fair rate, all in

A rate band for your profile, with each adjustment listed, plus the all-in cost (APR) once fees and GST are added.

04

An EMI ceiling

The monthly payment not to cross, a tenure table showing total interest, and one stress test.

05

Honest about gaps

“I'm not sure” is never treated as zero. Skipped answers lower the confidence and widen the ranges instead.

06

Negotiation Card

A one-screen summary with the amount, rate, EMI and tenure to ask for, ready to screenshot or copy before visiting a lender.

Under the hood

How it works

The part nobody sees, step by step.

01

Ask

A question engine picks the next question from 9 core and 14 adaptive ones, based on the answers so far.

02

Derive

Answers become stable income, essential costs, a credit tier and a product route, with unknowns kept separate from zeros.

03

Compute

Pure functions work out the confidence, the rate band and APR, the safe EMI, the safe amount, the lender's estimate and a stress test.

04

Explain

Each output gets a one-sentence reason built from the numbers actually used, and the results become the Negotiation Card.

Screens

Every screen, as shipped

Captured from the live product at borrower-copilot-one.vercel.app.

The site

What you get, how it works, sample borrowers to try, and what the tool is and isn't.

Borrower Copilot hero comparison: safe borrowing of ₹7.5L–₹9.5L versus lender offer of ₹21.5L–₹27.0L
The home page, with an example result
Borrower Copilot Four answers you can act on section comparing lender metrics to safe borrower targets
Four answers, and why the lender's number differs
Borrower Copilot three-step assessment guide illustrated with Priya, Ravi, and Anita user profiles
How it works, and three sample borrowers
Borrower Copilot privacy policy section highlighting browser-only calculations and no lender kickbacks
What it is, and what it isn't

Answer the questions

One question at a time. Unsure answers are allowed, and you can skip to a result once there's enough.

Borrower Copilot step 1 questionnaire asking What's the money for with loan purpose category pills
1. What the money is for
Borrower Copilot questionnaire step asking for monthly household expenses and living costs
2. Household costs, or “I'm not sure”
Borrower Copilot credit score question with 300 to 900 interactive rating slider
3. Credit score, if you know it
Borrower Copilot questionnaire step collecting existing loan EMI payments and debts
4. Existing loans, or skip to the result

Get the result

The sample borrower Ravi: four outputs, each with the numbers behind it, and a Negotiation Card.

Borrower Copilot verdict for Ravi advising secured loan with safe amount between ₹3.0L and ₹5.0L
The verdict and the safe amount
Borrower Copilot lender estimate breakdown and fair interest rate band from 10.8% to 15.0%
The lender's number, and a fair rate with its reasons
Borrower Copilot EMI ceiling of ₹11,500 per month with loan tenure comparison table and stress test
The EMI ceiling, tenure trade-off and stress test
Borrower Copilot Negotiation Card detailing safe borrowing terms and talking script for bank lenders
The Negotiation Card

On mobile

Built mobile-first: the same flow on a phone, shown here with the sample borrower Priya.

Borrower Copilot mobile landing page highlighting private, no-login borrowing assessment
Home
Borrower Copilot mobile result for Priya indicating high confidence safe borrowing recommendation
The result
Borrower Copilot mobile Negotiation Card for Priya with safe loan figures and bank talking points
The Negotiation Card

The stack

Frontend
Next.js 14 (static export) · React 18 · TypeScript · Tailwind CSS
Rules engine
Pure TypeScript functions · Config-driven thresholds · IRR-based APR
Testing
Vitest · Testing Library
Delivery
Vercel

The result

78

automated tests across the rules, the question engine and the UI, all passing; every threshold and rate is documented in RULES.md

Source: npm test on the repo's main branch, run 4 Oct 2026

Start a project

Tell me what needs to change

Share your product and the work you need. I'll help you find the right scope and next step.