Multi-pass closed-loan training — pass counter + corpus upsert key

Featurekamo-shared-library
Shipped
July 15, 2026 at 6:07 PM UTC
Author
Kamo
Commit
19bd411

The closed-loan trainer now re-reads a loan on successive passes until its extraction reproduces the loan outcome, so: - LeadLosLink.closedLoanPasses drives a per-loan pass cap (retire as EXHAUSTED if it never fully matches), and closedLoanTrainedAt now means "retired" (SOLVED or EXHAUSTED), not "read once". - ExtractionCorrection.sourceRef (the external loan name) keys a per-loan-field UPSERT — one current label per (org, loan, docType, field), so repeated passes refine the label instead of flooding the corpus with a new row each pass.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing