rigidhat commited on
Commit
b00b800
·
verified ·
1 Parent(s): 4271633

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +91 -0
README.md ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ tags:
6
+ - construction-safety
7
+ - osha
8
+ - regulatory-compliance
9
+ - low-resource
10
+ - niche-domain
11
+ size_categories:
12
+ - 10K<n<100K
13
+ ---
14
+
15
+ # Construction Code-Citation Corpus v1
16
+
17
+ Open dataset of construction-site incident narratives paired with OIICS
18
+ hazard codes (event, source, nature, body) and OSHA 29 CFR 1926 citation
19
+ candidates. Built for the [Adaption Labs AutoScientist Challenge](https://adaptionlabs.ai/auto-scientist)
20
+ ("All Other Domains" category).
21
+
22
+ ## Sources
23
+
24
+ - **OSHA Severe Injury Reports** (DOL, public domain): 2015-01 → 2025-08,
25
+ 103,750 records. Each row has `Final Narrative` (incident text) plus
26
+ OIICS classification codes for the event, source, nature, and body part.
27
+ - **OSHA 29 CFR 1926** (eCFR snapshot 2025-09-16, public domain): 304
28
+ sections with explicit citations and full regulatory text.
29
+
30
+ ## Schema
31
+
32
+ Each row in the canonical jsonl:
33
+
34
+ ```json
35
+ {
36
+ "id": "<SIR ID>",
37
+ "input": "<Final Narrative>",
38
+ "hazards": [{
39
+ "code_event": {"id": "<OIICS event>", "title": "..."},
40
+ "code_source": {"id": "<OIICS source>", "title": "..."},
41
+ "code_nature": {"id": "<OIICS nature>", "title": "..."},
42
+ "code_body": {"id": "<OIICS body>", "title": "..."},
43
+ "severity": "low|moderate|high"
44
+ }],
45
+ "citations": [],
46
+ "naics": "<6-digit NAICS>",
47
+ "naics_subsector": "<4-digit>",
48
+ "event_date": "YYYY-MM-DD",
49
+ "inspection_nr": "<int or null>",
50
+ "source": "sir",
51
+ "split": "train|dev|test"
52
+ }
53
+ ```
54
+
55
+ The `citations` field is empty in v1 (SIR does not carry OSHA standard
56
+ citations directly). Citation supervision comes from a separate join on
57
+ `inspection_nr` to the DOL OSHA enforcement violations corpus, planned for v2.
58
+
59
+ ## Splits
60
+
61
+ Stratified by NAICS subsector (first 4 digits), 70/15/15.
62
+
63
+ - train: 72,467
64
+ - dev: 15,410
65
+ - test: 15,873 (SHA-256 `c9490ed3...`, hash-pinned, never re-shuffled)
66
+
67
+ ## Known biases
68
+
69
+ - SIR over-represents severe injuries (hospitalization, amputation, loss of
70
+ eye) — the corpus is by definition skewed toward high-severity events.
71
+ - Source-code distribution has a heavy long tail: 1,478 unique codes, top-75
72
+ cover only 57% of records. Models will need either a code-collapse strategy
73
+ or hierarchical (division-level) prediction.
74
+
75
+ ## License
76
+
77
+ MIT (this dataset). OSHA SIR is public domain. OSHA 29 CFR 1926 text is
78
+ public domain.
79
+
80
+ ## Citation
81
+
82
+ If you use this dataset, please cite:
83
+
84
+ ```
85
+ @misc{construction-code-corpus-2026,
86
+ title = {Construction Code-Citation Corpus v1},
87
+ author = {Oversite Innovations},
88
+ year = {2026},
89
+ note = {Built for the Adaption Labs AutoScientist Challenge}
90
+ }
91
+ ```