Home › Use Cases › Every special-handling requirement a booking packet states, and the line that says so
Use caseUC0341
🧪 Use-case kit · runnable

Every special-handling requirement a booking packet states, and the line that says so

A small, forkable project that does one job end to end. Run once for real, and every figure on these pages captured from that run.

The business caseThe problem this solves

A booking request arrives with five attachments and a special-instructions box. Somewhere across them the shipper has said what is special about this consignment - dangerous goods, a temperature range, a piece that is over size or over weight, a security regime, an appointment, a liftgate, an instruction not to stack. Today somebody on the operations desk reads all of it, types the rows into the TMS, and emails the shipper about the ones that are not workable. What goes wrong is not usually a wrong row: it is a sentence in a packing list that nobody read, and a consignment planned as ordinary freight. reading five attachments and a special-instructions box to type the special-handling rows into a booking, and working out which of them the shipper still has to be asked about

Audience

An operations manager deciding whether a model belongs in front of a booking desk. The answer this report gives is a qualified one: on this corpus the paid call and a free regex floor score four packets apart out of 62, paired exact p = 0.5413, which is a tie - and they fail in OPPOSITE directions, which is the thing worth buying or refusing. Every number on these pages came from one real run of this code, not from a vendor page.

The inputThe actual booking packets

The corpus is 62 booking packets, 0.11 MB (txt 62). Because a real one cannot be published. A booking packet names both counterparties, the commodity, the lane and the volume on its face; it is commercially confidential to two companies at once and one of them did not choose to be in anybody's dataset. A dangerous-goods packet adds a compliance record to that. So the corpus is manufactured, declared as such, and rebuilt byte for byte under two different PYTHONHASHSEEDs so the answer key is checkable rather than asserted. What it buys the measurement, and what it costs it, is attacked in seven named ways in data/SOURCES.md.

The corpus

  • The 62 booking packetsgenerated from a fixed seed, so no real record, person or institution appears in it.
  • Where each came fromwritten for this kit rather than collected — the corpus is generated in the kit's own repository, so there is no third-party data in it.

Swap this folder for your own material and the kit is pointed at your booking packets. That is the whole change — there is no database to migrate.

One booking packet, as the model receives itSHB-0001.txt · 1 of 62
BOOKING REQUEST PACKET   SHB-0001
==============================================================================

BOOKING FACTS
  Booking reference     BK-2026-1007
  Shipper               Brightwater Foods Inc
  Consignee             Weld Basin Cold Store
  Origin                Brightwater, OH
  Destination           Weld Basin, CO
  Commodity             chilled dairy concentrate
  Service requested     FTL, dedicated
  Pieces                5 pallets
  Gross weight          3,061 lb
  Requested pickup      2026-02-07
  Request received      2026-02-03
  Special instructions  None stated on this request.
  Receiving office      Operations desk

ATTACHMENT INDEX -- what arrived with the request, and the type it was logged under
  A1   Packing list                         received 2026-02-03
  A2   Shipper's letter of instruction      received 2026-02-03

ATTACHMENT A1 -- Packing list
  Issued by      Brightwater Foods Inc, shipping office
  Covers         booking BK-2026-1007
  Reference      BK-2026-1007-A1
  Pieces on this consignment                            5 pallets
  Cartons declared across those pieces                  67

ATTACHMENT A2 -- Shipper's letter of instruction
  Issued by      Brightwater Foods Inc, traffic office
  Covers         booking BK-2026-1007
  Reference      BK-2026-1007-A2
  Prepared by                                           Brightwater Foods Inc
  Applies to booking                                    BK-2026-1007
  No dangerous goods are carried on this consignment; the hazmat entry on the previous booking does not carry over.

REQUEST NOTES
  Received by the operations desk on 2026-02-03. Nothing further recorded.

The outcomeWhat a good result looks like

Every family the packet states, captured as a row; every family it states without what an actionable row needs, named so the shipper is asked for exactly that; and one line quoted verbatim behind the family that most constrains the booking.

And when it cannot

It fails in two directions and they are not the same size. Downward: a family stated in an attachment is read past and the consignment is planned as ordinary freight - the fast tier did that 0 times of 62 here and the free rules floor 5. Upward: a workable row is marked as needing shipper confirmation and somebody is emailed for a UN number they already sent - the fast tier did that on 8 of the 27 clean packets and the free floor on 3.

Where it fitsWhat did work

Every line below is a measured result from this kit's own runs, with the figure that supports it. The headline above is not softened by any of them.

  • Your packets are fixed-layout and your shippers write instructions the way your procedure says — the free rules floor
    it scores 41 of 62 here and 10 of 10 on the packets written in the ordinary vocabulary, for $0.00 and no key
  • Your shippers quote last month's booking, or say a family does NOT apply — the model call
    the floor gets 0 of the 6 packets whose only mention of a family is what an earlier consignment needed, and 7 of the 7 that name a family and rule it out; the call gets 6 and 7
  • What you most need is never to plan a consignment as ordinary freight when it is not — the model call
    0 of 62 here against the floor's 5. It is the failure nothing downstream catches, because nothing downstream was told
  • What you most need is not to email shippers about rows they already answered — the free rules floor
    it chases 3 of the 27 clean packets and the call 8. The call over-marks the unresolved set and that is its weakest field

At a glanceHow the whole thing runs

19–73%all five graded fields right, after the recheck
1,611 msp50, end to end
$2.82per 1,000 booking packets · Gemini 3 Flash

Run once, for real, on 2026-09-09. Every figure on these pages was captured from that run — nothing is written from intent.

14 steps, grouped by the question that sends you to them rather than by build order. Each tile carries the one figure that step is about, and opens the page behind it.

Should you use this?What you bring, where it stops, and when not to use it

Before you commit an afternoon to this, these are the answers that decide it. Each one is rendered from the record it lives in — and links the page that holds it in full.

What do I have to bring?Drop your own packets into data/corpus/ as .txt in the same five-panel shape, add one row per packet to data/bookings.json carrying only its register state, and label them in data/gold.jsonl. Every percentage on this page stops applying the moment you do. Corpus lens →
When is this the wrong choice?Avoid: A model call, until you have measured the floor on YOUR packets. It is the arm this kit could not beat at p < 0.05. That is the case against the best-fitting scenario (“Your packets are fixed-layout and your shippers write instructions the way your procedure says”). 4 scenarios scored in all, each with its own. Eval lens →
Where does it stop working?A SCAN OR A PDF. src/segment.py is four regular expressions over labelled lines. 8 recorded failure modes, each from a run rather than a guess. Corpus lens →
What was never verified?ONE scored run, one model, one tier. Nothing here says whether a larger model marks the UNRESOLVED set better - and that is the field this arm loses on, so it is the entire commercial question and it is open. 9 items this kit says it could not check. Eval lens →
Can I run this on a model I control?Yes — any OpenAI-compatible endpoint, including one on your own hardware. The shipped adapter takes its host from BASE_URL and its model from MODEL, so nothing in src/ changes. The published figures come from 1 model on the fast tier, one provider, one key. Prompt lens →
And if it fits — what do I stand up?8 artifacts with a stated home and a stated egress, and 3 decisions each with what you provision past its ceiling — plus what was not measured. That is the next page, not this one. step 14 — Run it in your environment →

Not asked of this kit — 2 questions: clone (a fresh clone of this kit runs with nothing fetched); judge (nothing here is graded by a model).

Last verified 2026-09-09 — r001-special-handling. Every figure on these pages was captured from that run.

Run itHow this reaches your data

Every result on this page was produced by pure code over checked-in files, with no API key — which is why you can read the numbers before anyone spends anything.

Run this on your own data

  • The pipeline, its eval harness and the runs behind every numberdeployed inside your environment, on your own model endpoints, against your own documents.
  • The corpus above is the shape, not the limitit is a folder swap, and there is no database to migrate.

Talk to us →

Checked before this shipped — A clean checkout with no key configured renders the whole board, computes both free floors on every packet, replays the committed scored run at $0.00 and scores the citation against character offsets. python3 tools/build_corpus.py --check rebuilt all 62 packets, the register, the key and the statistics byte for byte under PYTHONHASHSEED=0 and =12345. What a cold clone cannot do is call a provider: the model button is disabled and says so.

A living map of modern AI — kept current every morning