Fin Maverick
Foundations VocabularyAccounting & ReportingEconomics & MacroQuant Methods & ProgrammingBusiness & Company AnalysisCorporate Finance & ValuationBehavioural Finance
Banking & Market InfrastructureFixed Income & RatesDerivatives & Structured ProductsPublic EquitiesTransactions & DealsPortfolio ConstructionFunds & AMCs
Private Markets & AlternativesRisk, Treasury & ControlAI & Digital FinanceStochastic Calculus & PricingWealth & Personal FinanceIndian Markets & RegulationProfessional Practice
CalculatorComparison
Frameworks
Explore Bootcamps
Equity ResearchPortfolio ManagementMutual Fund MasteryFinancial LiteracyInvestment Banking Analyst
Private Equity AnalystHedge Funds AnalystBreaking Into VCBreaking Into QuantsAI For Finance
Financial Analyst ProgramRisk Management ProgramPrivate Wealth ManagementDebt Capital MarketsDerivatives Foundation
Explore Internships
Equity Research InternMutual Fund Intern
Portfolio Management InternFinancial Literacy Intern
Explore Micro Courses

Equity Research6

Writing an Investment ThesisBuilding a Discounted Cash FlowReading an Annual Report FastReading a Sector Before a CompanySpotting Quality of Earnings Red FlagsBuilding a Revenue Forecast From Drivers

Portfolio Management3

Rebalancing: When, Why and What It CostsStrategic and Tactical Asset AllocationMeasuring Risk in a Portfolio

Mutual Fund Mastery3

Comparing Funds Without Being FooledHow a NAV Is Struck and Which Day You GetReading a Fund Factsheet Properly

Derivatives Unlocked4

Hedging a Real ExposureThe Greeks, PracticallyFutures, the Basis and What Moves ItReading an Option Payoff

AI For Finance2

Retrieval and Grounding for FinanceDocument Extraction in Finance

Breaking Into Quants4

Backtesting a StrategyHypothesis TestingCleaning Financial DataRegression for Finance

Breaking Into VC3

Sizing a MarketReading a Term Sheet as a FounderHow a Venture Round Actually Works

Financial Analyst Program4

Common Size and Trend AnalysisReading a Cash Flow StatementRatio Analysis That Says SomethingBuilding a Working Capital Schedule

Risk Management Program2

Credit Exposure and How It Is ReducedValue at Risk and What It Hides

Investment Banking Analyst3

Precedent Transactions and Why They DifferReading a Term Sheet StructurallyBuilding a Comparable Companies Table

Private Wealth Management3

Tax Aware Portfolio DecisionsBuilding a Client Risk ProfileGoal Based Planning Arithmetic

Debt Capital Markets3

Analysing an Issuer's CreditDuration and What It Does Not Tell YouBond Pricing and Yield Mechanics

Private Equity Analyst2

Fund Waterfalls and CarryThe LBO in Structure

Hedge Funds Analyst2

Short Selling MechanicsLong Short Mechanics
Courses
Explore Career Roadmaps
Investment Banking AnalystEquity Research AnalystVC AnalystPrivate Equity AnalystHedge Funds Analyst
Quant AnalystAI For FinanceFinancial Analyst ProgramPrivate Wealth ManagementDebt Capital Markets
Risk Management ProgramDerivatives FoundationPortfolio ManagementMutual Fund Mastery
PartnershipsShowdown
Log inSign up
AI, Automation & Digital Finance
1AI Foundations
Artificial Intelligence in FinanceAlgorithmNeural Networks and Deep LearningMachine LearningArtificial Intelligence vs Machine…Computer Vision in FinanceTraining Data and LabelsNatural Language Processing in Finance
2Generative AI
Generative AIGenerative AI vs Predictive AILarge Language ModelsEmbeddingsHallucinationFine TuningPrompting vs Fine TuningThe PromptThe Context WindowTool CallingGroundingVector DatabasesRetrieval Augmented GenerationRAG vs Fine Tuning
3Automation and Workflow
Workflow AutomationAutomation vs AugmentationHow to Map a…Straight-Through Processing and Exception…Robotic Process AutomationRule EnginesMachine Learning vs Rule-Based…
4Document and Operations AI
Intelligent Document ProcessingBatch vs Real-Time vs…Document Classification vs Entity…Service Level AgreementsCase ManagementHow to Document Data…Reconciliation AutomationOptical Character Recognition and Data ExtractionConfidence Scores
5Customer Systems, Identity and Digital Assets
Digital IdentityConsent ManagementBlockchain and Distributed LedgerChatbots and Conversational AIFrom Use Case to ProductionDigital Assets and TokenisationDigital SignaturesData Sharing in FinanceElectronic KYC and Digital Onboarding
6Credit and Fraud Systems
The Fraud AlertCredit Decisioning SystemsHuman in the Loop…Adverse ActionAnomaly DetectionThe Decision ThresholdCredit Score vs Credit DecisionAlert Triage and EscalationFraud Detection and Transaction MonitoringFraud Model vs Credit ModelHow to Build Human…
7Governance, Data and Vendors
AI Governance and the AI PolicyHow to Create an…Explainability and Interpretability ComparedThe AI VendorBias and Fairness in Financial AIShadow AIAccess Control and Data MinimisationCloud Computing in FinanceData Lineage and Master DataData ResidencyThe AI Use Case Register and Model InventoryThe Model Owner
8Model Performance, Monitoring and Resilience
Model DriftFalse Positives and False NegativesClassification MetricsAdversarial AttacksModel TestingBias, Fairness and Explainability…Stopping an Automated SystemModel ValidationAI Governance vs Model Risk ManagementPrompt InjectionHow to Create an…

Algorithm: A Procedure, Not an Intelligence

An algorithm is a procedure with fixed steps, defined inputs and a defined stopping point. Given the same inputs it returns the same answer every time, and a person can read it from the first line to the last. Neither property is available on the same terms once a component derives its behaviour from past data, and that loss is what changes who can answer for the output.

Every judgement inside a written procedure was made once, by somebody, and then written down where it stays. The comparison, the allowed gap, the order in which the tests run and what happens when a test cannot run at all are choices sitting in the text as ordinary sentences. A written procedure can be argued with, and the argument has a document to point at. A component that derived its behaviour from past examples offers an output to disagree with and nothing at all to disagree over.

What is an algorithm, and what is it not?

One example is already familiar. Long division, the way it is taught at nine years old, is an algorithmA procedure with fixed steps, defined inputs and a defined stopping point. in the full sense. Long division has defined inputs, a dividend and a divisor. Long division has fixed steps, and the steps run in an order that does not change because the queue is long. Long division has a defined stopping point. The procedure stops when the remainder is smaller than the divisor, or when the decimals have been taken as far as was set out at the start. Handing the same two numbers to two different children who both learned it properly gives the same answer twice.

The three features are the whole definition, and none of them is about difficulty. Defined inputs, fixed steps, a defined stopping point. A procedure of four lines qualifies. A procedure of four thousand lines qualifies. Length, cleverness and the amount of arithmetic involved have nothing to do with it. The word covers the way a housing society allots its parking bays as comfortably as it covers anything running inside a bank.

The word is doing a lot of work it was never built for, so the negatives matter. An algorithm is not a synonym for something modern. An algorithm is not a measure of how difficult a thing was to build. Nothing in the definition allows a step to rewrite another step, so an algorithm does not improve itself. And it is emphatically not a description of every automated output. The loose use of the word for anything automated causes the most trouble of the three. The word describes how a result was arrived at, not how impressive the result is.

People forget the stopping point, so it deserves its own moment. A procedure that might run forever cannot be put in a queue that has to clear by six in the evening. Every one of the thirty-four lines set out below either moves the file forward or stops it, and that is a design property somebody had to actively arrange.

Try it out

Which of these is genuinely required before a procedure counts as an algorithm?

Which two properties matter once the procedure is running?

To the builder, what matters is whether the procedure is short, quick and neat. Running it in a bank, with customers on the other end of it, two entirely different properties take over, and both of them are about somebody who did not build the thing.

The first is that the procedure is repeatableReturning the same answer to the same inputs every time it runs.. Nothing inside the text depends on the day, the queue length or who is on shift. Feed the same file in on Tuesday and on Friday, and the same answer comes out. Think of two clerks at two counters of the same office working from the same printed circular. If they reach different answers on the same application, either they are not both following the circular or something one of them is reading has changed underneath. There is no third possibility, and that is a useful thing to be certain about.

The second is that the procedure is readable. A person who did not build it, was not in the meeting and does not write software can be handed the document and can follow it to the end. Responsibility means being able to say why, and saying why means having read the reason. Readability is what turns an output into something a person can take responsibility for.

Now the honest part, and it is more precise than the usual telling. A component that derived its behaviour from past examples is often repeatable in fact: while its fitted numbers stay put, the same file does give the same answer. Repeatability cannot be established by reading anything, only by running the file again and watching. And it is lost completely at a refit, where the behaviour changes without one line being edited and with no revised text for anybody to compare against the old one. So the first property survives only as something to be tested, and the second does not survive at all.

TWO SEPARATE PROPERTIES, AND ONLY ONE CORNER OPEN TO ARGUMENT REPEATABLE same answer twice NOT REPEATABLE answer can move NOT READABLE END TO END READABLE END TO END A FITTED COMPONENT Same answer while the fitted numbers stay put, and no text anywhere stating the reason. It can be tested. It cannot be read. A WRITTEN RULE SET The answer repeats and the reason for it can be read by somebody who did not build it. THE ONLY CORNER OPEN TO ARGUMENT A FITTED COMPONENT AFTER A REFIT Behaviour changed with no line edited, so there is no old text to hold beside the new one. Neither property is left. A RULE READING A CHANGING RECORD The document is unchanged but an input it reads moved, so the same file gets a new answer. Readable, and still not repeatable. Sumeru Bank Limited, invented. The two properties are independent, so losing one says nothing about the other.
Repeatable and readable are two separate properties, and a component can sit in any of the four corners. A written rule set is the only one where both hold at once, which is what makes disagreeing with its output possible rather than merely uncomfortable.
Try it out

Which two properties of a written procedure matter most once it is running in production?

What does one rule set look like when somebody prints it out?

Abstractions about procedures stop being useful very quickly. Component five of the intake chain at Sumeru Bank Limited, an invented lender, is the income corroboration step, a rule setA written procedure a person can read from the first line to the last. of thirty-four lines. Its job is small and completely stated: take the monthly income the applicant declared on the form, work out by corroborationChecking a figure a customer stated against a record from somewhere else. what the applicant's bank statement actually shows arriving as salary, and decide whether those two figures are close enough to carry on with.

Thirty-four lines is a document, not a mystery, and the practical consequence of that is a number: Neelima Rao in the risk function read every line of it end to end in twenty-five minutes. At the end of those twenty-five minutes she could take any one of the six hundred and two files the step routed that month and say exactly which line sent it and why. There is no length of time after which somebody has read a fitted component in the same sense.

COMPONENT 5, INCOME CORROBORATION, PRINTED IN FULL INPUTS 1 TO 7 CONDITIONS 8 TO 23 ACTIONS 24 TO 29 WHEN A TEST CANNOT RUN 30 TO 34 GREEN = A CHOICE SOMEBODY MADE 1read the declared monthly income from the application 2if it is absent, route the file and stop 3open the bank statement account marked as salary 4if no account is marked salary, route and stop 5read the statement period held on that account 6if fewer than three full months are held, route and stop 7take the three most recent full months 8list every credit entry in those three months 9drop any credit not tagged as a salary credit 10drop any transfer from the holder to the same holder 11group the remaining credits by calendar month 12if a month holds no salary credit, set that month to nil 13sum the salary credits inside each of the three months 14order the three monthly totals, lowest to highest 15take the middle total as the corroborated income 16write the corroborated income to the file 17read the allowed gap from the tolerance setting 18compute the gap: declared less corroborated 19if the gap is nil or below, pass the file and stop 20divide the gap by the declared monthly income 21state it as a percentage, to one decimal place 22if that percentage exceeds the allowed gap, go to 24 23otherwise pass the file and stop 24mark the file routed for income corroboration 25write the declared figure to the exception record 26write the corroborated figure to that record 27write the gap and the percentage to that record 28write the allowed gap in force at the time of test 29send the file to the exception desk queue 30if the statement could not be reached, route, note why 31if no credit carries a salary tag, route and note why 32if the declared figure is not a number, route, note why 33on any routed file, stop after the reason is written 34on any passed file, write pass and the percentage Lines 3, 7 and 17 sit on green, and between them they hold all the judgement: which record to read, how many months to take, and how big a gap to allow. The gap read at line 17 is the bank's own chosen 10 per cent. Every other line follows from those three.
The income corroboration step is thirty-four numbered lines, and three of them carry all the judgement: which record to read, how many months to take, and how big a gap to allow. Everything else in the document is a consequence of those three choices being made the way they were.

Reading down the numbers shows the four things a procedure is made of without anybody labelling them. Lines one to seven fetch the inputs and stop the file if an input is not there. Lines eight to twenty-three work out the corroborated figure and then test it. Lines twenty-four to twenty-nine take the action and write down what was found. Lines thirty to thirty-four say what happens when a test cannot run at all. Nobody reads that part, and every real production failure lands in it.

The middle of it is one branch, and the branch is the entire component. Take the declared figure. Take the corroborated figure. If the first exceeds the second by more than the allowed gap, route the file to a person. Otherwise pass it. Anybody holding the document can predict the answer before the procedure runs. The claim is stronger than it sounds, and nothing else in the chain offers it.

ONE BRANCH, AND THE BRANCH IS THE WHOLE COMPONENT DECLARED, ON THE FORM Rs 45,000/- CORROBORATED, FROM STATEMENT Rs 38,000/- LINES 18 TO 21, THE GAP Rs 7,000/- = 15.6% LINE 22, THE ONE TEST is 15.6% more than the allowed gap of 10%? ROUTE yes, to a person PASS no, carry on This file: 15.6 per cent is more than the allowed 10 per cent, so it took the upper branch and a person saw it. Nothing else in the component had a say. Sumeru Bank Limited, invented. The allowed gap of 10 per cent is the bank's own choice and is not a standard or a requirement anywhere.
Take the declared figure, take the corroborated figure, and if the first exceeds the second by more than the allowed gap, route the file to a person, otherwise pass it. One test decides the whole component, so its answer can be worked out on paper before it ever runs.
Try it out

How long did it take one reviewer to read the whole income corroboration rule and be able to explain any of the outcomes it produced?

The worked file, and the month it sat in

One application declared a monthly income of Rs 45,000/-. Three months of statement showed monthly salary credits whose middle value was Rs 38,000/-. The gap is Rs 7,000/-, and line twenty of the procedure divides that by the declared figure, giving 15.6 per cent. The bank's own chosen tolerance is 10 per cent. 15.6 is more than 10, so line twenty-two sent the file down the routing branch and a person at the exception desk opened it.

The file, line by line as the procedure took itValue
Declared monthly income, from the application formRs 45,000/-
Corroborated monthly income, the middle of three monthly salary credit totalsRs 38,000/-
Gap, declared less corroboratedRs 7,000/-
Gap as a share of the declared figure, line 2015.6%
Allowed gap, the bank's own chosen tolerance, line 1710.0%
Outcome at line 22, because 15.6% is more than 10.0%Routed

Scale that one file up to a month. In one steady month the step saw all 8,600 files that reached the decision engine. The step passed 7,998 of them and routed 602. The two numbers add back to 8,600. Anybody holding the document and the month's data can check both, and most of what runs beside the step offers nothing of the kind.

ONE RULE SET APPLIED TO ONE MONTH REDUCES TO TWO NUMBERS 8,600 files reached the step 7,998 passed the gap was inside the allowed 10 per cent, or there was no gap at all 602 routed to a person 7.0 per cent of the month, and 7,998 + 602 = 8,600 Sumeru Bank Limited, invented, one steady month.
8,600 files entered the income corroboration step, 7,998 passed and 602 were routed to a person. Both numbers can be checked from the document and the month's data by anybody, which is the practical payoff of a rule being written down.

Where does the judgement actually sit inside those thirty-four lines?

One trap is worth sitting with. People argue about the software when what they disagree with is a decision, and the decision is almost never spread across the document. In this procedure it sits in three places, and once those three places are visible here they are visible in any rule set.

The first is which record to read. Line three opens the account marked as salary, and somebody decided that a salary credit into a different account does not count. The second is how many months to take. Line seven takes the three most recent full months, and somebody decided that three is enough and that a fourth would not change the answer often enough to be worth the wait. The third is how big a gap to allow. Line seventeen reads a toleranceA gap somebody chose to allow before a test counts as failed. setting, and the figure in that setting at Sumeru Bank Limited is 10 per cent.

The 10 per cent tolerance is the invented bank's own choice, made by people in a room, and it is not a standard, a norm, a requirement or a number anybody outside the bank handed down. The whole reason a written procedure is worth defending is that its judgements are visible as judgements. The moment a chosen number starts being described as what the rule requires, the argument moves out of reach of the people who should be having it, and nobody has to defend a choice that nobody can see was made.

Try it out

Where in the thirty-four lines does a person's judgement actually sit?

A chosen number has one more property that a slope does not, and it catches people out constantly. A chosen number produces a step. Two files that a person would look at and call the same file land on opposite sides of it, and nothing in the procedure holds any notion that they are nearly the same. At an allowed gap of 10 per cent, a file at 10.1 per cent is routed and a file at 9.9 per cent is passed, and the two are treated as differently as if one had declared nothing at all.

The step is not a defect to be fixed. A written test produces a step by its nature, and a slope would simply move the argument to where the slope starts and stops. A step is where two nearly identical customers get two visibly different experiences, and that is the place a complaint comes from. Knowing where the step sits is what matters.

A WRITTEN TOLERANCE IS A STEP, NEVER A SLOPE THE FULL RANGE OF GAPS, 0 TO 30 PER CENT ROUTE PASS 10% 0% 30% The outcome does not ease upward. It is flat, then it jumps, and it is flat again at the top for ever after. THE SAME STEP, ZOOMED TO THE 9 TO 11 PER CENT WINDOW 10% 9% 11% FILE A, GAP 9.9% passed, nobody saw it FILE B, GAP 10.1% routed, waited 2 days Two files 0.2 percentage points apart. One outcome each, and nothing in the procedure treats them as nearly the same file. Sumeru Bank Limited, invented. The 10 per cent allowed gap is the bank's own chosen setting.
At the bank's own chosen tolerance of 10 per cent, a gap of 10.1 per cent is routed and a gap of 9.9 per cent is passed, and nothing in the procedure treats the two as nearly the same. A written tolerance produces a hard step rather than a slope, and every step has two files sitting either side of it.
Try it out

One file had a gap of 9.9 per cent and another had 10.1 per cent, against the bank's own chosen tolerance of 10 per cent. How does the rule treat them?

Try it out

The allowed gap is 10 per cent and 602 files a month are routed. Before the control below is moved: at an allowed gap of 5 per cent, roughly how many are routed?

Play with it

Move the allowed gap, and watch a month move with it

One control: the allowed gap between the declared and the corroborated income, from 0 to 30 per cent. One consequence: how many of the month's 8,600 files the written rule routes to a person, drawn as a curve that redraws, a bar that rescales, and a verdict on the worked case. The default below is the bank's own chosen setting of 10 per cent. At that setting the rule routes 602 files of 8,600, being 7.0 per cent of the month, and routes the worked case whose gap of Rs 7,000/- on a declared Rs 45,000/- is 15.6 per cent. The bank measured the routed volume at seven settings only. Between them the line is drawn straight, so a reading between two settings is an interpolation. The caption under the curve says so as the control moves.

FILES ROUTED IN THE MONTH, AGAINST THE ALLOWED GAP 3,440 2,580 1,720 860 0 0% 5% 10% 15% 20% 25% 30% the worked case, a gap of 15.6% 602 routed at 10.0% a setting the bank measured directly THE WORKED CASE, GAP Rs 7,000/- ON Rs 45,000/- = 15.6% ROUTED, because 15.6% is more than 10.0% SHARE OF THE MONTH ROUTED BY THIS ONE RULE 7.0 per cent of 8,600 files THE MONTH, 8,600 FILES 602 routed 7,998 passed Sumeru Bank Limited, invented, one steady month of 8,600 files. The distribution of gaps is the bank's own and is held fixed as the allowed gap moves.

Allowed gap set to 10.0 per cent

Allowed gap
10.0%
Files routed
602
Files passed
7,998

At the bank's own chosen allowed gap of 10.0 per cent, the written rule routes 602 of the month's 8,600 files to a person and passes 7,998. The worked case, whose declared Rs 45,000/- exceeds its corroborated Rs 38,000/- by 15.6 per cent, is routed. This is one of the seven settings the bank measured directly.

Educational illustration. One steady month at Sumeru Bank Limited, holding 8,600 files. The routed volumes were measured by the bank at seven settings only, being 0, 5, 10, 15, 20, 25 and 30 per cent, and readings between those settings are drawn as a straight line. The distribution of gaps is held fixed as the allowed gap moves. The allowed gap is a choice the bank made, not a requirement of any rule anywhere and not a threshold set by any authority.

The shape matters more than the number. The curve falls away steeply on the left and then flattens almost to nothing. The shape reveals something about applicants that no amount of arguing in a meeting would have produced. Most people declare an income close to what their statement shows. The files pile up at small gaps, so tightening the allowed gap from 10 per cent to 5 does not shave a little off the exception queue, it multiplies it by more than two and a half, from 602 files to 1,548. A number chosen in a meeting decides how many people wait two working days for an answer, and the relationship between the number and the queue is nothing like proportional.

Push it the other way and the second lesson arrives. At 20 per cent the rule routes 172 files, at 30 per cent it routes 69, and by then the step is barely doing anything at all. A tolerance loose enough to be uncontroversial is also a tolerance that has stopped being a control. Somebody has to sit between those two edges and decide, and that is the honest description of what setting a tolerance is.

Breaking Into Quants Bootcamp — Fin Maverick

Which parts of one lending chain are written rules, and what does each decide?

Four of the nine components of the intake chain are procedures somebody wrote: the identity match, the income corroboration step set out above, the fraud rules that run on the servicing book, and the workflow routingSending a file to a person instead of deciding it, or on to the next step. rule that decides where every file goes next. The four are not versions of the same thing. The position in the chain decides what a rule can possibly know, so where each one sits is worth seeing.

The identity match runs first, before any document has been read, so all it can compare is what two records say about a name and a number. Income corroboration needs a statement to exist before it can look at one, so it runs after the documents have been read. The fraud rules run after disbursal, on the servicing book, and act on an account rather than an application. And the router does not sit at a point at all: it sits between every pair of steps. The router touched all 8,600 files of the month while deciding the final outcome of only 112.

Together those four written procedures determined 1,355 outcomes in the month, being 15.8 per cent of the 8,600, and every one of those 1,355 has a document behind it that a person can be shown. The point is not that rules are old or simple, but that a sixth of the month's outcomes arrive with their reasons attached.

FOUR WRITTEN RULES, FOUR DIFFERENT MOMENTS IN ONE FILE'S LIFE application starts documents read decision taken money disbursed COMPONENT 1 identity match two records agree, or they do not 189 files COMPONENT 5, THE ONE ABOVE income corroboration needs a statement to exist before it can look 602 files COMPONENT 7 fraud rules act on an account, not an application 452 files COMPONENT 9, THE ROUTER, SITS BETWEEN EVERY PAIR OF STEPS It touched all 8,600 files of the month and determined the final outcome of 112 of them. 112 files 189 + 602 + 452 + 112 = 1,355 OUTCOMES A MONTH, BEING 15.8 PER CENT OF THE 8,600, EACH WITH A DOCUMENT BEHIND IT
The identity match runs first, income corroboration runs after the documents are read, the fraud rules run on the servicing book after disbursal, and the router sits between every pair of steps. Each decides something the others cannot see, and together they determine 1,355 outcomes a month.

Where is a written rule the only defensible choice?

Not everywhere. Nobody can write down what a salary slip looks like in a way that survives four hundred employers formatting theirs differently. A written procedure would therefore be a poor way to decide which kind of document an image is. Where the thing being judged is a shape, a pattern or a likeness, a fitted component is simply better at it, and pretending otherwise costs accuracy for nothing.

But there are three places where the written rule is not merely preferable, it is the only answer that can be defended afterwards, and all three are about somebody else being owed an explanation.

The first is where the test is a policy rather than a pattern. Whether a declared income is close enough to a corroborated one is not a fact waiting to be discovered in data. Closeness is a position the lender is taking about how much unverified income it is prepared to lend against. The answer is not in the past but in the decision, so there is nothing for a component to learn. The second is where the person affected has to be told why, in words they can check. An explanation the recipient can verify against a document is a different object from a reason produced after the fact, and only one of the two can be argued with by the person it was about. The third is where somebody must be able to change the behaviour by Friday, deliberately and in a stated direction. Editing line seventeen is an afternoon. Moving a fitted component's behaviour in a chosen direction and no other is not.

The framing that a fitted component produces a prediction which a person still has to act on belongs to Agrawal, Gans and Goldfarb in Prediction Machines, and it is useful here in the negative. Where what is needed is not a prediction at all but a position, prediction is the wrong tool no matter how good it is.

Who wrote it, who changed it, and when?

Ask that question of a written rule and it always has an answer. Not because rules are virtuous, but because a document is a thing that can carry a history beside it. Ask it of a fitted component and the honest answer is a shrug and a date.

A rule set has five named parts, and the first four are inside the file set out above. Its inputs, being lines one to seven. Its conditions, being lines eight to twenty-three, work the figure out and then test it. Its actions, being lines twenty-four to twenty-nine. Its behaviour when a test cannot run at all, being lines thirty to thirty-four. The fifth part is not inside the file, and a review that stops at line thirty-four has missed the place where accountability actually lives: the change recordThe log of who altered a procedure, when, and what the previous version said., carrying a name, a date and what the previous version said.

FIVE PARTS, AND ONLY FOUR OF THEM ARE IN THE FILE THE DOCUMENT, 34 LINES, BAND HEIGHTS IN PROPORTION TO LINE COUNT 1. INPUTS, LINES 1 TO 7 what it fetches, and when it stops because a thing is not there 2. CONDITIONS, LINES 8 TO 23 the corroborated figure is built, then the one test is applied the largest part of the file, and the part people argue about the allowed gap is read at line 17, inside this band 16 lines of 34, being just under half the document 3. ACTIONS, LINES 24 TO 29 what it does, and what it writes down about having done it 4. WHEN A TEST CANNOT RUN, LINES 30 TO 34 the part nobody reads, and where production failures land outside 5. THE CHANGE RECORD who last changed it on what date what the previous version said who approved the change a review stopping at line 34 never sees this The change record is a property of the discipline around the document, not of the document. It can be missing. Sumeru Bank Limited, invented. Line counts are 7, 16, 6 and 5, which sum to the 34 lines of the file.
A rule set is made of its inputs, its conditions, its actions, its behaviour when a test cannot run at all, and a change record carrying a name and a date. Only the first four are inside the file, so a review that reads to the last line and stops has missed the part where accountability lives.

And the fifth part can be missing. In month seven of the intake chain's life, the waiting time the router holds before it escalates a file was changed. No approval was recorded and no previous value was written down. The change was found three months later, in the month ten sweep, by Ashok Pillai in technology risk. The readability of a rule is a property of the document; the change record is a property of the discipline around it, and only one of those two comes for free.

Try it out

What can a written rule set always show that a fitted component cannot?

Where does the word get used for something it does not describe?

Three places, and all three cause a specific kind of trouble rather than merely being untidy.

The first is the commonest: the word is used for a component that derived its behaviour from past examples. There are no steps to read, nothing branches on a line somebody wrote, and the stopping point is not a design choice but a property of the arithmetic. The arithmetic that produces its output is itself a procedure, so calling that an algorithm is not wrong in a textbook sense. The word still invites the listener to believe there is a document, and there is not.

The second is the word used for a whole system. The intake chain is not an algorithm. The chain is nine separately built and separately changeable components, four of which are written procedures and five of which are not. A single word for the whole thing hides exactly the distinction anybody would need in order to act.

The third is the word used as a shield. The algorithm does not allow it, said across a counter, converts a choice somebody made into a fact of nature. In the case here the sentence would be doubly wrong: there is an allowed gap, it is 10 per cent, it is the invented bank's own choice, and a named person can change it. Nothing about that is a fact of nature. Whenever a chosen number is described as something the system requires, ask who chose it. On a written rule that question has a name attached to it.

Why does one complaint split into two, and why can one word not answer both?

Here is where all of this stops being vocabulary. A customer writes in and says: the algorithm rejected my application. Perfectly ordinary sentence, and everyone at the desk knows what it means. Except that in one steady month, 1,290 files reached an adverse outcomeAny result the applicant experiences as a refusal or a delay. the applicant would describe that way, and those 1,290 are two completely different groups wearing one word.

602 of them were routed by the written income rule. Behind each of those sits a printed procedure, a tolerance somebody chose, a change record with a name on it, and two figures the applicant can be shown: what was declared, what was corroborated, and by how much the first exceeded the second. 688 of them were declined by the scoring model. Behind those sits no procedure to print, only an attributed reasonA reason produced after the fact to describe an output, rather than the step that caused it. produced after the outcome to describe it. 602 plus 688 is 1,290.

The error that gets made, and what it costs

The exception desk at Sumeru Bank Limited answered all 1,290 the same way. The reply quoted the written income corroboration rule, explained that the declared figure had not corroborated against the statement, and offered to look again if the applicant sent a fuller statement. Every word of that reply was true of the file it was written for, provided the file was one of the 602.

The reply was wrong for 688 files, being 53.3 per cent of the month's adverse outcomes. The 688 applicants were told a procedure had produced their outcome when a fitted component had, and were invited to fix something that would not have changed the answer. Nobody lied and nobody was careless. One word was doing the work of two, and the answer was wrong more often than it was right.

The cost lands twice. Once on 688 people who acted on an explanation that did not apply to them, and once on the desk. The desk learned nothing from a complaint pattern it had already answered.

1,290 ADVERSE OUTCOMES, ONE WORD, TWO DIFFERENT ANSWERS THE DESK'S SINGLE REPLY: THE WRITTEN INCOME PROCEDURE WAS QUOTED 602 routed by the written income rule a printed procedure, a chosen tolerance, a change record and two figures to show 688 declined by the scoring model no procedure to print, and only a reason produced after the outcome to describe it THE REPLY WAS RIGHT HERE, 46.7% THE REPLY WAS WRONG HERE, 53.3% 602 + 688 = 1,290, AND THE ANSWER THAT FITTED ONE GROUP WAS WRONG FOR THE LARGER ONE Sumeru Bank Limited, invented, one steady month. Bar widths are in proportion to the two counts.
Of 1,290 adverse outcomes in the month, 602 had a printed procedure behind them and 688 did not, and answering all of them by quoting the procedure was wrong for 53.3 per cent. One word covering two different components makes a single answer wrong more often than right.
Try it out

A customer says the algorithm rejected the application. What has to be known before answering?

AI For Finance Bootcamp — Fin Maverick Writing an Investment Thesis — free micro-course from Fin Maverick

How does a lender, a reviewer or a customer desk actually use this?

What each of them does with the distinction

A reviewer uses it to size the work before agreeing to it. Reading a thirty-four line procedure end to end took Neelima Rao twenty-five minutes, and at the end of it she could account for all 602 routings. The independent look at the scoring model took eleven working days and produced a different kind of answer entirely. Agreeing to review a system without first asking how many of its components are documents is agreeing to an unknown quantity of work, and the two figures here are the clearest illustration of why.

A customer-facing desk uses it to sort the post before answering it. The useful question is never what happened to this application, it is which component determined this outcome. Where a written rule acted, the reply can carry the figures and the allowed gap and can invite a specific correction. Where a fitted component acted, the reply has to be honest about being a reason rather than a rule, and inviting a correction that cannot work is worse than saying less.

Someone setting policy uses it to find the number that is actually in dispute. Nearly every argument about a lending system that presents itself as an argument about technology turns out to be an argument about a chosen figure. Ismail Sheikh, who runs the exception desk, does not need the income rule rewritten. He needs to know that moving the allowed gap from 10 to 5 per cent would take his queue from 602 files to 1,548, and that the person who can authorise that has a name.

A household version shows the same shape at any scale. A landlord who says the deposit is three months' rent has a rule: it can be repeated, it can be checked, and the three can be argued about. A landlord who says he gets a feeling about tenants has something that can be neither repeated nor checked nor argued with. Both are decisions about the tenant. Only one of them can be discussed.

India

Who sets expectations on a lender using a written rule like this?

A bank in India that produces an adverse outcome for a borrower through any component, written or fitted, sits under the Reserve Bank of India. The Reserve Bank publishes its expectations on digital lending, outsourcing, customer data and consent at rbi.org.in. Where the deployer is a market intermediary rather than a lender, the Securities and Exchange Board of India sets the equivalent expectations at sebi.gov.in. The 10 per cent allowed gap used in the worked case is the invented bank's own chosen setting and does not correspond to anything published by any authority. The current position on requirements, thresholds and effective dates is stated at the issuing body's own site.

How a fitted component reaches its answer is covered separately, and so is how a decline is explained to an applicant. Efficiency, notation, how a procedure is turned into working software, and the statistics beneath fitting a component are separate subjects. The routed volumes belong to one bank and one deployment, and are that bank's own measurements rather than a claim about lending in general.
The Risk Management Program bootcamp teaches you to set a limit framework and run it through a breach.

Sources

SourceDocumentSite
Reserve Bank of IndiaPublished expectations on a regulated lender covering digital lending, outsourcing, customer data and consentrbi.org.in
Securities and Exchange Board of IndiaEquivalent expectations where the deployer of such a component is a market intermediarysebi.gov.in
Bank for International SettlementsInternational supervisory material on the deployment of decisioning components by banksbis.org
Ajay Agrawal, Joshua Gans and Avi GoldfarbPrediction Machines, for the framing of a fitted component as producing a prediction a person must still act onHarvard Business Review Press

Sumeru Bank Limited, its intake chain, Neelima Rao, Ismail Sheikh and Ashok Pillai are invented.
Educational material. Not advice on any investment, tax, budget or market position.

← PreviousNext →
Fin Maverick Micro CoursesExplore Micro Courses
Fin Maverick BootcampsExplore Bootcamps
Fin Maverick

Finance education that ends in a job, not a certificate that gathers dust. Built for young India.

LEARN
CalculatorsFrameworksComparisonsCareersShowdown
RESOURCES
All CoursesMicro CoursesBootcampsInternships
COMPANY
AboutJob openingPartnership
LEGAL
Privacy PolicyTerms & ConditionsContent LicenseReturn & Refund Policy
© 2026 FIN MAVERICK / BUILT FOR INDIA.DO FINANCE, DO NOT JUST READ ABOUT IT.