+91 98726 60544 hello@mitstech.co Mon–Sat · 09:00–18:30 IST

Designing a credit decisioning engine

Data & AI By Mits Engineering Team 3 min read
Designing a credit decisioning engine

A credit decisioning engine looks from the outside like a model that outputs a score. In practice the model is a modest component inside a system whose real requirements are explainability, auditability and the ability to change policy safely. Teams that build the model first and the surrounding machinery afterwards end up rebuilding, usually at the point where the business wants to change a rule and nobody can predict what will happen.

Separate policy from model deliberately. Policy rules are the deterministic constraints — minimum age, maximum exposure, geography, existing obligations, mandatory document checks. The model produces a risk estimate. Mixing the two, so that hard constraints are expressed as features the model weighs, produces a system where nobody can guarantee that a prohibited application is actually prohibited. Rules first, as an explicit gate; model second, within the space the rules permit.

Every decision must be reconstructable. That means recording, for each application, the exact inputs used, the version of every rule and model applied, the intermediate outputs, and the final outcome with its reason. Not because it is tidy, but because a customer will dispute a decline, a regulator will ask how decisions are made, and an internal review will ask why approvals in a particular segment went wrong last quarter. A system that can only tell you the current answer cannot answer any of those questions.

Versioning is the mechanism that makes this work. A rule change is a deployment with a version identifier attached, and every decision references the version that produced it. This also gives you the ability to replay: take last month's applications, run them through the proposed new policy, and see what would have changed before you ship it. Shadow evaluation of that kind is the difference between a policy change that is measured and one that is discovered through its consequences.

Design the data dependencies for failure, because they will fail. A decisioning engine calls bureaus, verification services, bank statement analysers and internal history, and each of those has an outage, a timeout and a rate limit. Decide per source what happens when it is unavailable: proceed with reduced confidence, hold the application in a pending state, or decline. A default of throwing an error at the customer is a decision too, and it is the wrong one — a system that fails a good applicant because a third party was slow has cost the business a customer for a reason nobody chose.

Then instrument the outcomes, not just the decisions. Approval rate, decline reasons by category, time to decision and manual review volume tell you about the system. What tells you whether it is any good is what happened to the loans afterwards, joined back to the decision that approved them — and that join is only possible if you recorded the decision properly in the first place. Building the outcome feedback loop early is what lets the second version of the model be better than the first, rather than merely newer.

Need help with this? Explore our Data Analytics & BI services. Learn more Back to all news

Keep reading

More on Data & AI