Skip to content

How accurate is it?

U.S. origin predictions compared with 377 real CBP rulings, Jan–Sep 2026. Covers single-origin U.S. rulings under CBP’s main origin testSubstantial transformation: the origin is the last country where the product became a new article, with a new name, character or use. only, not every market or rule set.

Gemini may have seen some of these rulings in pretraining; we can’t measure how many.All 37 misses listed below

Overall accuracy
90.2%
340 / 377 right on the unseen test set. 63.4% for the first-country baseline.
Right when it was sure
96.0%
288 / 300 right when the model’s own confidence was ≥ 0.92, the bar at the time, and the case was in scope, so it was accepted without review. Today’s bar is 0.90 on calibrated confidence.
Sent to human review
20.4%
77 sent to review. The model had 52 right and 25 wrong.

9 of 9

Moves that matched Customs' later answer

18 before-and-after Customs cases · every move it showed was right · it found 9 of the 12 real changes

Where every ruling landed

one tile per CBP ruling
  • Auto-accepted, right288
  • Auto-accepted, wrong12
  • Human review, right52
  • Human review, wrong25
Test set and confidence intervals

The 95% Wilson intervals are 86.8–92.8% overall and 93.1–97.7% for auto-accepted cases. They describe sampling uncertainty in the official Gemini on Vertex AI run. Repeat runs are measured separately.

The displayed confidence bar of 0.90 selects the same in-scope cases as the stated bar of 0.92. The original threshold selection also considered these rulings. The current displayed threshold comes from development rulings. Prompts were not tuned on them.

The case verdict stayed out of the evidence for each prediction. Earlier dated rulings could be retrieved. Gemini’s pretraining exposure is unknown. The first-country baseline used the same cases. The earlier LiteLLM proxy run scored 89.9% against 90.2% on Vertex AI (McNemar p = 1.0).

Other tests

Where it was wrong· the 37 misses, one by one

Known failure cases

official run37 of 377 wrong · 12 auto-accepted

All 37 of 377, not a selection. The 12 auto-accepted ones come first: nobody checks those, so they cost the most.

RulingDateProductCBP heldUndeLabs saidConfidence (model said)Route
N3568792026-01-09The tariff classification, country of origin and marking of Red Chili Pepper PowderSouth KoreaChina0.99 (0.98)auto-accepted
N3571952026-01-13The country of origin of crystal lampsIrelandChina0.90 (0.92)auto-accepted
N3580602026-02-11The country of origin of worked abalone shells.ChinaThailand0.90 (0.95)auto-accepted
N3578172026-02-12The country of origin of wheel hub unitsChinaMalaysia0.90 (0.95)auto-accepted
N3583712026-02-12The country of origin of a wheel hub assemblyChinaMalaysia0.90 (0.95)auto-accepted
N3598662026-04-03The classification and country of origin of a gold necklaceIndiaUnited States0.90 (0.92)auto-accepted
N3604302026-04-24The country of origin of a fracking unitUnited Arab EmiratesChina0.90 (0.92)auto-accepted
N3611412026-05-21The country of origin of a marking crayonChinaMalaysia0.99 (0.98)auto-accepted
N3615242026-06-04The tariff classification and country of origin of Frozen SquidChinaSouth Korea0.99 (0.99)auto-accepted
N3621972026-07-06The tariff classification and marking of a Range Doctor kit from South KoreaChinaSouth Korea0.90 (0.92)auto-accepted
N3628562026-08-04The country of origin of an air compressor assemblyBrazilChina0.90 (0.92)auto-accepted
N3639082026-08-28The country of origin of a single cylinder deadbolt locksetChinaTaiwan0.90 (0.92)auto-accepted
N3571062026-01-07The country of origin of a track shoeItalyUnited Kingdom0.60 (0.85)sent to review
N3573322026-01-14The country of origin of an automatic spring-loaded center hole punchChinaVietnam0.60 (0.78)sent to review
H3525042026-03-04Country of origin of Paper Grass; Section 301ChinaVietnam0.78 (0.90)sent to review
N3576542026-03-05The country of origin of an impregnated activated carbonSouth KoreaChina0.78 (0.90)sent to review
N3591382026-03-06The country of origin of a Broadcast SpreaderCambodiaChina0.60 (0.85)sent to review
N3590022026-03-20The tariff classification, country of origin, and marking of five carbon steel pan setsTaiwanUnited States0.60 (0.85)sent to review
N3592202026-03-24The country of origin of a Hand-Held SpreaderCambodiaChina0.60 (0.85)sent to review
N3595462026-03-26The country of origin of a soda-lime glass stoneThailandChina0.78 (0.90)sent to review
N3595542026-03-26The country of origin of a prismatic battery cellThailandChina0.78 (0.90)sent to review
N3596022026-03-27The classification, country of origin, and marking of pea protein isolateCambodiaChina0.60 (0.85)sent to review
N3594562026-03-30The tariff classification, country of origin, and marking of a carbon steel pan setUnited StatesTaiwan0.60 (0.85)sent to review
N3595222026-04-01The country of origin of a Stainless-Steel Eye and Face Wash Bowl Wall Mount SystemChinaThailand0.78 (0.90)sent to review
N3600182026-04-02The country of origin of lithographed tinplate steel sheetColombiaChina0.60 (0.85)sent to review
N3603252026-04-28The country of origin of a suspension strutThailandChina0.78 (0.90)sent to review
N3606012026-05-05The country of origin of hydraulic power steering rackChinaThailand0.78 (0.90)sent to review
N3621212026-06-26The country of origin of a paint sprayerThailandVietnam0.60 (0.85)sent to review
N3624882026-06-26The Country of Origin of Frozen Alaskan PollockUnited StatesSouth Korea0.60 (0.78)sent to review
N3625242026-07-08The tariff classification and country of origin of a 6-Piece Hand Tool SetVietnamChina0.78 (0.90)sent to review
N3637002026-08-07The country of origin of a LiDAR ModuleThailandChina0.60 (0.78)sent to review
N3635542026-08-12The country of origin of a red heat bulbChinaThailand0.60 (0.85)sent to review
N3639192026-08-24The country of origin of wheel hub unitsMalaysiaChina0.60 (0.85)sent to review
N3641472026-08-26The country of origin of a washer fluid tank assemblyChinaThailand0.60 (0.85)sent to review
N3638162026-08-27The country of origin of throttle bodiesThailandChina0.60 (0.85)sent to review
N3642962026-09-11The country of origin of a metal decorative garden stake with light-emitting diode (LED) lights.VietnamChina0.60 (0.85)sent to review
N3643852026-09-11The country of origin of a metal decorative garden stake with light-emitting diode (LED) lightsVietnamChina0.60 (0.78)sent to review

Accuracy by the origin CBP held

origins with 19 or more rulings
Thailand90.9% 60/66
China77.2% 44/57
United States96.2% 51/53
Vietnam93.5% 43/46
Malaysia97.1% 34/35
South Korea90.9% 20/22
Taiwan94.7% 18/19
26 others88.6% 70/79

Which way the misses go

  • CBP held China, UndeLabs said another country: 13 (7 auto-accepted). This is the costly direction: the product would still count as made in China.
  • UndeLabs said China, CBP held another country: 18 (4 auto-accepted).
  • Neither was China: 6.
What the misses have in common· Our reading, not a measurement.
  • Machining or assembly in the last country, where CBP held the imported core part decides. Two near-identical wheel-hub rulings were both missed at 0.95.
  • Simple processing of one material credited as a transformation: wax melted and cast into a crayon, worked abalone shells.
  • Choosing by the most subassemblies, where CBP held one essential part decides: an air compressor took the origin of its motor.
  • Goods outside the product's target, food and natural products, still placed in scope by the router.
  • Kits, where CBP rules item by item and the label follows one item.
Details

Source: the official run on the unseen test set, every row. Confidence is the calibrated value the product shows (auto-accept at 0.90), with the model's stated value in brackets (0.92 on that scale). Bars show 95% intervals. Rebuilt by eval/charts/build_trust_data.py.

Production-move plans· how often the suggested move matched

Production-move plan evaluation

18 before-and-after CBP pairs across 3 runs.

CBP's starting origin supplied

  • Plan precision9/9 (100%)
  • Real shifts found9/12 (75%)
  • False positives on unchanged goods0/6 (0%)

Starting origin not supplied, same in each run

  • Real shifts found5/12 (42%)

Stability: 27/27 repeat checks were right across 3 runs, on the same 9 distinct pairs. Independent result: 9/9 distinct pairs (95% interval 70.1–100%).

Checks selected moves against past rulings.

Repeat runs and intervals

95% intervals per run: Plan precision 70.1–100% · Real shifts found 46.8–91.1% · False positives on unchanged goods 0–39.0%. Without the starting origin, in each of the 3 runs: real shifts found 19.3–68.1%. The same 18 pairs were measured three times through the LiteLLM gateway. All 27 shown checks were right across the three runs. Repeats reused the same nine shown moves, so they are not 27 independent pairs; the interval for the 9 distinct pairs is 70.1–100%.

Strict count: 17/59 real changes passed in every run on the earlier development and 2026 pairs. That count includes checks with and without CBP's starting origin. Parts of the earlier 2026 test informed the prompt.

The plan runs used Gemini through an OpenAI-compatible gateway. The official 377-ruling origin figures used Vertex AI. This evaluates the precedent check on selected moves. Full plan search, ranking and economics were outside the test.

Other markets· RCEP, Japan, USMCA, ASEAN

Market evidence

RCEP trade-deal check

All 98 unseen Japan Customs rulings qualified in the published decisions.

71/98 yes27 undetermined0 said no · 0 input errors

71/71 deciding criteria matched.

Refusal performance on real cases remains unmeasured. Customs specialist review is pending.

RCEP evaluation details

The calculator applies published rules without a model. All 162 development and 71 unseen synthetic tariff-code variants were undetermined.

See evaluation results and intervals →

Canada marking
Checks the marking rules only. No accuracy figure.
EU and UK origin
Checks the list rules only. No accuracy figure.
Japan model
Open. Right rule on 37 of 44 new rulings. Details below.

Japan: tested on new rulings

44 Japan Customs rulings published after our 22 Nov copy. All 44 approved the preference. Run through our gateway, with the model and evidence the live site uses.

Right rule named
37/44 (84.1%, 95% interval 70.6–92.1%)
Right rule, after the user answers the question card
42/44 (95.5%, 84.9–98.7%)
Development rulings, same two steps
272 → 374/400 (93.5%, 90.7–95.5%)
Made-up non-qualifying cases approved
0/80
Japan test details

One run each, no retries. The question card asks which materials have no proof of origin. The figures after it assume the user answers it; the answers here are taken from each ruling's own account of the facts. Without answers, a case with missing facts stays undetermined.

With the card answered, the EU agreement went from 128 to 179 of 181 development rulings. The development set was used to build the model, so it is not a blind test.

The 44 new rulings lean to easy agreements: at the development rates, about 32 would be expected right. 41 repeat an earlier request. With those earlier rulings removed from the precedents, the same 37 were right. The 7 misses: 5 undetermined and 2 named a different rule that also applies.

Every ruling here is an approval, so they cannot show wrong approvals. For that, 80 made-up cases that should not qualify were run: 0 approved. They are constructed, not real rulings.

Earlier test, 24 Nov, before the rule text and evidence changes, on 633 earlier rulings: 260 matched the ruling's criterion (41.07%, 37.31–44.95%), 363 undetermined. That test is used up: its rulings have since served as precedents. The figures above replace it.

Review by a Japanese customs specialist is pending.

See the Japan results →

USMCA, ASEAN and textile rules checks

USMCA origin rules (General Note 11), agreement with CBP on decided products
21/23 (91.3%, 95% interval 73.2–97.6%)
Textile origin rules (19 CFR 102.21), agreement with CBP on decided rulings, third test
26/27 (96.3%, 95% interval 81.7–99.3%). Decided 27 of 58 rulings of 2012 to 2018. Second test 79/122, first test 13/14.
Original authority examples

ASEAN (ATIGA) worked-example agreement: 100% (7/7) match the declared outcomes or rule checks.

Constructed rule checks: 100% (35/35). Real-world accuracy is not measured.

Korea 8/8, China 3/5 reach the stated result. Not an accuracy rate. Both checks remain off on the live site.

Anti-dumping and countervailing duty check

Flagged parts that were within an order
113/118 (95.8%, 95% interval 90.5–98.2%)
Parts within an order that were flagged
113/131 (86.3%, 95% interval 79.3–91.1%)
Cases the reviewers split on
67 of 3409 (2.0%); flagged 15
Close calls Commerce ruled on, 2017 to 2018
20/41 flagged rightly (48.8%), 20/38 found (52.6%)

Measured on everyday imports where three independent reviewers agree. Where they disagree, a person must decide. Matching the code alone: 98/394 (24.9%).

Rules check details

USMCA: held-out CBP rulings dated 2026 and later, scored once. The check decided 23 of 59 products and left 36 undecided, mostly for a missing material code or a rule it does not model. The figure covers only the decided products. It was built on rulings before 2026.

Duty orders: 3409 customs rulings on everyday imports from countries with an order, made in 2024 and 2025. The method was written down before they were labelled. Three models from different makers read each order that could cover a part and said within, outside or unclear; a case counts only when they do not split (3342 of 3409). A model reads each candidate order's whole written scope, appendix included, against the part's name, and the check flags an order when the model says within, or cannot tell and leans within. The labels are models', not Commerce's, and the descriptions were written by a model from the ruling; a bare part name carries less. The check cannot see goods that reach the order through a third country. It only shows possible exposure; the order's written scope decides.

The 94 Commerce scope rulings of 2017 to 2018 are products near the edge of a scope. There the same method flagged rightly 48.8% (interval 34.3–63.5%) and found 52.6% (37.3–67.5%), so a part that is a close call needs a person. The method before it, on 44 rulings of 2023 to 2024, got 57.1% and 44.4%.

Textile: the third test, 62 rulings of 2012 to 2018, met the bar written down before it was scored (85% on at least 15 decided): 26 of 27 decided agree with CBP, and the interval's low end is under 85. The second test missed it: 79 of 122 (older rulings 31/69, 2023 to mid-2025 48/53), mostly because older labels named China where CBP held Hong Kong. With the labeller fixed afterwards those rulings give 110 of 118, read after the result. The first test, 88 rulings of 2026, had 14 decided, one short. This is a display-only cross-check; it does not decide the most important process.

ATIGA: 7/7 published worked examples match their stated outcomes or rule checks. A further 35/35 constructed cases check thresholds, tariff changes, cumulation and missing facts. These are not independent customs decisions or a blind test; no suitable public decision dataset was verified in our search. Singapore's biscuit example prints 36%, while its values calculate to 36.67%; both fail the 40% threshold. See every ATIGA test result →

ASEAN-Korea and ASEAN-China: no published rulings either. The 13 examples come from a Malaysian trade ministry guide and a Japanese trade agency guide. The 2 China examples not reached were refused because the input named a method the agreement does not have; with that fixed they match. The China table is HS 2017.

See the USMCA result →

Generated challenge testsTechnical· made-up cases it should refuse

Generated challenge tests

Generated rule, case and document variations, including expected refusals and requests for missing facts. Separate from real-case studies; policy changes are illustrative. Errors stay in the counts.

CapabilityChecks passed
ATIGA rules99.4%168/169
AKFTA rules100%169/169
ACFTA rules95.5%147/1546 errors included
RCEP rules99.4%179/180
USMCA preferential rules100%210/210
Textile origin (19 CFR 102.21)100%146/146
Tariff-watch rate changes100%108/108
Move verificationGiven moves; starting origin supplied, not plan search. Errors are not correct refusals.Related source rulings remained available; this is not a source-clean holdout.
Shown moves correct
47/47
Valid changes shown
47/100
Unchanged controls withheld
99/100
Missing-fact controls withheld
20/20
90.5%199/2201 error included
Textile origin modelPost hoc: the deployed textile prompt scored once on 114 cases the author had already scored and seen, at the deployed 0.95 bar. Not a new holdout.
Decided correct, confidence ≥ 0.95
90/92
Missing facts reviewed
18/22
94.7%108/114
Pharmaceutical originFrozen candidate scored once. The 113 cases include 12 formulated pesticides outside the current router's pharmaceutical scope; labels apply the engine's own rules to new facts.
Decided correct, confidence ≥ 0.92 (study)
82/85
Missing facts reviewed
28/28
In current routing scope
101/113
100%113/113
U.S. marking originFrozen candidate scored once. 9 of 112 cases would still be auto-accepted wrongly at the deployed 0.95 bar (3 decided, 6 with a missing fact).
Decided correct, confidence ≥ 0.92 (study)
85/88
Missing facts reviewed
18/24
Wrong auto-accepts
9/112
92%103/112
Japan preference modelPost hoc: the unmodified engine scored once on 112 cases the author had already scored and seen. Includes 13 potential HS-edition issues (approximate check against HS 2017 and 2022 code lists) and 9 cases refused before any model call.
Decided cases correct
74/76
Model withheld on missing facts
21/27
Valid qualifying criteria
37/37
92.9%104/112
Choosing the right rulesScored once. 327 specialist cases and 110 general-origin controls are counted separately; pesticide cases and Japan are not routed.
Specialist routing correct
317/327
General controls correct
108/110
Pharma routing correct
91/101
97.3%425/4371 error included
BOM image extractionSynthetic images; not real photos or handwriting.52/132 sheets have only 1–2 parts; 21/24 sheets with 12+ parts matched.
Exact name matches
629/632
Stated origin fields matched
618/621
Missing origins documented
11/11
Sheets with 12+ parts matched
21/24
97.7%129/132
Sources and test limits

Related variations can share the same source rules or examples. Case counts are not counts of independent legal decisions. Each record identifies its development and test data, expected answers, failures and limits.

  • ATIGA rules: 27 source groups · results and limits
    • The label oracle reads the same embedded rule-row data as the engines and its ACFTA chapter and heading lists mirror the engine profile, so this study does not independently validate the transcription of the source tables or those legal-list choices.
    • Synthetic cases written by the implementer from the cited rule rows and treaty clauses with knowledge of the engine interface: not blind authoring, not independent customs rulings.
    • Development and reserved test cases share scenario families; only the test-only families are unseen in development.
    • Near-duplicate and parent-linked cases are not independent observations; no population confidence interval is claimed.
    • Case labels follow the supplied facts; where an input is silent the rule is not assumed met.
    • ATIGA rules are read from the HS 2022 Annex 3 table in the engine; direct consignment, packaging, accessories and neutral elements are not scored.
  • AKFTA rules: 28 source groups · results and limits
    • The label oracle reads the same embedded rule-row data as the engines and its ACFTA chapter and heading lists mirror the engine profile, so this study does not independently validate the transcription of the source tables or those legal-list choices.
    • Synthetic cases written by the implementer from the cited rule rows and treaty clauses with knowledge of the engine interface: not blind authoring, not independent customs rulings.
    • Development and reserved test cases share scenario families; only the test-only families are unseen in development.
    • Near-duplicate and parent-linked cases are not independent observations; no population confidence interval is claimed.
    • Case labels follow the supplied facts; where an input is silent the rule is not assumed met.
    • AKFTA Appendix 2 rows with provisos on materials are scored only where the case states the facts the proviso needs.
  • ACFTA rules: 24 source groups · results and limits
    • The label oracle reads the same embedded rule-row data as the engines and its ACFTA chapter and heading lists mirror the engine profile, so this study does not independently validate the transcription of the source tables or those legal-list choices.
    • Synthetic cases written by the implementer from the cited rule rows and treaty clauses with knowledge of the engine interface: not blind authoring, not independent customs rulings.
    • Development and reserved test cases share scenario families; only the test-only families are unseen in development.
    • Near-duplicate and parent-linked cases are not independent observations; no population confidence interval is claimed.
    • Case labels follow the supplied facts; where an input is silent the rule is not assumed met.
    • ACFTA follows the 2019 Annex 1 and Attachment B (HS 2017); ACFTA 3.0 is not scored.
    • Dataset authoring defects, not engine defects: these cases carry method direct, which ACFTA refuses as invalid input, so their correct expected class is refused. The frozen labels and the first-run counts are kept unchanged; the post-hoc supplement is scored separately.
  • RCEP rules: 31 source groups · results and limits
    • The label oracle reads the same embedded rule-row data as the engines and its ACFTA chapter and heading lists mirror the engine profile, so this study does not independently validate the transcription of the source tables or those legal-list choices.
    • Synthetic cases written by the implementer from the cited rule rows and treaty clauses with knowledge of the engine interface: not blind authoring, not independent customs rulings.
    • Development and reserved test cases share scenario families; only the test-only families are unseen in development.
    • Near-duplicate and parent-linked cases are not independent observations; no population confidence interval is claimed.
    • Case labels follow the supplied facts; where an input is silent the rule is not assumed met.
    • RCEP Chapter 3 article numbers (3.2 to 3.7) were not verified against the treaty text in this study: the local agreement PDF is the Annex 3A rule tables, not Chapter 3, and the official chapter text could not be fetched. They follow the engine's citations and the ABF guide.
  • USMCA preferential rules: 12 source groups · results and limits
    • Cases are constructed from the General Note 11(o), 11(c), 11(e), 11(n) and 11(p) text by one author; they are not independent customs decisions or an i.i.d. sample.
    • The expected labels come from a separate reference oracle written from the same authority text; it does not independently validate the embedded rule data's transcription.
    • Cases share rule rows across inputs; source families and structural templates shared with development are counted, not hidden.
    • The check models simple goods; accumulation, remanufacture, automotive rules and the rayon exceptions of textile chapters are outside its scope and outside these cases.
  • Textile origin (19 CFR 102.21): 15 source groups · results and limits
    • Cases are constructed facts for rows of 19 CFR 102.21(e); they are not CBP rulings and carry no real-world confidence interval.
    • The reference oracle re-encodes the used rows by hand from the eCFR text; it does not independently validate the full embedded table.
    • Pure tariff-shift rows and the (c)(4) most-important-process judgment are documented abstentions: expected undetermined means the check declines, not that the law has no answer.
    • Free-text operation names are not parsed by these cases; the facts are given as structured stages.
  • Tariff-watch rate changes: 9 source groups · results and limits
    • Every revised data set is SYNTHETIC: a constructed next revision exercising one kind of change, not a government tariff action. Tariff lines, heading numbers and baseline rates are real.
    • Expected figures come from arithmetic on the case's own numbers by a reference oracle that shares no code with the candidate.
    • Rates are compared as whole units of 0.0001 and dollars as whole cents so platform float differences cannot change a label.
    • Revision-text cases render synthetic heading text in the HTS PDF-extraction layout; they test the reader, not the accuracy of any real notice.
  • Move verification: 49 source groups · results and limits
    • Labels are assistant-authored variations of already-known source pairs, not independent real rulings.
    • Multiple variants share each source parent; case counts do not mean independent legal sources.
    • Known starting origin is supplied. This measures given-move verification, not full plan search or ranking.
    • Authority/rule label quality and date-limited retrieval affect the result. No i.i.d. population interval.
    • The intended source-answer isolation was incomplete: selected endpoints were excluded, but related unselected-family N357930 and N366550 remained available. N357930 was cited in three results (none shown); no causal impact is claimed. Not a source-clean independent held-out study.
    • Of 53 unshown positive moves, 33 had the correct target/change but insufficient shown support; 20 had a wrong change decision.
    • Overall agreement includes expected support withholding on incomplete facts; it is not full plan-search accuracy.
    • Shown precision uses the 47 shown checks, not all 220 inputs. Positive recall uses the 100 actual-change cases.
    • One failed model response stays in the denominator; it is not counted as a correct refusal.
    • One packing-control input exceeds the production 7000-character facts limit and is truncated as production would; the 93 omitted characters describe final tuning, testing and quality assurance. Its result is retained.
    • The v4 development prompt was worse and rejected; production v2 behavior and the 0.92 shown threshold remain unchanged.
  • Textile origin, deployed engine: 34 source groups · results and limits
    • Post-hoc and current-configuration only: the original synthetic reserved textile cases had already been scored and seen by the author before this comparison, so it is not a new blind holdout and does not replace the original 114-case result.
    • Selected on the original development cases only, by a rule registered before any comparator call; one comparator score on the unchanged 114 reserved cases, no relabelling.
    • Gateway calls without the deployed engine cache, retry or fallback model; the deployed provider is Vertex. Graded at the deployed 0.95 textile bar.
    • Same synthetic-case limits as the study: oracle labels by the case author, shared templates with development.
  • Pharmaceutical origin: 7 source groups · results and limits
    • Synthetic cases written by the implementer from cited law and rulings; labels come from a reference oracle that shares no code with the candidate. Not independent real-world customs decisions.
    • Reserved cases were authored by the same hand and templates as development; they were not tuned on, but shared scenario templates are disclosed (templates shared with development: 12, source families shared: 7).
    • No claim of 100 independent legal sources and no i.i.d. confidence interval; the cases are parameter variations of a small set of rules and rulings.
    • 12 of the 113 reserved cases (6 of 48 development) are formulated pesticides; routing excludes them because router-v4 defines the pharmaceutical regime as drugs, vitamins and supplements, so 101 of 113 are route-eligible.
    • Expected labels apply the pharmaceutical rules in the engine's own prompt (HQ 563207, N334870, N336575, N355022, N349588, H341715); this measures consistent application of them, not validation of the rules.
  • Part 102 marking origin: 65 source groups · results and limits
    • Synthetic cases written by the implementer from cited law and rulings; labels come from a reference oracle that shares no code with the candidate. Not independent real-world customs decisions.
    • Reserved cases were authored by the same hand and templates as development; they were not tuned on, but shared scenario templates are disclosed (templates shared with development: 7, source families shared: 0).
    • No claim of 100 independent legal sources and no i.i.d. confidence interval; the cases are parameter variations of a small set of rules and rulings.
    • Only 102.20 rows of the form 'A change to ... from any other chapter, heading or subheading' were used; sets, composite goods, textiles and rows with exceptions are not covered. Production countries are Canada and Mexico.
  • Japan preference engine, as deployed: 28 source groups · results and limits
    • Post-hoc and current-configuration only: the original reserved Japan cases had already been scored and seen by the author; this is not a new blind holdout and does not replace the original 112-case result of the frozen cand-1 variant, which is unchanged.
    • The unmodified engine, one score, no tuning and no label or input change; the 13 potential HS-edition issues (cases with a code outside the schedule's edition by an approximate check against the HS 2017 and 2022 code lists; older editions are checked against HS 2017 only) stay in the denominator.
    • Gateway calls without the deployed engine cache, retry or fallback; the deployed provider is Vertex.
    • Same synthetic-case limits as the study: oracle labels by the case author, shared templates with development.
  • Legal-regime routing: 8 source groups · results and limits
    • Appropriate cases reuse the facts of the textile, pharmaceutical and Part 102 specialist cases (parents are visible); they are not independent of those cases.
    • Negative controls are real 2026 rulings whose recorded regime is substantial transformation; that label comes from the corpus labeller, not an expert.
    • Japan cases are not routed: the router has no Japan regime.
    • Pesticide cases (12 reserved, 6 development) are not routed, so routing covers 101 of the 113 pharmaceutical reserved cases.
  • BOM image extraction: 11 source groups · results and limits
    • Synthetic renderings of ruling-derived illustrative fixtures, not real photos, handwriting or independent customs cases. The original primary rulings were not newly reread for this image study.
    • Related documents share source components and layouts. Source families are disjoint across development and reserved test; eight rendering styles are shared, four are test-only.
    • Names use exact case/whitespace-normalized matching, not a model judge. Country aliases use a fixed map. Semantically equivalent paraphrases can therefore fail.
    • Whole-document agreement requires all expected confirmed parts and countries, no extra confirmed parts, and a warning plus no invented country for every missing-origin part. The production API withholds missing-country rows from confirmed components.
    • The language variation changes column headers only; the component names remain as in the English source fixtures.
    • The missing-origin footer explicitly says the supplier address is not a statement of part origin. Withholding 11/11 is on a self-labelled distractor in one layout, not an unlabelled-address challenge.
    • The bundled font can leave a visible glyph gap before the closing parenthesis. The strict scorer still treats the model's inserted space as a mismatch, not a legal or wrong-origin error.
    • All three reserved mismatches are an extra space before a closing parenthesis in the PCBA name; the three extracted rows are unmatched names, not independently established invented parts. Strict first scores remain unchanged.
Tariff watchTechnical· how changes are tracked

Tariff watch

Which China tariff lines a new HTS revision affects, checked against the Federal Register notices behind HTS revision 23 (10 Nov 2026). Rule based, no model.

Affected lines found
120/121 (99.2%, 95% interval 95.5–99.9%)
Wrong alarms
0 of 120 flagged (interval 96.9–100.0%)
New rate exactly right
4/4 lines
Tariff watch limits

Not a blind test: we read the notices while building the loader. It shows the loader reproduces documented changes, not that it finds unknown ones.

Scored twice. The first scoring had 6 wrong alarms of 120 flagged (95%). Reading them showed our answer key had missed lines the notices do name, so we fixed how we read the notices and scored again; the loader was not changed. Both runs are in D941.

One pair of revisions. The rate change is 4 lines, so 4 of 4 is a small test. No change to a base duty rate or a Section 232 duty was in this pair.

Not dollars: it finds which lines changed terms (an exclusion window or a start date). Exclusions are reported, not applied to the rate.

The 10,024 lines are every line our data gives a China duty or exclusion. The list of exclusions in the notice is a scanned image read by OCR, with three readings voted. One line, 6307.90.98, was missed: our data exempts it from the list its exclusion sits under.

Test set, intervals and limitsTechnical· how the 377 were picked

Test limits

  • Outside scope: EU Binding Origin Information, USMCA regional value content and preferential claims, certificates of origin, duty drawback, and antidumping and countervailing duty. Section 232 duties are not included in cost figures.
  • Pick the market when you start a check. The text check misses some.
  • Not a ruling. A licensed broker confirms before anything is filed.
More evaluation results and sources