Independent research · Cedar extension · November 2026
SBA credit risk: what changed after the data audit
A better estimate of a loan portfolio’s total charge-offs is only part of the problem. The model also needs information that actually existed when the loan was reviewed.
Retrospective research · Not approved for lending
From a risk score to an amount
A loan officer needs to understand both the chance of a credit event and the amount at stake. I used public SBA lending records to study those two questions, then connected the model to a local Cedar review screen where historical predictions and recorded outcomes can be inspected together.
The available outcome is gross charge-off recorded within 24 months of disbursement. It is not bankruptcy, the first missed payment, or the lender’s loss after recoveries, guarantees and costs. A single company’s expected amount is a model average under its inputs, not a claim about what that company will lose.
What I built
The study compares a paper-inspired competing-event model with a direct 24-month challenger. The earlier model uses discrete-time loan-age hazards, recorded paid-in-full as a competing event, historical macro inputs and held-out calibration. The selected challenger combines a calibrated gradient-boosting probability model with a Poisson expected-amount model, recency weighting and aggregate amount calibration.
Four candidates were compared across 2018, 2019 and 2020 cohorts. Fitting and calibration use separate borrower groups and completed outcome windows. The final fitted model uses 329,706 loans; the calibration set contains 13,282 loans and only 36 charge-offs. Twenty-one inputs combine loan attributes with approval-date macro vintages.
The local Cedar integration accepts structured company information or reviewed fields extracted from a consultation. It shows probability, expected gross amount, model context and validation results. New applications have no fabricated “actual” outcome. The original public TartanHacks app remains a separate prototype.
The same loans, the same horizon
On 8,632 loans approved and disbursed in 2024 Q3, 45 had a recorded charge-off inside 24 months. The comparison below evaluates both models on that same population. These historical outcomes had already been inspected in earlier work, so this assessment is not an untouched prospective test.

| Measure | Earlier model | Origination v2 |
|---|---|---|
| Predicted total / observed $4.01M | $19.01M | $4.60M |
| Mean absolute amount error per loan | $2,651.80 | $991.57 |
| ROC-AUC | 0.7091 | 0.6530 |
| Mean predicted probability / observed 0.521% | 1.293% | 0.404% |
Amount Tweedie deviance improved 21.9%. The estimated total’s conditional borrower-bootstrap ratio interval is 0.75–2.10× observed, and the 2020 validation total remains 9.08× observed with only six events. The full research gate fails. Inspect exact results and uncertainty.
Then I checked when the inputs existed
An apparently useful field can reflect a later amendment. A loan term that changes after servicing or charge-off would not be the original term available to a reviewer. I first compared term values across June and September 2026 SBA snapshots, then extended the check to every column used by the fitted model.
478,504 linked loans. All 21 inputs audited.
After conflicting matches were excluded, 59 loans changed at least one of eight used input columns. Six of those loans belong to the final assessment cohort.
The affected columns include guarantee share, legal form, state, broad industry and regional macro values selected through the state. Term was already excluded from this model. The term-specific audit has a different matching set: 2,409 changes across 478,008 linked loans.
Outcome-poisoning and future-vintage controls passed, and the local audit reproduced all 8,632 saved predictions. Those checks verify code behavior; they do not reconstruct an original application record. A changed value alone does not prove that the outcome caused the change, and an unchanged value does not prove historical availability.
The frozen model still uses the affected columns. This publication preserves the evaluated artifact and reports the problem; the audit did not retrain a corrected model. A clean backtest needs original application snapshots or a separately trained candidate that omits unverified dependencies.
What this changes about the next experiment
The immediate need is better evidence about information timing: immutable loan identifiers, original application fields, amendments and their recorded dates. A true net-loss model also needs balances, default timing, recoveries, guarantee proceeds and costs. More public variables cannot substitute for those missing targets.
I collected additional Census, FDIC and BLS sources as candidates. Their coverage is documented, but they were not silently added to v2 or presented as proven accuracy improvements. The next evaluation must use a new time period and the intended lender population, with the model frozen before the outcomes are examined.
Inspect and run the research
The public package includes the frozen model, original training and audit code, aggregate evaluations, a fictional inference example, input-audit tables and the Korean analysis PDF. Seven publication tests pass, including comparison with the original pipeline; the six existing origination regression tests also pass. Full historical retraining requires the exact source snapshots and derived cohorts, which are not bundled.
Independent extension developed with AI-assisted tooling. The original hackathon was team work, with my role in DevOps and integration. The earlier UCI credit-card benchmark and the new SBA study are separate populations and targets; their AUC values are not comparable evidence of an improvement.