~/Rev_

Merchant Recognition Without ML: Deterministic Rules and a Review Queue That Learns

"SQ *BLUE BOTTLE 0423 OAKLAND CA" should just say Blue Bottle. Rules get most of the way, and every question the app asks turns into a new rule.

work: 9 Nov 2026 · Built (19 tests) · DecoupleX Finance, Data Engineering, Fintech

The problem

Bank descriptions are noisy: processor prefixes, store numbers, cities, card-network junk. The forecast needs to know three things about each line: who it was, whether it repeats, and whether it's real spending or just money moving between your own accounts.


Layers, in order

  1. User rules override everything below them.
  2. Transfers, payroll, card payments, fees, so moving money between your own accounts never counts as spending.
  3. Processors stripped: Square, Toast, PayPal, Shopify, Instacart.
  4. Brands recognized, plus store number, city, state, and online vs in-store.

Merchant-level ("Walmart") is the target for now. Exact store location is a later extra.


Recurring detection

Weekly through yearly patterns, each with a confidence score. Confident patterns are proposed as a bill or paycheck the user confirms in one click. Uncertain ones become a question.


The review queue

Uncertain lines go to a "what was this?" queue. Each answer becomes a rule, so the same question never comes twice. The app learns from the user instead of nagging them, and the rules stay readable: you can see exactly why a transaction was labeled the way it was.


Why not ML yet

With one user, a model has nothing to learn from that a rule doesn't capture better. Rules are explainable, testable and instant. ML comes later, once many consenting users exist (Y03).


Sources: DecoupleX build log, "ingest v0.1" (9 Nov 2026)