Supply chains · model checking
Can a simulated supply chain predict what a company owes its suppliers?
The contracts between companies are private. What a carmaker pays its battery supplier, and how fast, is in no filing. But the outline is public. A listed company files its cost of revenue and what it owes its suppliers every quarter. Customs records name many of the companies that ship to it.
We turn that outline into a small simulation of who orders from whom, ships, invoices and pays. Two model checkers then read the simulation: one finds the ways a rule can break, the other says how likely each is. This post shows the method and tests one thing it predicts against what companies later filed.
mean confidence, the default graph
One graph for every company is a weak predictor
Over 649 quarters filed after the cutoff, the default graph was off by 33% on average. Carrying the last payables filed forward was off by 14%.
Read how we measured itmean confidence, companies paying in 45 to 80 days
It holds where its pace matches
The default graph pays in about 63 days. For the 40 company-cutoffs paying in 45 to 80 days it scores 0.793, against 0.844 for the last filing.
Read how we measured itof filed quarters inside the 80% band
Its band is too narrow
An 80% band should hold 80% of what is filed. It held 447 of 649, and only 32% for companies that pay in more than 80 days.
Read how we measured ita drafted Tesla map, checked in 1.5 s
Both checkers run on every edit
TLC finds the shortest way a rule breaks. Storm gives the chance it breaks within the window and the long run the payables come from.
Read how we measured itTry it yourself
What does a company owe its suppliers?
- Pick a public company and a date, or type any ticker
- Change how fast each step moves and see the graph checked again
- Its predicted payables against every quarter it filed, with a confidence score
Checking is free. A drafted map needs a sign-in, and the first ones are free.
Map a supply chainThe method
How is a supply chain written down and checked?
A map is a short YAML file. Its nodes are companies: the public one, its private suppliers, and a lender. Its edges say who sells to whom, and how many times a day, on average, an order moves from one step to the next: ordered, shipped, invoiced, paid. A credit line is an edge from the lender.
name: Defaults
window_days: 90
steps: [ordered, shipped, invoiced, paid]
nodes:
- {id: tesla, kind: public}
- {id: main_supplier, kind: private}
- {id: materials_supplier, kind: private}
- {id: parts_supplier, kind: private}
- {id: tier2_a, kind: private}
- {id: tier2_b, kind: private}
- {id: bank, kind: lender}
edges:
- {from: main_supplier, to: tesla, rate_per_day: {ordered: 0.4, shipped: 0.07, invoiced: 0.33, paid: 0.0159}}
- {from: materials_supplier, to: tesla, rate_per_day: {ordered: 0.2, shipped: 0.07, invoiced: 0.33, paid: 0.0159}}
- {from: parts_supplier, to: tesla, rate_per_day: {ordered: 0.2, shipped: 0.07, invoiced: 0.33, paid: 0.0159}}
- {from: tier2_a, to: main_supplier, rate_per_day: {ordered: 0.3, shipped: 0.05, invoiced: 0.33, paid: 0.028}}
- {from: tier2_b, to: main_supplier, rate_per_day: {ordered: 0.3, shipped: 0.05, invoiced: 0.33, paid: 0.028}}
- {from: bank, to: main_supplier, kind: credit_line, draw_per_day: 2.0, repay_per_day: 0.1}
invariants: [AnchorCap, FlowConservation]From the one file we write two models. The first is a TLA+ module. TLC tries every order the steps can happen in and reports the shortest path to a broken rule, such as a supplier that owes more than it holds and is owed. The second is a continuous-time Markov chain in the PRISM language. Storm computes the chance each rule breaks within the window, and the long run of each company’s payables: how many orders it owes on average, and how many it pays a day.
A map drafted for Tesla with three suppliers and a lender reached 224 states, and both checkers finished in 1.5 seconds. A larger Tesla map reached 18,816 states in about 6 seconds. A map that would pass 200,000 states is refused before either checker runs.
A map can be drafted by a language model from the company’s 10-K figures and the suppliers named in customs records it already holds, or started from a default graph and edited by hand. Either way, every change is checked again.
The prediction
How does a simulation become a dollar figure?
By Little’s law. In the long run the public company owes some number of orders and pays some number a day, so an order waits their ratio in days to be paid. Times the cost of revenue a day, that is the dollars it owes its suppliers at any quarter end. The spread of orders owed gives an 80% band around it.
The default graph owes 2.62 orders and pays 0.0416 a day: about 63 days. That figure can be checked against every 10-Q and 10-K the company files later. The page scores it as one minus the mean absolute percentage error, so 1.000 is exact and 0.800 is off by a fifth on average.
The eval
How close does it come to what was filed?
We took 43 US manufacturers and retailers and two cutoff dates, 30 June 2023 and 30 June 2024. Each predictor saw only filings filed on or before the cutoff. Each was scored on the payables filed for every balance-sheet date in the two years after it: 649 in all.
We compared the default graph with two simple predictors. One carries the last 10-K’s days payable forward at the same cost of revenue; a map whose rates reproduce that figure predicts exactly this, by the same law. The other carries the last payables filed forward unchanged.
The default graph scored 0.665. The 10-K’s days payable scored 0.825 and the last filing 0.861. One graph for every company is not a good predictor of what a given company owes: it beat the last filing on 20 of the 86 company-cutoffs.
| Predictor | Mean confidence | Median | Scoring 0.8 or more | Inside the 80% band |
|---|---|---|---|---|
| The default graph | 0.665 | 0.652 | 30 of 86 | 68.9% |
| Last 10-K's days payable, carried forward | 0.825 | 0.880 | 62 of 86 | |
| Last payables filed, carried forward | 0.861 | 0.895 | 71 of 86 |
Where it works
Which companies does the default graph fit?
The ones that pay at its pace. Companies in this set paid in a median of 60 days by their last 10-K, with half between 47 and 96. For the 40 company-cutoffs that paid in 45 to 80 days, the default graph scored 0.793, close to the 10-K’s 0.815. For Tesla at the 2024 cutoff it scored 0.941 over eight quarters, ahead of the last filing’s 0.915.
Outside that range it falls away: 0.473 for companies that pay in under 45 days, 0.610 for those that take over 80. A defense contractor paying in two weeks and a food company paying in four months need different graphs. That is the job of a drafted map.
Pays in under 45 days (19 company-cutoffs; the default graph’s band held 75%)
Pays in 45 to 80 days (40 company-cutoffs; the default graph’s band held 88%)
Pays in over 80 days (27 company-cutoffs; the default graph’s band held 32%)
Calibration
Is the 80% band honest?
Not yet. The band held 447 of the 649 filed quarters, 68.9% where it should hold 80%. Among companies paying in 45 to 80 days it held 88%, so it is too wide there. Among those taking over 80 days it held 32%. The band says how much the simulation’s own payables vary, not how wrong its pace can be, so a wrong pace puts most quarters outside it.
What this does not show
What is left to measure?
A drafted map is given the company’s own days payable and asked for rates that reproduce it. So its payables prediction can at best match the 10-K line, and scoring it there checks that the model copied its input, not that the simulation knows anything more.
Instead every map drafted on the try page is kept and scored as its company files, beside the same two predictors. A map counts only once a quarter is filed after its date, and only if it was drawn from filings public by that date.
Live: the maps people have drafted
Every map drafted on the try page is scored here once its company files a quarter after the map's date.
The open question is the one payables cannot answer: when a map says a rule is likely to break, do its company’s suppliers in fact come under strain in the quarters after? That needs an outcome defined before it is measured, and it is the next eval.
Try it yourself
What does a company owe its suppliers?
- Pick a public company and a date, or type any ticker
- Change how fast each step moves and see the graph checked again
- Its predicted payables against every quarter it filed, with a confidence score
Checking is free. A drafted map needs a sign-in, and the first ones are free.
Map a supply chainThe same checkers on six small businesses: where does a business break when two things happen at once?
- All figures were measured on 24 November 2026 from SEC XBRL company facts.
- The 43 companies: AAPL, AMAT, AMD, BA, BBY, CAT, CL, CMI, COST, CSCO, DELL, DG, EMR, GD, GIS, GM, HD, HON, HPQ, HSY, INTC, ITW, KHC, KMB, KO, LMT, LOW, MDLZ, MMM, MU, NKE, NOC, NVDA, PEP, PG, PH, QCOM, ROK, TGT, TSLA, TXN, WHR and WMT. Five more we tried (DE, F, GE, KR, PCAR) were left out because their filings did not give an annual cost of revenue and payables under the names we read.
- Payables are AccountsPayableCurrent, else AccountsPayableTradeCurrent. Cost of revenue is the last 10-K’s annual figure filed on or before the cutoff. A restated quarter is scored at its latest filed value.
- Confidence is max(0, 1 − MAPE) per company-cutoff, averaged over company-cutoffs.
More head-to-head evals
| Measure | Physical Agent | Qwen3.5-4B |
|---|---|---|
| LIBERO frames answered with a tool call | 400 / 400 | 18 / 400 |
| Target movement per cm of object movement (median) | 0.02 cm | — |
| Measure | Particle-1 | DeepSeek V4.1 Flash | GLM-5.3-Flash |
|---|---|---|---|
| Rows right, blind | 91.2% | 89.4% | 90.8% |
| Median seconds per run | 375 | 315 | 144 |
| Measure | GLM-5.3 | DeepSeek V4.1 Flash |
|---|---|---|
| Right, of 75 | 75 | 71 |
| Seconds a question, median | 3.9 | 1.8 |
| Measure | First run | Best since |
|---|---|---|
| Landscape, seconds | 937 | 233 |
| Memo, seconds | 759 | 602 |
| Measure | Qwen3 235B | GLM-5.2 | Gemini 3.8 Flash | Claude Opus 5 |
|---|---|---|---|---|
| Seconds to the plan, median | 27 | 48 | 57 | 94 |
| Plans written, of three runs | 2 | 3 | 3 | 3 |
| Measure | SubQ | jev | Decider | Nimble |
|---|---|---|---|---|
| Found, mean of five columns at section length | 64% | 65% | 66% | 68% |
| Mechanism of action, found at section length | 57% | 51% | 61% | 54% |
| Measure | ask | Apollo | treg |
|---|---|---|---|
| Usable leads | 13 of 40 | 7 of 40 | 6 of 28 |
| Cost per usable lead | $0.037 | $0.27 | $0.23 |
| Measure | ask with jev | ask with Decider |
|---|---|---|
| Questions right, of 92 | 89 | 89 |
| Wrong answers | 1 | 2 |
| Measure | jev | ask |
|---|---|---|
| Our 370 clinical decisions, right | 94.6% | 93.0% |
| PubMedQA, right (best EdgeEvals scored: 62.2%) | 77.0% | 74.4% |
| Measure | ask | Claude Opus 5.5 |
|---|---|---|
| Questions right, of 95 | 59 | 63 |
| Small companies right, of 20 | 13 | 9 |
| Measure | realestate-us | Best of four assistants |
|---|---|---|
| Floor-plan rents right, of 26 | 26 | 23 |
| Amenities claimed the listing doesn't state | 12 | 129 |
| Measure | ask | jev |
|---|---|---|
| Right, of the questions answered | 98% | 79% |
| Wrong answers, of 92 | 2 | 19 |
| Measure | Trained localiser | Best of four frontier models |
|---|---|---|
| Mean overlap with the defect (IoU, 0 to 1) | 0.421 | 0.109 |