rajuptvs-hal commited on
Commit
3fbd52f
·
verified ·
1 Parent(s): afe8ffd

Add benchmark data files

Browse files
data/STATISTICS.md ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # STATISTICS - eval split (900 records)
2
+
3
+ ### By source (tier1_source)
4
+
5
+ | key | count |
6
+ |---|---|
7
+ | BOL | 318 |
8
+ | catalog | 582 |
9
+
10
+ ### By HS4
11
+
12
+ | key | count |
13
+ |---|---|
14
+ | 2804 | 24 |
15
+ | 2805 | 4 |
16
+ | 2826 | 16 |
17
+ | 2844 | 1 |
18
+ | 2850 | 28 |
19
+ | 3707 | 29 |
20
+ | 3818 | 57 |
21
+ | 7104 | 5 |
22
+ | 7320 | 1 |
23
+ | 7326 | 1 |
24
+ | 7616 | 8 |
25
+ | 8443 | 1 |
26
+ | 8471 | 16 |
27
+ | 8473 | 68 |
28
+ | 8486 | 81 |
29
+ | 8504 | 81 |
30
+ | 8513 | 2 |
31
+ | 8514 | 22 |
32
+ | 8516 | 1 |
33
+ | 8517 | 11 |
34
+ | 8518 | 1 |
35
+ | 8523 | 34 |
36
+ | 8524 | 3 |
37
+ | 8526 | 2 |
38
+ | 8536 | 38 |
39
+ | 8538 | 3 |
40
+ | 8541 | 81 |
41
+ | 8542 | 81 |
42
+ | 8543 | 7 |
43
+ | 8544 | 12 |
44
+ | 9001 | 2 |
45
+ | 9013 | 1 |
46
+ | 9025 | 7 |
47
+ | 9027 | 6 |
48
+ | 9029 | 1 |
49
+ | 9030 | 81 |
50
+ | 9031 | 81 |
51
+ | 9405 | 2 |
52
+
53
+ ### By confidence tier
54
+
55
+ | key | count |
56
+ |---|---|
57
+ | high | 525 |
58
+ | low | 3 |
59
+ | medium | 372 |
60
+
61
+ ### By segment
62
+
63
+ | key | count |
64
+ |---|---|
65
+ | material | 164 |
66
+ | equipment | 113 |
67
+ | metrology | 176 |
68
+ | component | 413 |
69
+ | end_product | 34 |
70
+
71
+ ### By difficulty tag
72
+
73
+ 718 of 900 eval records (79.8 %) sit on at least one confusable HS boundary;
74
+ 84 carry more than one tag. A record is counted under every tag it carries, so
75
+ the per-tag counts below sum to more than 718. Tags come in two groups
76
+ (within-family sibling splits and cross-family frontiers); see
77
+ `construction/configs/boundary_tags.yaml` for the deciding criteria, and the
78
+ `boundary_note` field on each record for the human-readable rationale.
79
+
80
+ **Group A — within-family sibling splits**
81
+
82
+ | tag | count |
83
+ |---|---|
84
+ | 8541_siblings | 81 |
85
+ | 8542_ic_function | 81 |
86
+ | 8486_process_stage | 81 |
87
+ | 8504_power_splits | 81 |
88
+ | 9030_measurement_splits | 81 |
89
+ | 9031_inspection_splits | 81 |
90
+ | 8536_connection_splits | 38 |
91
+ | 3707_photochemical | 29 |
92
+ | 2804_gas_purity | 24 |
93
+ | 8471_adp_splits | 16 |
94
+ | 9027_analysis_splits | 6 |
95
+
96
+ **Group B — cross-family frontiers**
97
+
98
+ | tag | count |
99
+ |---|---|
100
+ | 8541_vs_8542 | 55 |
101
+ | storage_boundary | 45 |
102
+ | furnace_boundary | 20 |
103
+ | doped_vs_undoped | 18 |
104
+ | crystal_substrate_boundary | 16 |
105
+ | sensor_boundary | 15 |
106
+ | parts_attribution | 13 |
107
+ | amplifier_boundary | 7 |
108
+ | cable_vs_connector | 6 |
109
+ | machine_with_function | 4 |
110
+ | led_device_vs_luminaire | 3 |
111
+ | display_module_boundary | 2 |
112
+ | populated_board_boundary | 0 |
113
+ | process_vs_metrology | 0 |
114
+
115
+ Two Group-B frontiers (`populated_board_boundary`, `process_vs_metrology`)
116
+ have no eval records; both appear in the train split.
data/eval.json ADDED
The diff for this file is too large to render. See raw diff
 
data/hs6_descriptions.csv ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hs6,description
2
+ 280410,Hydrogen
3
+ 280440,Oxygen
4
+ 280461,Silicon; containing by weight not less than 99.99% of silicon
5
+ 280530,"Earth-metals, rare; scandium and yttrium, whether or not intermixed or interalloyed"
6
+ 282612,Fluorides; of aluminium
7
+ 282619,Fluorides; other than of aluminium
8
+ 284430,"Uranium; depleted in U235, thorium, their compounds, alloys, dispersions (including cermets), ceramic products and mixtures containing uranium depleted in U235, thorium; compounds of these products"
9
+ 285000,"Hydrides, nitrides, azides, silicides and borides, whether or not chemically defined, other than compounds which are also carbides of heading no. 2849"
10
+ 370710,"Photographic goods; sensitised emulsions, put up in measured portions or put up for retail sale in a form ready for use"
11
+ 370790,"Photographic goods; chemical preparations other than sensitised emulsions, put up in measured portions or put up for retail sale in a form ready for use"
12
+ 381800,"Chemical elements; doped for use in electronics, in the form of discs, wafers or similar forms; chemical compounds doped for use in electronics"
13
+ 710499,"Stones; synthetic or reconstructed precious or semi-precious n.e.c. in heading 7104, worked or graded but not strung, mounted or set; ungraded synthetic or reconstructed precious or semi-precious stones, temporarily strung for convenience of transport"
14
+ 732090,Iron or steel; springs n.e.c. in heading no. 7320
15
+ 732690,Iron or steel; articles n.e.c. in heading 7326
16
+ 761699,Aluminium; articles n.e.c. in heading 7616
17
+ 844332,"Printing, copying, and facsimile machines; single-function printing, copying or facsimile machines, capable of connecting to an automatic data processing machine or to a network"
18
+ 847130,"Automatic data processing machines; portable, weighing not more than 10kg, consisting of at least a central processing unit, a keyboard and a display"
19
+ 847150,"Units of automatic data processing machines; processing units other than those of item no. 8471.41 or 8471.49, whether or not containing in the same housing one or two of the following types of unit: storage units, input units or output units"
20
+ 847330,"Machinery; parts and accessories (other than covers, carrying cases and the like) of the machines of heading no. 8471"
21
+ 848610,Machines and apparatus of a kind used solely or principally for the manufacture of semiconductor boules or wafers
22
+ 848620,Machines and apparatus of a kind used solely or principally for the manufacture of semiconductor devices or of electronic integrated circuits
23
+ 848640,"Machines and apparatus of a kind used solely or principally for the manufacture or repair of masks and reticles, assembling semiconductor devices or electronic integrated circuits, or for lifting, handling, loading or unloading items of heading 8486"
24
+ 848690,Machines and apparatus of heading 8486; parts and accessories
25
+ 850431,"Electrical transformers; n.e.c. in item no. 8504.2, having a power handling capacity not exceeding 1kVA"
26
+ 850440,Electrical static converters
27
+ 850450,Electrical inductors; n.e.c. in heading no. 8504
28
+ 850490,"Electrical transformers, static converters and inductors; parts thereof"
29
+ 851310,"Lamps; portable, electric, designed to function by their own source of energy (excluding lighting equipment of heading no. 8512)"
30
+ 851419,"Furnaces and ovens; electric, for industrial or laboratory use, resistance heated; other than hot isostatic presses, for the manufacture of semiconductor devices on semiconductor wafers"
31
+ 851680,"Resistors; electric heating, other than those of heading no. 8545"
32
+ 851762,"Communication apparatus (excluding telephone sets or base stations); machines for the reception, conversion and transmission or regeneration of voice, images or other data, including switching and routing apparatus"
33
+ 851840,Amplifiers; audio-frequency electric
34
+ 852351,"Semiconductor media; solid-state non-volatile storage devices, whether or not recorded, excluding products of Chapter 37"
35
+ 852491,"Flat panel display modules, whether or not incorporating touch-sensitive screens; of liquid crystals, with drivers or control circuits"
36
+ 852691,Radio navigational aid apparatus
37
+ 853610,"Electrical apparatus; fuses, for a voltage not exceeding 1000 volts"
38
+ 853650,"Electrical apparatus; switches n.e.c. in heading no. 8536, for a voltage not exceeding 1000 volts"
39
+ 853669,"Electrical apparatus; plugs and sockets, for a voltage not exceeding 1000 volts"
40
+ 853890,"Electrical apparatus; parts suitable for use solely or principally with the apparatus of heading no. 8535, 8536 or 8537"
41
+ 854110,"Electrical apparatus; diodes, other than photosensitive or light-emitting diodes (LED)"
42
+ 854121,"Electrical apparatus; transistors, (other than photosensitive), with a dissipation rate of less than 1W"
43
+ 854129,"Electrical apparatus; transistors, (other than photosensitive), with a dissipation rate of 1W or more"
44
+ 854130,"Electrical apparatus; thyristors, diacs and triacs, other than photosensitive devices"
45
+ 854141,"Electrical apparatus; photosensitive semiconductor devices, light emitting diodes (LED)"
46
+ 854142,"Electrical apparatus; photosensitive semiconductor devices, photovoltaic cells not assembled in modules or made up into panels"
47
+ 854149,"Electrical apparatus; photosensitive semiconductor devices, diodes other than light emitting diodes and photovoltaic cells whether or not assembled in modules or made up into panels"
48
+ 854151,"Electrical apparatus; photosensitive semiconductor devices, semiconductor-based transducers"
49
+ 854160,Crystals; mounted piezo-electric
50
+ 854190,"Electrical apparatus; parts for diodes, transistors and similar semiconductor devices and photosensitive semiconductor devices"
51
+ 854231,"Electronic integrated circuits; processors and controllers, whether or not combined with memories, converters, logic circuits, amplifiers, clock and timing circuits, or other circuits"
52
+ 854232,Electronic integrated circuits; memories
53
+ 854233,Electronic integrated circuits; amplifiers
54
+ 854239,Electronic integrated circuits; n.e.c. in heading no. 8542
55
+ 854370,"Electrical machines and apparatus; having individual functions, not specified or included elsewhere in this chapter, n.e.c. in heading no. 8543"
56
+ 854442,"Insulated electric conductors; for a voltage not exceeding 1000 volts, fitted with connectors"
57
+ 900190,"Optical elements; lenses n.e.c. in heading no. 9001, prisms, mirrors and other optical elements, unmounted, of any material (excluding elements of glass not optically worked)"
58
+ 901380,"Optical devices, appliances and instruments; n.e.c. in heading no. 9013"
59
+ 902519,"Thermometers and pyrometers; (other than liquid filled, for direct reading), not combined with other instruments"
60
+ 902590,"Hydrometers and similar floating instruments, barometers, hygrometers, psychrometers, thermometers, pyrometers; recording or not, any combination of these instruments, parts and accessories"
61
+ 902710,"Instruments and apparatus; gas or smoke analysis apparatus, for physical or chemical analysis"
62
+ 902750,"Instruments and apparatus; using optical radiations (UV, visible, IR), (other than spectrometers, spectrophotometers and spectrographs)"
63
+ 902910,"Meters and counters; revolution counters, production counters, taximeters, mileometers, pedometers and the like"
64
+ 903033,"Instruments and apparatus; for measuring or checking voltage, current, resistance or power, without a recording device (excluding multimeters)"
65
+ 903039,"Instruments and apparatus; for measuring or checking voltage, current, resistance or power, with a recording device (excluding multimeters)"
66
+ 903040,"Instruments and apparatus; specially designed for telecommunications (e.g. cross-talk meters, gain measuring instruments, distortion factor meters, psophometers)"
67
+ 903082,Instruments and apparatus; for measuring or checking semiconductor wafers or devices (including integrated circuits)
68
+ 903084,"Instruments and apparatus; n.e.c. in heading no. 9030, with a recording device"
69
+ 903090,"Instruments, apparatus for measuring, checking electrical quantities, not meters of heading no. 9028; parts and accessories, for measuring or detecting alpha, beta, gamma, x-ray, cosmic and other radiations"
70
+ 903141,"Optical instruments and appliances; for inspecting semiconductor wafers or devices or for inspecting photomasks or reticles used in manufacturing semiconductor devices, n.e.c. in chapter 90"
71
+ 903149,"Optical instruments and appliances; for measuring or checking, n.e.c. in chapter 90"
72
+ 903180,"Instruments, appliances and machines; for measuring or checking n.e.c. in chapter 90"
73
+ 903190,"Instruments, appliances and machines; parts and accessories for those measuring or checking devices of heading no. 9031"
74
+ 940542,"Luminaires and light fittings; electric, designed for use solely with light-emitting diode (LED) light sources"
data/record_schema.json ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "SemiHS-Bench Record",
4
+ "version": "2.0.0",
5
+ "description": "Schema for a single SemiHS-Bench benchmark record. Each record carries two model-facing input tiers (tier1_description and tier2_minimal), the gold HS6/HS4/HS2 labels, a fixed candidate slate, source-type metadata, hardness tags, and a human-readable justification.",
6
+ "type": "object",
7
+ "required": [
8
+ "id",
9
+ "frozen_id",
10
+ "split",
11
+ "tier1_description",
12
+ "tier1_source",
13
+ "tier2_minimal",
14
+ "tier2_classifiable",
15
+ "hs6_label",
16
+ "hs4_label",
17
+ "hs2_label",
18
+ "segment",
19
+ "confidence_tier",
20
+ "difficulty_tags",
21
+ "boundary_note",
22
+ "justification_text",
23
+ "bol_metadata",
24
+ "candidate_set",
25
+ "reference_ruling_ids"
26
+ ],
27
+ "properties": {
28
+ "id": {
29
+ "type": "string",
30
+ "comment": "Released ids are SH-<digits>. Records still moving through ingest carry a provisional source-prefixed form SH-<source>-<digits> until the release build renumbers them.",
31
+ "pattern": "^SH-([a-z]+-)?\\d{4,}(\\.[a-z_]+)?$"
32
+ },
33
+ "frozen_id": {
34
+ "type": "string",
35
+ "pattern": "^v2\\.0\\.(eval|train)\\.\\d{4,}$",
36
+ "description": "Stable release identifier: v2.0.<split>.<ordinal>."
37
+ },
38
+ "split": {
39
+ "type": "string",
40
+ "enum": [
41
+ "eval",
42
+ "train"
43
+ ]
44
+ },
45
+ "tier1_description": {
46
+ "type": "string",
47
+ "minLength": 10,
48
+ "description": "Full natural-language product description, written to read like real trade or catalog text (typically 60-500 chars, median around 180)."
49
+ },
50
+ "tier1_source": {
51
+ "type": "string",
52
+ "enum": [
53
+ "BOL",
54
+ "catalog"
55
+ ],
56
+ "description": "Only BOL and manufacturer-catalog sources contribute benchmark records; customs rulings live in reference_corpus.jsonl as supporting evidence."
57
+ },
58
+ "tier2_minimal": {
59
+ "type": "object",
60
+ "required": [
61
+ "part_name",
62
+ "manufacturer"
63
+ ],
64
+ "additionalProperties": false,
65
+ "properties": {
66
+ "part_name": {
67
+ "type": "string",
68
+ "minLength": 1
69
+ },
70
+ "manufacturer": {
71
+ "type": "string"
72
+ }
73
+ },
74
+ "description": "The sparse ERP-style Tier 2 input: a manufacturer part number or short descriptor plus the manufacturer name."
75
+ },
76
+ "tier2_classifiable": {
77
+ "type": "string",
78
+ "enum": [
79
+ "yes",
80
+ "no",
81
+ "partial"
82
+ ],
83
+ "description": "Expert judgment of whether the gold HS6 can be reached from the Tier 2 input alone."
84
+ },
85
+ "hs6_label": {
86
+ "type": "string",
87
+ "pattern": "^\\d{6}$"
88
+ },
89
+ "hs4_label": {
90
+ "type": "string",
91
+ "pattern": "^\\d{4}$"
92
+ },
93
+ "hs2_label": {
94
+ "type": "string",
95
+ "pattern": "^\\d{2}$"
96
+ },
97
+ "segment": {
98
+ "type": "string",
99
+ "enum": [
100
+ "material",
101
+ "equipment",
102
+ "metrology",
103
+ "component",
104
+ "end_product"
105
+ ],
106
+ "description": "Supply-chain segment by OECD production stage. 'material' = process inputs, substrates, gases, chemicals, photoresist; 'equipment' = fabrication machinery, furnaces, dedicated equipment parts; 'metrology' = measurement, inspection, test instrumentation; 'component' = semiconductor devices, electronic components, optics; 'end_product' = finished, semiconductor-intensive downstream goods. See data/taxonomy.csv for the per-HS6 mapping."
107
+ },
108
+ "confidence_tier": {
109
+ "type": "string",
110
+ "enum": [
111
+ "high",
112
+ "medium",
113
+ "low"
114
+ ],
115
+ "description": "Confidence in the gold label. For records grounded in cited rulings: high = \u22652 cross-jurisdiction citations, medium = \u22651, low = none. For catalog records the tier reflects the expert reviewer's assessed confidence."
116
+ },
117
+ "difficulty_tags": {
118
+ "type": "array",
119
+ "uniqueItems": true,
120
+ "items": {
121
+ "type": "string",
122
+ "enum": [
123
+ "8541_siblings",
124
+ "8542_ic_function",
125
+ "8486_process_stage",
126
+ "8504_power_splits",
127
+ "8536_connection_splits",
128
+ "9030_measurement_splits",
129
+ "9031_inspection_splits",
130
+ "2804_gas_purity",
131
+ "3707_photochemical",
132
+ "9027_analysis_splits",
133
+ "8471_adp_splits",
134
+ "8541_vs_8542",
135
+ "populated_board_boundary",
136
+ "storage_boundary",
137
+ "doped_vs_undoped",
138
+ "process_vs_metrology",
139
+ "furnace_boundary",
140
+ "machine_with_function",
141
+ "parts_attribution",
142
+ "led_device_vs_luminaire",
143
+ "display_module_boundary",
144
+ "amplifier_boundary",
145
+ "cable_vs_connector",
146
+ "sensor_boundary",
147
+ "crystal_substrate_boundary"
148
+ ]
149
+ },
150
+ "description": "IDs of the confusable HS6 boundaries this record sits on, drawn from a closed vocabulary of within-family sibling splits and cross-family frontiers (see construction/configs/boundary_tags.yaml). Empty when the record is not on a contested boundary."
151
+ },
152
+ "boundary_note": {
153
+ "type": "string",
154
+ "description": "Human-readable comment stating the deciding criterion for each boundary in difficulty_tags. Empty string exactly when difficulty_tags is empty."
155
+ },
156
+ "justification_text": {
157
+ "type": "string",
158
+ "description": "Long-form justification carried over from the source ruling or expert annotation; not size-bounded. For released records, this is typically derived from the cited reference-corpus rationale_excerpt or expert-written extension."
159
+ },
160
+ "bol_metadata": {
161
+ "type": [
162
+ "object",
163
+ "null"
164
+ ],
165
+ "description": "BOL-source metadata (null for catalog-source records).",
166
+ "properties": {
167
+ "shipper": {
168
+ "type": "string"
169
+ },
170
+ "consignee": {
171
+ "type": "string"
172
+ },
173
+ "port_origin": {
174
+ "type": "string"
175
+ },
176
+ "port_dest": {
177
+ "type": "string"
178
+ },
179
+ "bol_description": {
180
+ "type": "string"
181
+ },
182
+ "declared_hs": {
183
+ "type": "string"
184
+ },
185
+ "hs_verified": {
186
+ "type": "boolean"
187
+ },
188
+ "arrival_date": {
189
+ "type": "string"
190
+ },
191
+ "origin_country": {
192
+ "type": "string"
193
+ }
194
+ }
195
+ },
196
+ "candidate_set": {
197
+ "type": "object",
198
+ "required": [
199
+ "size",
200
+ "codes",
201
+ "gold_rank_in_candidates"
202
+ ],
203
+ "additionalProperties": true,
204
+ "properties": {
205
+ "size": {
206
+ "type": "integer",
207
+ "minimum": 2,
208
+ "maximum": 10
209
+ },
210
+ "codes": {
211
+ "type": "array",
212
+ "items": {
213
+ "type": "string",
214
+ "pattern": "^\\d{6}$"
215
+ },
216
+ "minItems": 2,
217
+ "maxItems": 10,
218
+ "uniqueItems": true
219
+ },
220
+ "gold_rank_in_candidates": {
221
+ "type": "integer",
222
+ "minimum": 0
223
+ }
224
+ }
225
+ },
226
+ "reference_ruling_ids": {
227
+ "type": "array",
228
+ "items": {
229
+ "type": "string"
230
+ },
231
+ "description": "Evidence IDs of rulings in data/reference_corpus.jsonl that classify comparable goods under this record's gold HS6, kept when they share descriptive keywords with the record text and ordered by that overlap. When no same-HS6 ruling shares a keyword (common for rulings in another language), all same-HS6 rulings are listed instead. Empty when the corpus has no ruling for that code."
232
+ }
233
+ }
234
+ }
data/reference_corpus.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/reference_corpus_schema.json ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "SemiHS-Bench Reference Corpus Entry",
4
+ "version": "2.0.0",
5
+ "description": "Schema for one line of data/reference_corpus.jsonl: a customs classification ruling from CROSS (US CBP), EBTI (EU Binding Tariff Information), or Japan Customs, provided as supporting domain evidence for the benchmark. Benchmark records point into this corpus via their reference_ruling_ids field.",
6
+ "type": "object",
7
+ "required": [
8
+ "evidence_id",
9
+ "source",
10
+ "jurisdiction",
11
+ "hs6_label",
12
+ "url",
13
+ "tier1_text",
14
+ "subject_terms",
15
+ "rationale_excerpt"
16
+ ],
17
+ "additionalProperties": false,
18
+ "properties": {
19
+ "evidence_id": {
20
+ "type": "string",
21
+ "description": "Stable identifier of the form CROSS-<ruling-number>, EBTI-<member-state>-<reference>, or JP_CUSTOMS-<registration-number>. Whitespace in the source reference is replaced with underscores; slashes, hyphens, periods, and underscores are kept as issued.",
22
+ "pattern": "^(EBTI-[A-Z]{2}-[A-Za-z0-9_./-]+|CROSS-[A-Za-z0-9_./-]+|JP_CUSTOMS-[A-Za-z0-9_./-]+)$",
23
+ "examples": [
24
+ "CROSS-N123456",
25
+ "EBTI-DE-DE18254/15-1",
26
+ "EBTI-CZ-CZ07_0791_2007",
27
+ "JP_CUSTOMS-123003574"
28
+ ]
29
+ },
30
+ "source": {
31
+ "type": "string",
32
+ "enum": [
33
+ "CROSS",
34
+ "EBTI",
35
+ "JP_CUSTOMS"
36
+ ],
37
+ "description": "Issuing authority. CROSS is the US CBP rulings database, EBTI is the EU Binding Tariff Information system, and JP_CUSTOMS is the Japan Customs advance classification ruling service."
38
+ },
39
+ "jurisdiction": {
40
+ "type": "string",
41
+ "description": "Legal regime under which the ruling is binding: US for CROSS, JP for JP_CUSTOMS, and the issuing EU member state for EBTI. EU-EN marks EBTI rulings whose issuing member state was not recorded in the source export.",
42
+ "enum": [
43
+ "EU-AT",
44
+ "EU-BE",
45
+ "EU-BG",
46
+ "EU-CY",
47
+ "EU-CZ",
48
+ "EU-DE",
49
+ "EU-DK",
50
+ "EU-EE",
51
+ "EU-ES",
52
+ "EU-FI",
53
+ "EU-FR",
54
+ "EU-GR",
55
+ "EU-HR",
56
+ "EU-HU",
57
+ "EU-IE",
58
+ "EU-IT",
59
+ "EU-LT",
60
+ "EU-LU",
61
+ "EU-LV",
62
+ "EU-MT",
63
+ "EU-NL",
64
+ "EU-PL",
65
+ "EU-PT",
66
+ "EU-RO",
67
+ "EU-SE",
68
+ "EU-SI",
69
+ "EU-SK",
70
+ "EU-EN",
71
+ "US",
72
+ "JP"
73
+ ]
74
+ },
75
+ "hs6_label": {
76
+ "type": "string",
77
+ "description": "Six-digit HS code (HS2022 nomenclature) the ruling assigned to the goods. The corpus covers the benchmark's 73 in-scope HS6 codes plus closely related neighboring codes, so models and graders can also see rulings for plausible near-miss classifications.",
78
+ "pattern": "^[0-9]{6}$",
79
+ "examples": [
80
+ "854231",
81
+ "381800",
82
+ "848620"
83
+ ]
84
+ },
85
+ "url": {
86
+ "type": [
87
+ "string",
88
+ "null"
89
+ ],
90
+ "description": "Public URL of the full ruling (rulings.cbp.gov for CROSS, customs.go.jp for JP_CUSTOMS). Null when no stable public URL is available; the ruling text is still preserved in tier1_text."
91
+ },
92
+ "tier1_text": {
93
+ "type": "string",
94
+ "description": "Opening passage of the ruling describing the goods at issue (the full body for short rulings). Kept in the original language of the ruling.",
95
+ "minLength": 20,
96
+ "maxLength": 8000
97
+ },
98
+ "subject_terms": {
99
+ "type": "array",
100
+ "description": "Keyword or category terms attached to the ruling by the issuing authority, useful for retrieval. Empty when the source did not provide keywords; fall back to tier1_text for matching in that case.",
101
+ "items": {
102
+ "type": "string"
103
+ }
104
+ },
105
+ "rationale_excerpt": {
106
+ "type": "string",
107
+ "description": "The ruling's classification reasoning, typically citing General Rules of Interpretation, Explanatory Notes, or product-feature analysis. Empty when the source captured only the goods description; fall back to tier1_text in that case."
108
+ }
109
+ }
110
+ }
data/taxonomy.csv ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hs6,hs4,hs2,segment
2
+ 280410,2804,28,material
3
+ 280440,2804,28,material
4
+ 280461,2804,28,material
5
+ 280530,2805,28,material
6
+ 282612,2826,28,material
7
+ 282619,2826,28,material
8
+ 284430,2844,28,material
9
+ 285000,2850,28,material
10
+ 370710,3707,37,material
11
+ 370790,3707,37,material
12
+ 381800,3818,38,material
13
+ 710499,7104,71,material
14
+ 732090,7320,73,equipment
15
+ 732690,7326,73,equipment
16
+ 761699,7616,76,equipment
17
+ 844332,8443,84,end_product
18
+ 847130,8471,84,end_product
19
+ 847150,8471,84,end_product
20
+ 847330,8473,84,component
21
+ 848610,8486,84,equipment
22
+ 848620,8486,84,equipment
23
+ 848640,8486,84,equipment
24
+ 848690,8486,84,equipment
25
+ 850431,8504,85,component
26
+ 850440,8504,85,component
27
+ 850450,8504,85,component
28
+ 850490,8504,85,component
29
+ 851310,8513,85,end_product
30
+ 851419,8514,85,equipment
31
+ 851680,8516,85,component
32
+ 851762,8517,85,end_product
33
+ 851840,8518,85,component
34
+ 852351,8523,85,component
35
+ 852491,8524,85,component
36
+ 852691,8526,85,end_product
37
+ 853610,8536,85,component
38
+ 853650,8536,85,component
39
+ 853669,8536,85,component
40
+ 853890,8538,85,component
41
+ 854110,8541,85,component
42
+ 854121,8541,85,component
43
+ 854129,8541,85,component
44
+ 854130,8541,85,component
45
+ 854141,8541,85,component
46
+ 854142,8541,85,component
47
+ 854149,8541,85,component
48
+ 854151,8541,85,component
49
+ 854160,8541,85,component
50
+ 854190,8541,85,component
51
+ 854231,8542,85,component
52
+ 854232,8542,85,component
53
+ 854233,8542,85,component
54
+ 854239,8542,85,component
55
+ 854370,8543,85,component
56
+ 854442,8544,85,component
57
+ 900190,9001,90,component
58
+ 901380,9013,90,component
59
+ 902519,9025,90,metrology
60
+ 902590,9025,90,metrology
61
+ 902710,9027,90,metrology
62
+ 902750,9027,90,metrology
63
+ 902910,9029,90,metrology
64
+ 903033,9030,90,metrology
65
+ 903039,9030,90,metrology
66
+ 903040,9030,90,metrology
67
+ 903082,9030,90,metrology
68
+ 903084,9030,90,metrology
69
+ 903090,9030,90,metrology
70
+ 903141,9031,90,metrology
71
+ 903149,9031,90,metrology
72
+ 903180,9031,90,metrology
73
+ 903190,9031,90,metrology
74
+ 940542,9405,94,end_product
data/train.json ADDED
The diff for this file is too large to render. See raw diff