Datasets:
Link dataset card to paper and add citation
#2
by nielsr HF Staff - opened
123456789101137 unmodified lines49505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112243 unmodified lines166167168169---pretty_name: LOCUS v1.0language:- entask_categories:- text-classificationsize_categories:- 1M<n<10Mtags:- law- legal-nlp37 unmodified linessplits:- name: trainnum_examples: 2211516rai:dataLimitations: >- Coverage is not exhaustive. LOCUS v1.0 does not represent every U.S.municipal or county jurisdiction, and jurisdictions vary in how completelytheir local law is digitized and codified.- The `function` and `topic` labels are model-assigned and have not been fullyhuman-validated. Label noise should be expected, particularly at taxonomyboundaries (e.g., Rules vs. Process, Buildings vs. Zoning).- The topic taxonomy is intentionally coarse (Buildings, Business, Nuisance,Zoning, Other) and does not capture fine-grained subject matter important forsome downstream tasks.- Local law changes over time. The dataset reflects a snapshot and may notmatch the current law of any given jurisdiction.rai:dataBiases: >- Geographic and population skew: larger and more urbanized jurisdictions, andjurisdictions that publish their codes through major codification vendors, arelikely overrepresented relative to small or rural municipalities.- State-level legal regimes differ, so the distribution of functions andtopics is not uniform across states; aggregate label frequencies should not beassumed to generalize to any individual jurisdiction.- The taxonomy itself encodes choices about what counts as "substantive" law(Rules and Enforcement) versus procedural, contextual, or structuralprovisions. Alternative legal-theoretic framings would produce differentlabels.- Labels were produced by automated classifiers and may reflect biases ofthose classifiers, including biases inherited from their training data.- English-language only. Non-English text occasionally present in U.S. localcodes is not handled as a separate class.rai:personalSensitiveInformation: >LOCUS v1.0 is built from publicly enacted municipal and county law, which is amatter of public record. However, local ordinances can incidentally containreferences to identifiable individuals (e.g., named officials, sponsors, orparties to specific proceedings) and to specific properties or businesses(e.g., addresses in zoning provisions, license holders, named establishments).No effort has been made to redact such incidental references. The dataset doesnot contain non-public personal data, biometric data, health data, financialaccount information, or government-issued identifiers.rai:dataUseCases: >Intended uses include legal text classification research, analysis oflocal-law structure and composition, substantive vs. non-substantive filteringfor downstream legal NLP pipelines, refinement of legal taxonomies, and weaklysupervised or human-in-the-loop annotation workflows. The dataset is notappropriate as legal advice, as a substitute for human legal review, as acomplete census of U.S. local law, or as a fully validated benchmark in theabsence of additional human auditing.rai:dataSocialImpact: >Anticipated positive impacts include lowering the cost of empirical researchon local government law, supporting tools that help residents, journalists,and researchers understand municipal regulation, and enabling reproduciblestudy of how local jurisdictions structure their codes. Anticipated risksinclude over-reliance on automated classifications in settings with legalconsequences, misinterpretation of aggregated label frequencies asauthoritative statements about the law, and downstream tools surfacing modeloutputs to end users as if they were vetted legal information. Users deployingsystems built on this dataset should clearly disclose the automated andunaudited nature of the labels and should not present outputs as legal advice.rai:hasSyntheticData: falselicense: cc-by-nc-4.0---# LOCUS v1.0## Dataset SummaryLOCUS 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`.The dataset is intended for legal text research, local-law structure analysis, substantive filtering, and downstream taxonomy refinement.43 unmodified lines- a complete census of all U.S. local law- a fully human-validated benchmark without additional auditing## Citation12345678910111237 unmodified lines505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512643 unmodified lines170171172173174175176177178179180181182183184---language:- enlicense: cc-by-nc-4.0size_categories:- 1M<n<10Mtask_categories:- text-classificationpretty_name: LOCUS v1.0tags:- law- legal-nlp37 unmodified linessplits:- name: trainnum_examples: 2211516rai:dataLimitations: '- Coverage is not exhaustive. LOCUS v1.0 does not representevery U.S. municipal or county jurisdiction, and jurisdictions vary in how completelytheir local law is digitized and codified.- The `function` and `topic` labels are model-assigned and have not been fully human-validated.Label noise should be expected, particularly at taxonomy boundaries (e.g., Rulesvs. Process, Buildings vs. Zoning).- The topic taxonomy is intentionally coarse (Buildings, Business, Nuisance, Zoning,Other) and does not capture fine-grained subject matter important for some downstreamtasks.- Local law changes over time. The dataset reflects a snapshot and may not matchthe current law of any given jurisdiction.'rai:dataBiases: '- Geographic and population skew: larger and more urbanized jurisdictions,and jurisdictions that publish their codes through major codification vendors, arelikely overrepresented relative to small or rural municipalities.- State-level legal regimes differ, so the distribution of functions and topicsis not uniform across states; aggregate label frequencies should not be assumedto generalize to any individual jurisdiction.- The taxonomy itself encodes choices about what counts as "substantive" law (Rulesand Enforcement) versus procedural, contextual, or structural provisions. Alternativelegal-theoretic framings would produce different labels.- Labels were produced by automated classifiers and may reflect biases of thoseclassifiers, including biases inherited from their training data.- English-language only. Non-English text occasionally present in U.S. local codesis not handled as a separate class.'rai:personalSensitiveInformation: 'LOCUS v1.0 is built from publicly enacted municipaland county law, which is a matter of public record. However, local ordinances canincidentally contain references to identifiable individuals (e.g., named officials,sponsors, or parties to specific proceedings) and to specific properties or businesses(e.g., addresses in zoning provisions, license holders, named establishments). Noeffort has been made to redact such incidental references. The dataset does notcontain non-public personal data, biometric data, health data, financial accountinformation, or government-issued identifiers.'rai:dataUseCases: 'Intended uses include legal text classification research, analysisof local-law structure and composition, substantive vs. non-substantive filteringfor downstream legal NLP pipelines, refinement of legal taxonomies, and weakly supervisedor human-in-the-loop annotation workflows. The dataset is not appropriate as legaladvice, as a substitute for human legal review, as a complete census of U.S. locallaw, or as a fully validated benchmark in the absence of additional human auditing.'rai:dataSocialImpact: 'Anticipated positive impacts include lowering the cost of empiricalresearch on local government law, supporting tools that help residents, journalists,and researchers understand municipal regulation, and enabling reproducible studyof how local jurisdictions structure their codes. Anticipated risks include over-relianceon automated classifications in settings with legal consequences, misinterpretationof aggregated label frequencies as authoritative statements about the law, and downstreamtools surfacing model outputs to end users as if they were vetted legal information.Users deploying systems built on this dataset should clearly disclose the automatedand unaudited nature of the labels and should not present outputs as legal advice.'rai:hasSyntheticData: false---# LOCUS v1.0This 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).## Dataset SummaryLOCUS 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`.The dataset is intended for legal text research, local-law structure analysis, substantive filtering, and downstream taxonomy refinement.43 unmodified lines- a complete census of all U.S. local law- a fully human-validated benchmark without additional auditing## CitationIf you use this dataset, please cite:```bibtex@article{peskoff2026freeing,title={Freeing the Law with LOCUS: A Local Ordinance Corpus for the United States},author={Peskoff, Denis and Barrow, Joe and Vu, Christopher and Davenport, Diag},journal={arXiv preprint arXiv:2606.19334},year={2026}}```
README.md+78-63