Link dataset card to paper and add citation

#2
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +78 -63
README.md CHANGED
@@ -1,11 +1,12 @@
1
  ---
2
- pretty_name: LOCUS v1.0
3
  language:
4
  - en
5
- task_categories:
6
- - text-classification
7
  size_categories:
8
  - 1M<n<10M
 
 
 
9
  tags:
10
  - law
11
  - legal-nlp
@@ -49,74 +50,77 @@ dataset_info:
49
  splits:
50
  - name: train
51
  num_examples: 2211516
52
- rai:dataLimitations: >
53
- - Coverage is not exhaustive. LOCUS v1.0 does not represent every U.S.
54
- municipal or county jurisdiction, and jurisdictions vary in how completely
55
  their local law is digitized and codified.
56
 
57
- - The `function` and `topic` labels are model-assigned and have not been fully
58
- human-validated. Label noise should be expected, particularly at taxonomy
59
- boundaries (e.g., Rules vs. Process, Buildings vs. Zoning).
60
-
61
- - The topic taxonomy is intentionally coarse (Buildings, Business, Nuisance,
62
- Zoning, Other) and does not capture fine-grained subject matter important for
63
- some downstream tasks.
64
-
65
- - Local law changes over time. The dataset reflects a snapshot and may not
66
- match the current law of any given jurisdiction.
67
- rai:dataBiases: >
68
- - Geographic and population skew: larger and more urbanized jurisdictions, and
69
- jurisdictions that publish their codes through major codification vendors, are
 
70
  likely overrepresented relative to small or rural municipalities.
71
 
72
- - State-level legal regimes differ, so the distribution of functions and
73
- topics is not uniform across states; aggregate label frequencies should not be
74
- assumed to generalize to any individual jurisdiction.
75
-
76
- - The taxonomy itself encodes choices about what counts as "substantive" law
77
- (Rules and Enforcement) versus procedural, contextual, or structural
78
- provisions. Alternative legal-theoretic framings would produce different
79
- labels.
80
-
81
- - Labels were produced by automated classifiers and may reflect biases of
82
- those classifiers, including biases inherited from their training data.
83
-
84
- - English-language only. Non-English text occasionally present in U.S. local
85
- codes is not handled as a separate class.
86
- rai:personalSensitiveInformation: >
87
- LOCUS v1.0 is built from publicly enacted municipal and county law, which is a
88
- matter of public record. However, local ordinances can incidentally contain
89
- references to identifiable individuals (e.g., named officials, sponsors, or
90
- parties to specific proceedings) and to specific properties or businesses
91
- (e.g., addresses in zoning provisions, license holders, named establishments).
92
- No effort has been made to redact such incidental references. The dataset does
93
- not contain non-public personal data, biometric data, health data, financial
94
- account information, or government-issued identifiers.
95
- rai:dataUseCases: >
96
- Intended uses include legal text classification research, analysis of
97
- local-law structure and composition, substantive vs. non-substantive filtering
98
- for downstream legal NLP pipelines, refinement of legal taxonomies, and weakly
99
- supervised or human-in-the-loop annotation workflows. The dataset is not
100
- appropriate as legal advice, as a substitute for human legal review, as a
101
- complete census of U.S. local law, or as a fully validated benchmark in the
102
- absence of additional human auditing.
103
- rai:dataSocialImpact: >
104
- Anticipated positive impacts include lowering the cost of empirical research
105
- on local government law, supporting tools that help residents, journalists,
106
- and researchers understand municipal regulation, and enabling reproducible
107
- study of how local jurisdictions structure their codes. Anticipated risks
108
- include over-reliance on automated classifications in settings with legal
109
- consequences, misinterpretation of aggregated label frequencies as
110
- authoritative statements about the law, and downstream tools surfacing model
111
- outputs to end users as if they were vetted legal information. Users deploying
112
- systems built on this dataset should clearly disclose the automated and
113
- unaudited nature of the labels and should not present outputs as legal advice.
 
 
114
  rai:hasSyntheticData: false
115
- license: cc-by-nc-4.0
116
  ---
117
 
118
  # LOCUS v1.0
119
 
 
 
120
  ## Dataset Summary
121
  LOCUS v1.0 is a chunk-level dataset of U.S. municipal and county law text labeled by legal function. Each eligible chunk is assigned a `function`, a binary `is_substantive` label, and all substantive provisions are assigned a `topic`.
122
  The dataset is intended for legal text research, local-law structure analysis, substantive filtering, and downstream taxonomy refinement.
@@ -166,4 +170,15 @@ LOCUS v1.0 should not be treated as:
166
  - a complete census of all U.S. local law
167
  - a fully human-validated benchmark without additional auditing
168
 
169
- ## Citation
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
 
2
  language:
3
  - en
4
+ license: cc-by-nc-4.0
 
5
  size_categories:
6
  - 1M<n<10M
7
+ task_categories:
8
+ - text-classification
9
+ pretty_name: LOCUS v1.0
10
  tags:
11
  - law
12
  - legal-nlp
 
50
  splits:
51
  - name: train
52
  num_examples: 2211516
53
+ rai:dataLimitations: '- Coverage is not exhaustive. LOCUS v1.0 does not represent
54
+ every U.S. municipal or county jurisdiction, and jurisdictions vary in how completely
 
55
  their local law is digitized and codified.
56
 
57
+ - The `function` and `topic` labels are model-assigned and have not been fully human-validated.
58
+ Label noise should be expected, particularly at taxonomy boundaries (e.g., Rules
59
+ vs. Process, Buildings vs. Zoning).
60
+
61
+ - The topic taxonomy is intentionally coarse (Buildings, Business, Nuisance, Zoning,
62
+ Other) and does not capture fine-grained subject matter important for some downstream
63
+ tasks.
64
+
65
+ - Local law changes over time. The dataset reflects a snapshot and may not match
66
+ the current law of any given jurisdiction.
67
+
68
+ '
69
+ rai:dataBiases: '- Geographic and population skew: larger and more urbanized jurisdictions,
70
+ and jurisdictions that publish their codes through major codification vendors, are
71
  likely overrepresented relative to small or rural municipalities.
72
 
73
+ - State-level legal regimes differ, so the distribution of functions and topics
74
+ is not uniform across states; aggregate label frequencies should not be assumed
75
+ to generalize to any individual jurisdiction.
76
+
77
+ - The taxonomy itself encodes choices about what counts as "substantive" law (Rules
78
+ and Enforcement) versus procedural, contextual, or structural provisions. Alternative
79
+ legal-theoretic framings would produce different labels.
80
+
81
+ - Labels were produced by automated classifiers and may reflect biases of those
82
+ classifiers, including biases inherited from their training data.
83
+
84
+ - English-language only. Non-English text occasionally present in U.S. local codes
85
+ is not handled as a separate class.
86
+
87
+ '
88
+ rai:personalSensitiveInformation: 'LOCUS v1.0 is built from publicly enacted municipal
89
+ and county law, which is a matter of public record. However, local ordinances can
90
+ incidentally contain references to identifiable individuals (e.g., named officials,
91
+ sponsors, or parties to specific proceedings) and to specific properties or businesses
92
+ (e.g., addresses in zoning provisions, license holders, named establishments). No
93
+ effort has been made to redact such incidental references. The dataset does not
94
+ contain non-public personal data, biometric data, health data, financial account
95
+ information, or government-issued identifiers.
96
+
97
+ '
98
+ rai:dataUseCases: 'Intended uses include legal text classification research, analysis
99
+ of local-law structure and composition, substantive vs. non-substantive filtering
100
+ for downstream legal NLP pipelines, refinement of legal taxonomies, and weakly supervised
101
+ or human-in-the-loop annotation workflows. The dataset is not appropriate as legal
102
+ advice, as a substitute for human legal review, as a complete census of U.S. local
103
+ law, or as a fully validated benchmark in the absence of additional human auditing.
104
+
105
+ '
106
+ rai:dataSocialImpact: 'Anticipated positive impacts include lowering the cost of empirical
107
+ research on local government law, supporting tools that help residents, journalists,
108
+ and researchers understand municipal regulation, and enabling reproducible study
109
+ of how local jurisdictions structure their codes. Anticipated risks include over-reliance
110
+ on automated classifications in settings with legal consequences, misinterpretation
111
+ of aggregated label frequencies as authoritative statements about the law, and downstream
112
+ tools surfacing model outputs to end users as if they were vetted legal information.
113
+ Users deploying systems built on this dataset should clearly disclose the automated
114
+ and unaudited nature of the labels and should not present outputs as legal advice.
115
+
116
+ '
117
  rai:hasSyntheticData: false
 
118
  ---
119
 
120
  # LOCUS v1.0
121
 
122
+ This repository contains the dataset presented in the paper [Freeing the Law with LOCUS: A Local Ordinance Corpus for the United States](https://huggingface.co/papers/2606.19334).
123
+
124
  ## Dataset Summary
125
  LOCUS v1.0 is a chunk-level dataset of U.S. municipal and county law text labeled by legal function. Each eligible chunk is assigned a `function`, a binary `is_substantive` label, and all substantive provisions are assigned a `topic`.
126
  The dataset is intended for legal text research, local-law structure analysis, substantive filtering, and downstream taxonomy refinement.
 
170
  - a complete census of all U.S. local law
171
  - a fully human-validated benchmark without additional auditing
172
 
173
+ ## Citation
174
+
175
+ If you use this dataset, please cite:
176
+
177
+ ```bibtex
178
+ @article{peskoff2026freeing,
179
+ title={Freeing the Law with LOCUS: A Local Ordinance Corpus for the United States},
180
+ author={Peskoff, Denis and Barrow, Joe and Vu, Christopher and Davenport, Diag},
181
+ journal={arXiv preprint arXiv:2606.19334},
182
+ year={2026}
183
+ }
184
+ ```