masterleopold commited on
Commit
f435f7a
·
verified ·
1 Parent(s): af2439a

Release v1.0.2 (Layer A)

Browse files
Files changed (1) hide show
  1. README.md +87 -30
README.md CHANGED
@@ -14,22 +14,33 @@ tags:
14
  - fto
15
  - office-action
16
  - uspto
 
 
17
  - intellectual-property
18
  - legal-nlp
19
  pretty_name: "Layer A — Office Action Triples for FTO Eval"
20
  configs:
21
  - config_name: default
 
 
 
 
22
  data_files:
23
  - split: train
24
  path: "US/jurisdiction=US/filing_year=*/*.parquet"
 
 
 
 
25
  ---
26
 
27
  # Layer A — Office Action Triples for FTO Evaluation
28
 
29
  A public dataset of `(invention → cited prior art → outcome)` triples
30
  extracted from the **USPTO Office Action Research Dataset (OARD)**
31
- plus per-application metadata enrichment from the **USPTO Open Data
32
- Portal (ODP)** API. Built as the agent-evaluation substrate for
 
33
  [Parallax](https://parallax.3mergen.com), an AI-native Freedom-to-
34
  Operate (FTO) and defensive-publication platform for individual
35
  inventors and small teams.
@@ -41,11 +52,12 @@ inventors and small teams.
41
 
42
  ## TL;DR
43
 
44
- - **5 000 rows** (v1.0) covering filing years 2011–2017
45
- - **10 Parquet shards**, partitioned by `jurisdiction × filing_year`
 
46
  - Schema: `(case_id, invention, examination, prior_art[], outcome,
47
  provenance)` — see [Schema](#schema) below
48
- - US-only at v1.0; EP coming in v1.0.2; JP gated on INPIT bulk
49
  credential issuance
50
  - License: **CC-BY-4.0** on the curation; underlying patent
51
  documents remain in the public domain
@@ -57,17 +69,24 @@ inventors and small teams.
57
  ```python
58
  from datasets import load_dataset
59
 
 
60
  ds = load_dataset("v13s/golden-fto-layer-a", split="train")
61
- print(len(ds)) # 5000
 
 
 
 
 
62
 
63
  row = ds[0]
64
  print(row["case_id"]) # e.g. "US-13004847-0"
65
  print(row["invention"]["title"]) # "SYSTEM AND METHOD FOR ..."
66
- print(row["examination"]["oa_type"]) # "rejection"
67
  print(row["examination"]["rejection_reasons"]) # ["obviousness_103"]
68
  for ref in row["prior_art"]:
69
  print(ref["ref_id"], ref["severity"])
70
- # "US9123456B2", "obviousness"
 
71
  ```
72
 
73
  ## Schema
@@ -80,9 +99,9 @@ in the source repo.
80
  | Field | Type | Description |
81
  |---|---|---|
82
  | `case_id` | string | Stable id: `<jurisdiction>-<application_number>-<oa_seq>` |
83
- | `schema_version` | string | Per-row schema version (`1.0` for this release) |
84
- | `jurisdiction` | string | `US` (this release); `EP`/`JP` in future versions |
85
- | `source_dataset` | string | `uspto_oard` |
86
  | `extracted_at` | timestamp[s, UTC] | When this row was emitted |
87
  | `invention` | struct | Application metadata — title, abstract, IPC/CPC codes, claims, applicant |
88
  | `examination` | struct | OA event — `oa_date`, `oa_type` ∈ {rejection, allowance, search_report}, `rejection_reasons[]`, `examiner_id` |
@@ -92,15 +111,19 @@ in the source repo.
92
 
93
  ### Severity enum (`prior_art[].severity`)
94
 
95
- The OARD's pre-classified rejection grounds map to a 3-value
96
- severity enum that downstream consumers can join across
97
- jurisdictions:
98
 
99
- | Severity | When set | OARD signal |
100
  |---|---|---|
101
- | `novelty_destroying` | The citation was the basis for a 35 USC §102 anticipation rejection | `rejection_102=1` AND `citation_in_oa=1` |
102
- | `obviousness` | The citation was the basis for a 35 USC §103 obviousness rejection | `rejection_103=1` AND `citation_in_oa=1` |
103
- | `background` | Citation listed but not used as rejection grounds (PTO-892 background, PTO-1449 IDS) | otherwise |
 
 
 
 
 
104
 
105
  ### Rejection reason codes
106
 
@@ -120,6 +143,8 @@ etc.) without breaking the schema.
120
 
121
  ## How was this built?
122
 
 
 
123
  1. **OARD bulk download** (the 4M-row USPTO Office Action
124
  Research Dataset, frozen at the 2017 release): manually
125
  browser-downloaded from
@@ -136,6 +161,29 @@ etc.) without breaking the schema.
136
  5. **Triple construction** — the OARD's pre-classified
137
  `rejection_*` boolean columns + the citation rows + the ODP
138
  metadata combine into a `LayerATriple` per OA event
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
139
  6. **Validation**: every row passes a linking validator that
140
  checks temporal sanity (cited prior art filed before the
141
  invention), severity coherence (novelty-destroying citations
@@ -152,22 +200,31 @@ The release runner is
152
 
153
  ## Known limitations
154
 
155
- - **Sample size**: 5 000 rows are a small first cut. The full
156
- OARD has 4 M+ Office Actions, ramp-up to 50 K+ in v1.1+ is
157
- planned.
 
 
158
  - **Sparse claim text**: The ODP search endpoint returns
159
  bibliographic metadata (title, applicant, IPC) but not full
160
  claim text. Some rows have `invention.claims = []` or
161
  placeholder markers; full claim extraction needs a separate
162
  ODP call (planned for v1.1).
163
- - **US-only**: EP and JP slices are pending. EP citations live
164
- on a different OPS endpoint (the Register service) — captured
165
- in [CITATIONS_DISCOVERY.md](https://github.com/masterleopold/parallax/blob/main/data-pipeline/src/ep_search_bulk/CITATIONS_DISCOVERY.md)
166
- for v1.0.2. JP requires INPIT bulk credential approval.
167
- - **Outcome field is conservative**: Without joining USPTO PEDS
168
- (Patent Examination Data System), the `outcome.final_disposition`
169
- defaults to `pending`. Future versions will resolve to
170
- `granted` / `rejected` / `abandoned`.
 
 
 
 
 
 
 
171
 
172
  ## Versioning
173
 
@@ -196,7 +253,7 @@ If you use this dataset in academic work, please cite:
196
  Freedom-to-Operate Evaluation},
197
  year = 2026,
198
  publisher = {Hugging Face},
199
- version = {1.0},
200
  url = {https://huggingface.co/datasets/v13s/golden-fto-layer-a},
201
  note = {Curated under CC-BY-4.0; underlying patent
202
  data in the public domain}
 
14
  - fto
15
  - office-action
16
  - uspto
17
+ - epo
18
+ - multi-jurisdiction
19
  - intellectual-property
20
  - legal-nlp
21
  pretty_name: "Layer A — Office Action Triples for FTO Eval"
22
  configs:
23
  - config_name: default
24
+ data_files:
25
+ - split: train
26
+ path: "**/jurisdiction=*/filing_year=*/*.parquet"
27
+ - config_name: us
28
  data_files:
29
  - split: train
30
  path: "US/jurisdiction=US/filing_year=*/*.parquet"
31
+ - config_name: ep
32
+ data_files:
33
+ - split: train
34
+ path: "EP/jurisdiction=EP/filing_year=*/*.parquet"
35
  ---
36
 
37
  # Layer A — Office Action Triples for FTO Evaluation
38
 
39
  A public dataset of `(invention → cited prior art → outcome)` triples
40
  extracted from the **USPTO Office Action Research Dataset (OARD)**
41
+ + **USPTO Open Data Portal (ODP)** API (US slice) and the **EPO
42
+ Open Patent Services (OPS)** Register service (EP slice). Built as
43
+ the agent-evaluation substrate for
44
  [Parallax](https://parallax.3mergen.com), an AI-native Freedom-to-
45
  Operate (FTO) and defensive-publication platform for individual
46
  inventors and small teams.
 
52
 
53
  ## TL;DR
54
 
55
+ - **5 011 rows** (v1.0.2): 5 000 US Office Actions (filing years
56
+ 2011–2017) + 11 EP search reports (filing years 2014–2018)
57
+ - **14 Parquet shards**, partitioned by `jurisdiction × filing_year`
58
  - Schema: `(case_id, invention, examination, prior_art[], outcome,
59
  provenance)` — see [Schema](#schema) below
60
+ - Two jurisdictions live (US, EP); JP gated on INPIT bulk
61
  credential issuance
62
  - License: **CC-BY-4.0** on the curation; underlying patent
63
  documents remain in the public domain
 
69
  ```python
70
  from datasets import load_dataset
71
 
72
+ # Default config returns both jurisdictions (5 011 rows).
73
  ds = load_dataset("v13s/golden-fto-layer-a", split="train")
74
+ print(len(ds)) # 5011
75
+
76
+ # Per-jurisdiction configs are also available.
77
+ ds_us = load_dataset("v13s/golden-fto-layer-a", "us", split="train")
78
+ ds_ep = load_dataset("v13s/golden-fto-layer-a", "ep", split="train")
79
+ print(len(ds_us), len(ds_ep)) # 5000, 11
80
 
81
  row = ds[0]
82
  print(row["case_id"]) # e.g. "US-13004847-0"
83
  print(row["invention"]["title"]) # "SYSTEM AND METHOD FOR ..."
84
+ print(row["examination"]["oa_type"]) # "rejection" | "search_report"
85
  print(row["examination"]["rejection_reasons"]) # ["obviousness_103"]
86
  for ref in row["prior_art"]:
87
  print(ref["ref_id"], ref["severity"])
88
+ # US: "US9123456B2", "obviousness"
89
+ # EP: "US6825941", "novelty_destroying"
90
  ```
91
 
92
  ## Schema
 
99
  | Field | Type | Description |
100
  |---|---|---|
101
  | `case_id` | string | Stable id: `<jurisdiction>-<application_number>-<oa_seq>` |
102
+ | `schema_version` | string | Per-row schema version (`1.0` schema unchanged in v1.0.2) |
103
+ | `jurisdiction` | string | `US` or `EP`; `JP` in future versions |
104
+ | `source_dataset` | string | `uspto_oard` (US rows) or `epo_ops` (EP rows) |
105
  | `extracted_at` | timestamp[s, UTC] | When this row was emitted |
106
  | `invention` | struct | Application metadata — title, abstract, IPC/CPC codes, claims, applicant |
107
  | `examination` | struct | OA event — `oa_date`, `oa_type` ∈ {rejection, allowance, search_report}, `rejection_reasons[]`, `examiner_id` |
 
111
 
112
  ### Severity enum (`prior_art[].severity`)
113
 
114
+ A 3-value severity enum that downstream consumers can join across
115
+ jurisdictions. Each jurisdiction has its own source signal:
 
116
 
117
+ | Severity | US (OARD signal) | EP (WIPO ST.14 search-report category) |
118
  |---|---|---|
119
+ | `novelty_destroying` | `rejection_102=1` AND `citation_in_oa=1` | `X` or `E` (incl. multi-char `XY`, `XYI`) |
120
+ | `obviousness` | `rejection_103=1` AND `citation_in_oa=1` | `Y` |
121
+ | `background` | otherwise (PTO-892, PTO-1449 IDS) | `A`, `P`, `D`, `T`, `L`, `O`, `I` |
122
+
123
+ The EP search-report category sometimes concatenates multiple
124
+ codes (e.g. `"XY"` means the citation is BOTH novelty-relevant AND
125
+ obviousness-relevant). The lowering preserves the raw string and
126
+ the extractor maps the most-severe component to `severity`.
127
 
128
  ### Rejection reason codes
129
 
 
143
 
144
  ## How was this built?
145
 
146
+ ### US slice (5 000 rows)
147
+
148
  1. **OARD bulk download** (the 4M-row USPTO Office Action
149
  Research Dataset, frozen at the 2017 release): manually
150
  browser-downloaded from
 
161
  5. **Triple construction** — the OARD's pre-classified
162
  `rejection_*` boolean columns + the citation rows + the ODP
163
  metadata combine into a `LayerATriple` per OA event
164
+
165
+ ### EP slice (11 rows, new in v1.0.2)
166
+
167
+ 1. **EP publications list** curated from Espacenet IPC searches
168
+ (`G06F`, `H04L`, `A61K`), filing years 2014–2018
169
+ 2. **OPS published-data full-cycle** for biblio + claims
170
+ (epodoc/docdb format, kind-suffix fallback for older
171
+ publications)
172
+ 3. **OPS Register service** (`/rest-services/register/publication/
173
+ epodoc/{pub}/biblio`) for search-report citations — these
174
+ carry the WIPO ST.14 category codes, mapped to `severity` via
175
+ the table above
176
+ 4. **Two-endpoint merge per publication**: full-cycle gives the
177
+ bibliographic context; the Register service gives the
178
+ `prior_art[]` list. Filtered to `@cited-phase == "search"` to
179
+ keep the high-signal X/Y/A subset
180
+ 5. **Triple construction** — same `LayerATriple` shape as the US
181
+ slice; `oa_type = "search_report"`, `outcome.final_disposition
182
+ = "pending"` (EP grants land in a separate legal-status
183
+ endpoint, planned for v1.1)
184
+
185
+ ### Common steps (both slices)
186
+
187
  6. **Validation**: every row passes a linking validator that
188
  checks temporal sanity (cited prior art filed before the
189
  invention), severity coherence (novelty-destroying citations
 
200
 
201
  ## Known limitations
202
 
203
+ - **Sample size**: 5 011 rows are a first cut. The full OARD has
204
+ 4 M+ Office Actions; ramp-up to 50 K+ US rows in v1.1+ is
205
+ planned. The EP slice is intentionally small (11 publications)
206
+ to validate the OPS Register integration end-to-end before
207
+ scaling.
208
  - **Sparse claim text**: The ODP search endpoint returns
209
  bibliographic metadata (title, applicant, IPC) but not full
210
  claim text. Some rows have `invention.claims = []` or
211
  placeholder markers; full claim extraction needs a separate
212
  ODP call (planned for v1.1).
213
+ - **JP not yet shipped**: JP slice gated on INPIT bulk
214
+ credential approval; see
215
+ [docs/07-partnerships/inpit-bulk-data-application.md](https://github.com/masterleopold/parallax/blob/main/docs/07-partnerships/inpit-bulk-data-application.md).
216
+ - **EP claim ranges**: The Register service embeds claim ranges
217
+ in the citation's bibliographic text annotation (`[Y] 5,12`),
218
+ not as structured fields. v1.0.2 surfaces an empty
219
+ `prior_art[].claims_blocked = []` for all EP rows; text-parsing
220
+ the annotations is a v1.0.3 task.
221
+ - **EP outcome field is conservative**: Without joining the OPS
222
+ legal-status endpoint, `outcome.final_disposition` defaults to
223
+ `pending` for EP rows. v1.1 will resolve to
224
+ `granted` / `rejected` / `withdrawn`.
225
+ - **US outcome field is conservative**: Without joining USPTO
226
+ PEDS (Patent Examination Data System), the same defaulting
227
+ applies on the US slice.
228
 
229
  ## Versioning
230
 
 
253
  Freedom-to-Operate Evaluation},
254
  year = 2026,
255
  publisher = {Hugging Face},
256
+ version = {1.0.2},
257
  url = {https://huggingface.co/datasets/v13s/golden-fto-layer-a},
258
  note = {Curated under CC-BY-4.0; underlying patent
259
  data in the public domain}