Inspiration

On 18 April 2011, customer #15749 placed an order with a small UK online gift shop. They had spent £37,994.90 with the shop that year, more than almost anyone else.

Then they never ordered again.

There was no complaint, no cancellation, no angry email. Just silence. 50 days. 100 days. 235 days. Meanwhile the shop's dashboard showed sales up 6.2% on the same weeks the year before. Every chart was green. Nobody noticed.

15749 wasn't alone. Nine more of the shop's best customers had gone quiet the same way. Together they had spent £93,531.25 that year. That's not a typo in a spreadsheet. It's somebody's rent, payroll and next season's stock, slipping away with nothing to show for it.

This isn't one unlucky shop. It's how small businesses work:

THE NUMBER WHAT IT MEANS SOURCE
36.2 million US small businesses, employing 62.3M people (45.9% of private-sector workers) SBA Office of Advocacy, Feb 2026
29.0% vs 7.7% Owners who reported strong results vs weaker ones in how they use their data Small Business Expo survey, 1,100+ owners, 2026 (an association, not proof of cause)
53% SMB leaders who say they struggle to use their data AWS survey of 800+ SMB leaders, 2023 (vendor survey)

Big companies pay analysts to catch the customer who goes quiet, the product that stops selling, the year that only looks good because of a few big orders. A shop owner who packs the boxes, answers the emails and does the books at midnight has no one.

The warning was sitting in that shop's own sales file the whole time. Nobody read it.

We built BlindSpot so that never has to happen again: the analyst every small shop deserves but could never afford.

What it does

BlindSpot reads a shop's sales data, finds the problems hiding in it, proves each one with statistics, and helps the owner act on it.

STEP WHAT HAPPENS
1. Connect Link Shopify directly, or drop in any export: CSV, Excel, a PDF report, or even a photo of a printout
2. Check BlindSpot cleans the data, reads every row, and runs 40 checks across 10 areas in seconds
3. Prove Every finding is statistically tested, ranked by what it costs, and traced to the exact rows behind it
4. Act A plan ordered from easy to hard, AI-drafted notes for the customers you choose, and a recheck of who came back

What it found in one real shop

Run on 261,658 real rows (the public UCI Online Retail II dataset, a real UK online gift shop):

WHAT THE DASHBOARD SAID WHAT BLINDSPOT FOUND
Sales up 6.2% 10 best customers stopped ordering: £93,531 in the year before
New customers coming back for a 2nd order fell from 51% → 42% (tested, p = 0.002)
23 products that sold last year now sell nothing: £36,302
509 order lines reversed within 2 days: £114,284 padding the total
7,872 duplicate lines in the file, counted once by BlindSpot

The app

SCREEN WHAT IT'S FOR
Overview The one problem to fix first, and the shop's health at a glance
Risk Intelligence Every problem ranked by money. Click one and the exact rows behind it light up
Customer Radar Regulars going quiet, ranked by what they spend
AI Analyst Plain-English answers. Every figure is fact-checked against the engine
Did my change work? Did a promotion or price change really move sales? If there isn't enough data, it says so
Sales Forecast Tested on past months first, with its real miss rate shown
Recheck Upload a newer export and see exactly who came back

Find → Decide → Act → Recheck

A finding only matters if someone acts on it:

  • Find: the valuable customers who have gone quiet.
  • Decide: see the exact orders behind each one, then tick who to contact.
  • Act: AI drafts a short, personal note for each, fact-checked before you see it.
  • Recheck: upload a newer export and see who ordered again.

How we built it

The pipeline: from a messy file to a proven finding

  1. Data comes in from Shopify's API or an uploaded file. The format is detected automatically, and PDFs and photos are read by AI into a table you can check.
  2. Cleaning: returns, cancellations, duplicates, missing customer IDs and fees are sorted out, so nothing is counted twice.
  3. The engine (our own TypeScript statistics package, 41 analysis tools) does every calculation in code.
  4. Testing: anything that fails its statistical test is labeled "not confirmed." Everything else is ranked by money.
  5. The AI explains (Claude). It writes the plain English and the customer notes. It never does the math.
  6. The fact-checker matches every number in the AI's text against the engine. A wrong figure goes back to the AI to fix before you ever see it.

The math under the hood

Who counts as a "best customer who went quiet." Let $T$ be the last day in the data. For each customer $c$, take their spend $S_c$ and order count $n_c$ in the year before the last 90 days, $[T-455,\ T-90)$. Customer $c$ is flagged when:

$$S_c \ge Q_{0.90}(S) \quad\text{and}\quad n_c \ge 3 \quad\text{and}\quad \text{no order in } [T-90,\ T]$$

where $Q_{0.90}(S)$ is the 90th percentile of customer spend. This is the top 10% of customers, with at least 10 of them.

Is the warning real? A one-sided Fisher exact test. We replay the rule at an earlier date and ask: did flagged customers stay away over the next 180 days more often than the other top customers? With $N$ top customers, $K$ of whom stayed away, $n$ flagged, and $a$ flagged who stayed away:

$$p = \sum_{k=a}^{\min(n,K)} \frac{\binom{K}{k}\binom{N-K}{n-k}}{\binom{N}{n}}$$

We use an exact test because some groups are small. Our first version used a z-test, and we replaced it.

Checking many products at once without false alarms. Scanning hundreds of products means some will look "significant" by pure chance. We control that with the Benjamini–Hochberg adjustment. For $m$ p-values sorted $p_{(1)} \le \dots \le p_{(m)}$:

$$q_{(i)} = \min_{j \ge i} \frac{m}{j}\, p_{(j)}$$

Forecasts are graded before you see them. Each method (same as last month, 3-month average, same month last year, last year × recent trend) is backtested on past months, and you see its real weighted error:

$$\text{error} = \frac{\sum_t \lvert y_t - \hat{y}_t \rvert}{\sum_t \lvert y_t \rvert}$$

The stack

LAYER BUILT WITH
Front end React, TypeScript, Vite, Tailwind CSS, Framer Motion
3D story three.js with our own GLSL shaders for particles, glow and lens effects, all driven by scroll
Engine Our own TypeScript statistics package: 41 analysis tools
AI Claude Sonnet 5.5 for explanations and customer notes
Server Node.js and Express
Accounts Supabase
Data in Shopify Admin API, CSV, Excel, PDF, photos
Hosting Render, deploying automatically from GitHub
Testing 291 automated tests (Vitest) plus browser tests (Playwright)

The landing page is a story, not a page

A glass dashboard builds itself and says everything is fine. You dive into its screen and fall through 38,000 glowing points, one for each row in a sample, and watch the customers who are going quiet drift away in amber. You fly down a tunnel past the checks. Then the points gather into the hidden number: £93.5K. The real product content sits inside the journey, and the 3D dims while you read.

Proof: we tried to break our own rule

Test 1: replayed on the shop's own past. We ran the exact rule at earlier dates, using only data from before each date, then watched what flagged customers really did over the next 180 days:

AS OF DATA FLAGGED FLAGGED WHO STAYED AWAY OTHER TOP CUSTOMERS WHO STAYED AWAY FISHER p
10 Mar 2011 25% sample 25 8 (32%) 6 of 80 (8%) 0.004
10 Jun 2011 25% sample 14 5 (36%) 3 of 90 (3%) 0.001
10 Mar 2011 full file 92 33 (36%) 19 of 319 (6%) < 10⁻¹¹
10 Jun 2011 full file 63 22 (35%) 11 of 353 (3%) < 10⁻¹¹

Flagged customers stayed away 4–10× more often than other top customers. The two dates overlap, so we count them as two looks at one shop, not independent proof.

Test 2: a separate program, written in a different language. A Python script that shares no code with the engine recomputed the finding from the raw file. It got the same 10 customers and £93,531.25, matched to the penny.

Test 3: the "possible stock-out" detector, judged on shops where nothing went wrong. We tuned it on one set of simulated shops, then measured it on a fresh set it had never seen:

RESULT VALUE
False alarms 1 in 1,530 product histories with no stock-outs
Planted 40-day gaps caught 6 of 6 in steady, declining, noisy and seasonal sales
Where it struggles short gaps in bursty or strongly seasonal products. We show this on every result
OTHER RESULTS VALUE
AI figures confirmed by the fact-checker in a live briefing 12 of 12
Flagged customers who ordered again within 100 days (historical replay) 7 (£16,044)
Speed ~6 seconds for 1 million rows
Automated tests 291 passing

Challenges we ran into

WHAT WENT WRONG THE FIX
Our "smart" rule failed. We first flagged customers who were late for their own usual reorder rhythm. On real data it predicted nothing: flagged customers came back as often as everyone else We threw it out. Plain silence (no order in 90 days) held up on a tuning date and a later date it was never tuned on, so that's what ships
Our stock-out detector cried wolf, flagging 72 of 300 bursty products that never ran out We adjusted for burstiness and added a Benjamini–Hochberg step, then measured on fresh data: 1 false alarm in 1,530
A reviewer got different numbers (24 and 13 flagged instead of 25 and 14) The "unknown customer" placeholder was being ranked as a real customer. It's now excluded, and a test checks it
After a redeploy, open tabs crashed because old code chunks were deleted A loader that reloads once with a 15-second guard, plus smart caching. Proven by blocking a chunk on purpose in a browser test
The AI key was saved under the wrong variable, so the server started without AI Fixed, and the health check now reports whether AI is on
Film grain turned the whole 3D scene grey Grain now multiplies the image instead of adding to it
£93.5K showed up rotated 99° because the camera roll never unwound The roll eases back to level before the reveal
A shader drew square particles because a smoothstep had its edges reversed Rewritten as 1 - smoothstep(0, .5, d) for soft, round dots

Accomplishments that we're proud of

  • It found real money in a real shop: £93,531 a year in quiet top customers, verified to the penny by two independent programs.
  • Its warnings mean something: flagged customers stayed away 4–10× more often (p ≤ 0.004).
  • The AI can't make up numbers: every figure is checked against the engine before you see it.
  • Every number is traceable: click any finding and see the exact rows behind it.
  • It closes the loop: finding → contact list → drafted note → recheck of who came back.
  • It says "I don't know": when there isn't enough data, it tells you what's missing instead of guessing.

What we learned

  • A clever rule isn't a true rule. Our favorite idea failed on real data. Testing on dates the rule never saw is the only honest way to know.
  • Owners trust rows, not big numbers. Showing the actual orders behind a finding changed everything.
  • Let the AI write and the code compute. That split made the AI useful, because every claim can be checked.
  • Correlation isn't cause, so we say so. A sales file can't tell a lost customer from one who closed or switched supplier. We call them customers worth contacting first, not lost customers.
  • Insight without action is just a report. The follow-up loop is what makes owners come back.

What's next for BlindSpot

NEXT WHY
Weekly alerts the week a top customer goes quiet Catch it at day 45, not day 235
Reply tracking So the loop closes on its own
Pilots with real merchants To measure how much revenue the loop actually brings back
Compare with similar shops "Is this normal for a shop like mine?"

Customer #15749 went quiet for 235 days and nobody noticed. With BlindSpot, someone would have noticed on day 90.

Try it

Live: https://blindspot-pro.onrender.com. Open the guest demo on a real shop's data, no sign-up needed. (The free server may take up to a minute to wake on the first visit.)

Built With

Share this project:

Updates

Submission history