Freeing the Law with LOCUS: A Local Ordinance Corpus for the United States
Summary
Introduces LOCUS, a comprehensive corpus of U.S. local ordinance codes designed to enable machine-readable legal AI research, covering codes from 9,239 cities and counties with ModernBERT-based classifiers for analysis.
View Cached Full Text
Cached at: 06/20/26, 02:26 PM
Paper page - Freeing the Law with LOCUS: A Local Ordinance Corpus for the United States
Source: https://huggingface.co/papers/2606.19334
Abstract
A comprehensive corpus and access layer for U.S. local ordinance codes has been developed to enable machine-readable legal AI research, addressing the lack of authoritative legal text at scale for local regulations.
Progress inlegal AIincreasingly depends on access to authoritative legal text at scale. Yet one of the most consequential layers of American law remains largely absent from existing machine-readable corpora:local ordinances. Local codes govern zoning, housing, business licensing, public health, noise, animal control, and many other domains of everyday regulation, but they are fragmented across vendor platforms designed for human browsing rather than bulk research access. We introduce LOCUS - the Local OrdinanceCorpusfor the United States - a comprehensivecorpusand county-harmonized access layer for U.S. municipal and county ordinance codes. The rawcorpus, available for release to researchers, represents nearly all publicly available municipal and county ordinance codes. The resulting rawcorpuscontains codes from 9,239 cities and counties. A smaller county-harmonized LOCUS access layer provides coverage for the largest 2,309 of 3,144 U.S. counties, accounting for a majority of the population. We useOCRto handle the myriad of document formats that have kept the law from being a public resource. We release thecorpuswith coverage metadata to supportreproducibility, downstreamlegal AIresearch, and the incremental expansion ofmachine-readable accessto local law. We train a collection ofModernBERT-based classifiersandscorersto facilitate analyzing U.S. local law among several dimensions, such as opacity and paternalism, that have not previously been studied at this scale. LOCUS-v1 and its derivative models are available at: https://huggingface.co/datasets/LocalLaws/LOCUS-v1
View arXiv pageView PDFAdd to collection
Get this paper in your agent:
hf papers read 2606\.19334
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2606.19334 in a model README.md to link it from this page.
Datasets citing this paper2
#### LocalLaws/LOCUS-v1 Viewer• Updatedabout 11 hours ago • 2.21M • 723 • 8 #### AppleLamps/LOCUS-v1 Updatedabout 11 hours ago
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2606.19334 in a Space README.md to link it from this page.
Collections including this paper0
No Collection including this paper
Add this paper to acollectionto link it from this page.
Similar Articles
@barrowjoseph: New paper: every law in America is technically public. But not really, until now! With @DenisPeskoff at UC Berkeley, we…
A new paper builds and releases a corpus of 2.2 million city and county laws from across the United States, making publicly accessible legal texts that were technically public but hard to find.
@tom_doerr: Curated list of local LLM tools and hardware https://github.com/0xSojalSec/LLMs-local…
A curated list of platforms, tools, models, hardware, and resources for running large language models locally, hosted on GitHub.
Logit-Contribution Scoring Identifies Non-Literal Retrieval Heads
This paper introduces LOCOS, a method for identifying attention heads responsible for non-literal context synthesis in large language models, outperforming existing techniques on retrieval benchmarks.
Local LLM Peeps
A developer with 45 years of experience is building a local-first harness for LLMs with multi-agent logic, soon to be open-sourced on GitHub, and asks the community what features would improve their local LLM experience.
LegalBench-BR: A Benchmark for Evaluating Large Language Models on Brazilian Legal Decision Classification
Researchers release LegalBench-BR, the first public benchmark for evaluating LLMs on Brazilian legal text classification, showing LoRA-fine-tuned BERTimbau dramatically outperforms GPT-4o mini and Claude 3.5 Haiku.