- What the data is for
- Kinds of content
- Layout and format
- Download and restore
- Archive index
- Gathered sources (
corpus/) - Synthetic worlds (
benchmark/synth/worlds/) - Runs: rooftop solar permitting
- Runs: accessory dwelling unit (ADU) permitting
- Runs: administrative records
- Runs: process engine and toy statutes
- Runs: synthetic benchmark and Bayesian process models (V3 to V6)
- Runs: real-world process benchmark, CalFresh and three-family work
- Runs: rules, readings and loopholes
- Runs: procurement
- Runs: other
- Server scratch (
scratch/)
- Gathered sources (
- Main external sources
- How it was collected
- Conventions and caveats
- Access and use
- Citation and contact
Regulatory complexity: project data
All the data behind the Stanford RegLab project on regulatory complexity and administrative burden (Alexander Spangher, Dan Ho, Sanmi Koyejo; the rule-following work is with Isabel). The project asks what a rule costs the people subject to it: how many steps, how much waiting and how much money a permit or benefit takes. It then asks which drafting changes would cut that cost while changing outcomes for as few people as possible.
The code lives in the private GitHub repo
alex2awesome/regulatory-complexity. This
dataset holds everything that code reads or writes that is too large for git, or is not code:
- the sources we gathered;
- the synthetic worlds we generated;
- every experimental run;
- the project's folders from the RegLab servers.
At a glance: 127 archives, 663,739 files, 39.4 GB compressed.
What the data is for
The project has three research threads. Each uses a different slice of this dataset.
| Thread | Question | Main data here |
|---|---|---|
| Process and burden models | How long does a California rooftop-solar or ADU (accessory dwelling unit) permit take, in how many steps, at what cost, with calibrated uncertainty? | Forum reports (runs/solar_forum_*, runs/adu_forum_*, scratch/multi_census), administrative permit records (scratch/admin_data_*, corpus/counties), HCD review letters and city ordinances (runs/adu_hcd_letters_*, runs/adu_ordinances_*), fits (runs/real_process_*) |
| Synthetic benchmark | Can the models recover a planted statute, process and burden from rendered evidence? | benchmark/synth/worlds/, runs/bayes_v*, runs/w2_v6_*, runs/toy_statute* |
| Rules, readings and loopholes | Which readings does a rule's text admit, which do AI agents act on, and how do definitions change the loophole surface? | runs/rulegap_*, scratch/rulegap_gemma_* |
A procurement study (runs/procurement_*, scratch/procurement_*) measures cycle times in California
state purchasing, and the nine-program real-world benchmark (corpus/realworld, runs/rw_*) covers
CalFresh, CPRA requests, DROS, N-400 and others.
Kinds of content
| Kind | Where | Notes |
|---|---|---|
| Public government records | corpus/counties, corpus/realworld, scratch/admin_data_*, scratch/procurement_*, runs/adu_hcd_letters_*, runs/adu_ordinances_* |
Downloaded as published: CSV, XLSX, PDF, HTML. Each fetch run has a manifest.jsonl (url, bytes, sha256, fetched_at) where one was kept. |
| Statute and regulation text | corpus/ab2533, corpus/adu, corpus/realworld/*/raw, corpus/tax |
Verbatim from official sources (leginfo for California codes). corpus/tax is the third-party SARA dataset. |
| Forum text | corpus/counties/reddit_raw, runs/*forum*, runs/*census*, runs/adu_triage_*, runs/houzz_triage_*, scratch/adu_*, scratch/multi_census |
Reddit posts and comments (from the Arctic Shift archive API), Houzz threads (Internet Archive captures) and other public forums, as collected: text, author names, timestamps, ids. |
| Model outputs | throughout runs/ |
Transcripts, parses and labels from GPT-5.6 (Codex CLI), Claude (Claude Code CLI) and Gemma 4 31B (offline batch on the RegLab GPUs). Outputs quote the forum and government text they read. |
| Synthetic worlds | benchmark/synth/worlds/ |
Generated statutes, processes, cases and rendered evidence, with their answer keys (truth/, private/). |
| Fits and results | runs/bayes_*, runs/w2_v6_*, runs/real_process_*, runs/toy_*, runs/solar_panel_* |
Posteriors, draws (.npz, .json), diagnostics, comparisons, logs. |
Layout and format
Each top-level folder is one .tar.gz, stored at the path it has in the code repo:
corpus/<source>.tar.gz gathered sources
benchmark/synth/worlds/<world>.tar.gz synthetic worlds
runs/<run>.tar.gz one archive per run; runs/_files.tar.gz holds runs/README.md
scratch/<folder>.tar.gz server folders from sk3:/dfs/scratch0/alexspan
MANIFEST.jsonl one row per archive: source, n_files, bytes, sha256
- Archives under
corpus/,benchmark/andruns/unpack to their full repo path (runs/<run>/...). - Archives under
scratch/unpack to<folder>/.... - Inside a run, names follow the code repo's conventions:
- dated folders (
YYYYMMDD); - numbered attempts (
001,002); README.md,RESULTS.mdormanifest.jsonat the top where one was written.
- dated folders (
- Most runs are described in a dated doc under
docs/in the code repo. The docs cite run paths, so searching the docs for a run name finds them.
Download and restore
Everything (needs access to this private dataset):
hf download alex2awesome/regulatory-complexity-data --repo-type dataset --local-dir data_download
python scripts/archive_to_hf.py restore data_download # run from the code repo
One archive or one group:
hf download alex2awesome/regulatory-complexity-data --repo-type dataset --local-dir data_download \
--include "runs/adu_hcd_letters_20260923.tar.gz" "corpus/*"
tar xzf data_download/runs/adu_hcd_letters_20260923.tar.gz -C . # unpacks to runs/adu_hcd_letters_20260923/
restore unpacks repo archives to their repo paths and server archives under scratch/. Move or
symlink corpus/, runs/ and benchmark/synth/worlds/ into the code repo root; many tests read them.
To check a download, compare sha256sum against MANIFEST.jsonl.
Archive index
Sizes are compressed. "Not uploaded" means the archive was skipped or failed; the reason is in
runs/hf_archive_20261117/ in the uploader's copy.
Gathered sources (corpus/)
Source material as collected: public government records, statute texts, agency pages and forum pulls.
| Archive | Files | Size | Contents |
|---|---|---|---|
corpus/ab2533.tar.gz |
64 | 7.5 MB | AB 2533 pilot: Gov. Code 66311.7 and HSC 17920.3 verbatim from leginfo, source links, city checklists, process pages. |
corpus/adu.tar.gz |
1 | 3 KB | Gov. Code 66314 (ADU standards), verbatim. |
corpus/counties.tar.gz |
12,618 | 2.6 GB | County-scale sources for all 58 California counties: covariates (USDA ERS, Census Gazetteer, ACS, Statement of Vote) with a column-by-column source README; HCD Annual Progress Report Tables A and A2 (housing permit timing, 383 MB); CalFresh CF296, CF18 and CF256 county reports and State Auditor reports; civil grand jury reports (exhaustive pull, 2026-09-17); permit-portal observations; San Diego building events; Reddit pulls per county (reddit_raw/); coverage registers. |
corpus/health_codes.tar.gz |
7 | 7.2 MB | Restaurant inspection and grading codes (San Diego operations guide 2007, New York items) and a gold crosswalk. |
corpus/realworld.tar.gz |
1,837 | 200.2 MB | Process reconnaissance for nine California programs: ADU permit, CalFresh, CPRA request, CSLB license, DROS firearm purchase, food facility permit, N-400 naturalization, rooftop solar permit, UI claim. Agency pages, forms, fee schedules and forum threads per program. _gold/ and each sources.json are benchmark answer material. |
corpus/tax.tar.gz |
476 | 1.1 MB | SARA statutory-reasoning dataset (third party): US tax statutes, Prolog encodings and cases. |
Synthetic worlds (benchmark/synth/worlds/)
Generated worlds: a latent statute, its processes and cases, and the rendered evidence (forum posts, agency pages, records). Each world keeps its truth (answer key) beside the evidence.
| Archive | Files | Size | Contents |
|---|---|---|---|
benchmark/synth/worlds/W1.tar.gz |
3,521 | 3.7 MB | First synthetic world: specs, rendered artifacts, render batches and logs, provenance. |
benchmark/synth/worlds/W2_DEV_001.tar.gz |
30,814 | 189.5 MB | W2 development world: statutes S01 to S12 across jurisdictions, full rendered evidence corpus, ceilings and truth (34k files). Release report: docs/2026-09-16-w2-dev-001-release-report.md. |
benchmark/synth/worlds/THREE_FAMILY_PILOT_001.tar.gz |
107 | 1.6 MB | Three-family pilot world 1: public/ evidence, private/ truth, construction receipt. |
benchmark/synth/worlds/THREE_FAMILY_PILOT_002.tar.gz |
107 | 2.1 MB | Three-family pilot world 2 (same layout). |
benchmark/synth/worlds/THREE_FAMILY_PILOT_003.tar.gz |
107 | 2.2 MB | Three-family pilot world 3 (same layout); used for render calibration. |
benchmark/synth/worlds/_fixture.tar.gz |
30 | 30 KB | Small test fixture world (also in git). |
Runs: rooftop solar permitting
Forum and administrative evidence on how long California solar permits take, and the models fitted to it.
| Archive | Files | Size | Contents |
|---|---|---|---|
runs/solar_forum_20260922.tar.gz |
315,994 | 6.1 GB | Solar forum corpus: acquisition from Reddit and other forums, inventory, LLM reading packets (Claude and Codex bulk parses), adopted decisions, county model, bridge to the process model. The largest run (316k files). |
runs/solar_census_20260928.tar.gz |
6,444 | 88.7 MB | Solar and remaining-ADU collection: census plans over 528 California and 31 national subreddits, Gemma triage inputs and outputs, triage ledger. |
runs/solar_bulk_adoption_20260923.tar.gz |
149 | 18.9 MB | Bulk adoption of parsed Solar packets and the first fit on them. |
runs/solar_step_model_20260923.tar.gz |
309 | 140.6 MB | Solar step-level integration: action inventory audits, case posteriors. |
runs/solar_model_20260929.tar.gz |
1,217 | 323.7 MB | Solar model-input preparation: canonical reading waves, clock readiness, compiled fields. |
runs/solar_model_audit_20260929.tar.gz |
8 | 1.3 MB | Gemma audit of the clock maps behind the Solar and ADU model cuts. |
runs/solar_panel_20260920.tar.gz |
17 | 49.4 MB | Solar Bayesian panel fits: frozen estimands, posterior draws, design audit. |
runs/solar_evaluation_20260922.tar.gz |
200 | 13.5 MB | Same-evidence evaluation of the Solar fits against LLM baselines, admin and forum comparisons. |
runs/solar_admin_integration_20260930.tar.gz |
194 | 8.7 MB | Solar admin integration: clock crosswalk between forum and admin clocks, burden frames, legacy accounting. |
runs/solar_ix_calibration_20260930.tar.gz |
10 | 72 KB | Calibration of forum-reported interconnection times against the CA DG Stats anchor. |
runs/rw_solartrace_20260918.tar.gz |
18 | 0.2 MB | NREL SolarTRACE import: the 12 California jurisdictions with the most installs (1,477 observations). |
runs/rw_solartrace60_20260918.tar.gz |
18 | 0.4 MB | NREL SolarTRACE import: the 60 California jurisdictions with the most installs (6,298 observations). |
runs/rw_dwell_20260918.tar.gz |
52 | 0.4 MB | Sizing and probe of inter-operation dwell times on the Solar parse. |
runs/sk3_fit_reports_20260919_1145.tar.gz |
50 | 1.4 MB | Fit reports recovered from sk3 (SolarTRACE and W2 V6 fits). |
Runs: accessory dwelling unit (ADU) permitting
Forum discovery and triage, city ordinances, HCD review letters and ADU model inputs.
| Archive | Files | Size | Contents |
|---|---|---|---|
runs/adu_forum_20260921.tar.gz |
55,965 | 956.9 MB | ADU forum corpus: discovery, extraction contract and vocabulary, parsed episodes (1,671 episodes naming 282 jurisdictions), adjudication, analysis. |
runs/adu_gemma_triage_20260924.tar.gz |
18 | 27.0 MB | Gemma 4 31B triage of the sk3 ADU post scan: 35 subreddits, 3.1M posts, 4,629 comment trees. |
runs/adu_bayarea_20260924.tar.gz |
3,581 | 134.8 MB | Bay Area city-subreddit discovery and Gemma triage. |
runs/adu_statewide_20260926.tar.gz |
7 | 89 KB | Statewide city-subreddit discovery: 211 candidate subreddits outside the Bay Area. |
runs/adu_counties_20260926.tar.gz |
6 | 12 KB | County-by-county discovery over 37 non-Bay-Area counties, triage ledger. |
runs/adu_comment_census_20260925.tar.gz |
5 | 75 KB | Plan for the comment census of California local subreddits (the post-only scan missed about half of codable threads). Payload: scratch/adu_comment_census. |
runs/adu_fn_sample_20260924.tar.gz |
9,936 | 62.2 MB | False-negative sample: ADU evidence the post-level keyword scan misses, with Gemma labels. |
runs/adu_triage_batch2_20260926.tar.gz |
2,425 | 213.8 MB | Gemma triage batch 2 of ADU threads: inputs, outputs, reading packets. |
runs/adu_triage_batch3_20260926.tar.gz |
2,190 | 122.3 MB | Gemma triage batch 3 (same layout). |
runs/adu_triage_batch4_20260927.tar.gz |
915 | 34.2 MB | Gemma triage batch 4 (same layout). |
runs/adu_triage_batch5_20260927.tar.gz |
422 | 8.0 MB | Gemma triage batch 5 (same layout). |
runs/adu_triage_batch6_20260927.tar.gz |
99 | 1.3 MB | Gemma triage batch 6 (same layout). |
runs/adu_triage_batch7_20260927.tar.gz |
1,028 | 46.4 MB | Gemma triage batch 7 (same layout). |
runs/adu_triage_batch8_20260928.tar.gz |
861 | 24.1 MB | Gemma triage batch 8 (same layout). |
runs/adu_triage_batch9_20260928.tar.gz |
3,959 | 77.4 MB | Gemma triage batch 9 (same layout). |
runs/houzz_triage_20261001.tar.gz |
10 | 4.8 MB | Houzz ADU threads (1,113 Internet Archive captures): rendering and Gemma triage. |
runs/adu_hcd_letters_20260923.tar.gz |
1,076 | 101.7 MB | 474 HCD ADU review letters to cities and counties (raw PDFs, text) and 2,420 coded findings in letters.json, each with the local provision quoted. |
runs/adu_ordinances_20260922.tar.gz |
180 | 10.7 MB | City ADU ordinances: captures, raw pages, text, ordinances.json. |
runs/adu_city_captures_20260922.tar.gz |
711 | 215.3 MB | Captures of city ADU program pages (raw and text). |
runs/adu_city_requirements_20260930.tar.gz |
7 | 0.6 MB | City by requirement table: HCD letter findings and quoted ordinance provisions joined to admin ADU timing cohorts by jurisdiction and year. |
runs/adu_model_20260929.tar.gz |
620 | 37.1 MB | ADU model-input preparation: clock readings, evidence bundles, pooled inputs. |
Runs: administrative records
Public permit and interconnection records with dates, and the joins to forum evidence.
| Archive | Files | Size | Contents |
|---|---|---|---|
runs/admin_data_20260929.tar.gz |
3 | 1.8 MB | Index of the admin data pull for ADU and solar: README and manifest of CA DG Stats, DataSF building permits and housing production, LADBS permits, LA County EPIC-LA, San Diego DSD approvals, Sacramento and San Jose permits, LBNL Tracking the Sun, NREL SolarTRACE and SolarAPP+ reports. Payloads: scratch/admin_data_20260929. |
runs/admin_model_inputs_20260930.tar.gz |
67 | 61.3 MB | Model inputs built from the admin data: event crosswalk, cohorts by jurisdiction and year, Gemma validation, assumptions. |
runs/admin_pdf_extraction_20261001.tar.gz |
352 | 65.5 MB | Table extraction from CPUC Rule 21 quarterly PDFs, with Gemma inputs and checks. |
runs/forum_cell_keys_20260930.tar.gz |
7 | 0.5 MB | 555 forum timing claims (Solar 527, ADU 28) keyed to admin cells by Gemma. |
runs/forum_admin_calibration_20261001.tar.gz |
3 | 5 KB | Forum versus admin reporting offsets with cell keys (exact-grid fit). |
Runs: process engine and toy statutes
The full-chain toy-statute model (statute to process to burden), its SMC and JAX fitters, audits, and the first real-data fits.
| Archive | Files | Size | Contents |
|---|---|---|---|
runs/toy_statute_20260926.tar.gz |
798 | 216.5 MB | Toy statute rounds 1 to 4 (world W0 and variants): fits and results. |
runs/toy_statute2_20260929.tar.gz |
217 | 35.3 MB | Full-chain toy statutes (Backyard Hen Keeping Act HEN2, HK1, HK2 and variants) and the statute package. |
runs/toy_statute3_20260930.tar.gz |
65 | 0.2 MB | Blind-process toy HEN3: oracle and blind fits, scoring. |
runs/toy_configurable_20260930.tar.gz |
72 | 26.1 MB | Configurable inference speedups: ablations, HMC, joint checks. |
runs/toy_jax_pilot_20260930.tar.gz |
129 | 48.2 MB | JAX GPU pilot and posterior-equivalence checks against the CPU reference. |
runs/toy_response_audit_20260930.tar.gz |
4 | 12 KB | Audit of the engine after review responses: checks and profile. |
runs/toy_response_repairs_20260930.tar.gz |
46 | 91 KB | Checks of the audit repairs, runtime before and after. |
runs/toy_scaling_exact_20260930.tar.gz |
41 | 0.1 MB | Exact scaling checks of inference. |
runs/toy_single_path_refactor_20260930.tar.gz |
43 | 96 KB | Checks of the single-path refactor, with source before. |
runs/archive_toy_statute_v3_20261005.tar.gz |
53 | 0.1 MB | Frozen copy of the engine code and its tests as of 2026-10-05, with SHA-256 manifest. |
runs/real_process_20261001.tar.gz |
157 | 3.9 MB | First real Solar and ADU fits with the accelerated engine (SMC), with ADU permit mention evidence and quote checks. |
runs/real_process_audit_20261001.tar.gz |
89 | 7.1 MB | Audit of those fits: checks, numerical probes, remote logs. |
runs/real_process_refit_20261002.tar.gz |
204 | 2.8 MB | Solar and ADU refit after the audit: launches, comparison, logs. |
Runs: synthetic benchmark and Bayesian process models (V3 to V6)
Fits of the Bayesian process models to synthetic worlds W1 and W2, with audits. V6 is the integration target; V3 to V5 are kept as historical controls.
| Archive | Files | Size | Contents |
|---|---|---|---|
runs/bayes_v3.tar.gz |
32 | 0.4 MB | V3 Bayesian process model: evidence, posterior, draws, evaluation. |
runs/bayes_v3_final.tar.gz |
35 | 0.4 MB | V3 final pilot: corrected baseline scores, real-corpus control. |
runs/bayes_v3_pilot.tar.gz |
1 | 11 KB | V3 pilot evidence. |
runs/bayes_v3_smoke.tar.gz |
30 | 54 KB | V3 smoke run. |
runs/bayes_v4.tar.gz |
993 | 6.2 GB | V4 joint agency/task/case model: extraction branches, frozen fits, matched controls, calibration. |
runs/bayes_v5.tar.gz |
931 | 420.5 MB | V5: timing and selection controls, benchmark audits, source ledgers. |
runs/bayes_v6.tar.gz |
487 | 487.4 MB | V6 joint visit model: fixtures, phase and interpretation fits, source compilation, audit updates. |
runs/w2_s12_s03_completion_20260917.tar.gz |
7,503 | 30.6 MB | Completion of W2 statutes S12 and S03: renders, handoffs, checkpoints. |
runs/w2_v6_diagnostic_parse_20260917_2335.tar.gz |
853 | 6.1 MB | V6 on W2: diagnostic parses per case and statute. |
runs/w2_v6_diagnostic_sources_20260917_2335.tar.gz |
138 | 0.3 MB | V6 on W2: diagnostic source sets. |
runs/w2_v6_diagnostic_compile_20260918.tar.gz |
118 | 0.8 MB | V6 on W2: source-compiler diagnostic from the frozen public-source ledger. |
runs/w2_v6_bridge_20260918.tar.gz |
408 | 2.4 MB | V6 on W2: bridge from parses to model inputs, per case and statute. |
runs/w2_v6_bridge_burden_20260918.tar.gz |
75 | 0.5 MB | V6 on W2: burden bridge. |
runs/w2_v6_compile_burden_20260918.tar.gz |
41 | 0.3 MB | V6 on W2: compiled burden inputs. |
runs/w2_v6_code_checks_20260918.tar.gz |
3 | 1 KB | V6 code checks: replays of case paths, cohorts and report bindings. |
runs/w2_v6_source_only_20260918.tar.gz |
104 | 3.7 MB | V6 on W2: source-only inputs and preflights. |
runs/w2_v6_fits_20260918.tar.gz |
48 | 19.9 MB | V6 fits on W2 and the comparison to truth. |
runs/w2_v6_fits_sk3_20260919.tar.gz |
219 | 1.2 GB | V6 fits on W2 run on sk3, plus SolarTRACE fits, with the comparison to truth. |
runs/synth.tar.gz |
64 | 67 KB | W1 solve and score runs with supplied documents. |
runs/synth_search.tar.gz |
24 | 50 KB | W1 solve and score runs with search. |
runs/incremental.tar.gz |
73 | 0.2 MB | LLM extraction with deterministic incremental reconstruction, on real DROS and on W1. |
runs/synthetic_measurements_2026-09-16.tar.gz |
3 | 0.2 MB | Compiled measurements of the saved W1 evaluations (LLM, search, incremental, Bayesian pilot). |
runs/codex_audit_20260920.tar.gz |
7 | 51 KB | Audit of Codex work: inventory, semantic, snapshot and source-trust findings. |
Runs: real-world process benchmark, CalFresh and three-family work
The nine-program real-world benchmark, real-corpus parsing, and the CalFresh and three-family studies.
| Archive | Files | Size | Contents |
|---|---|---|---|
runs/rw_pilot.tar.gz |
38 | 40 KB | Real-world benchmark pilot over the nine programs and their agencies: alignments and scores. |
runs/rw_llm.tar.gz |
48 | 63 KB | Real-world benchmark, LLM arm: alignments, logs, scores. |
runs/rw_agent.tar.gz |
49 | 82 KB | Real-world benchmark, agent arm: k-vote alignments and scores. |
runs/align_votes.tar.gz |
113 | 57 KB | Alignment votes per program and agency. |
runs/rw_parse_20260918.tar.gz |
14,123 | 1.2 GB | Real-corpus parsing by program (ADU, CalFresh, solar, assessment appeals and others), parse queue, artifact index. |
runs/rw_parse_20260919.tar.gz |
21,919 | 1.1 GB | Continuation of real-corpus and forum parsing: work plans, shards, accepted packets. |
runs/realworld_page_20260921.tar.gz |
99 | 5.5 MB | Working record of the real-world process survey: HTML page and its data. |
runs/process_structure_20260921.tar.gz |
1,784 | 10.5 GB | CalFresh process structure: county captures and guides, forum sweeps, phases 1 to 3 (10.5 GB). |
runs/three_family_20260920.tar.gz |
12,996 | 983.6 MB | Three-family execution (Solar, CalFresh, CCW): pilots, phase reviews, cohorts. |
runs/three_family_pilot_render_calibration_01.tar.gz |
74 | 91 KB | Render calibration for the three-family pilot: drafts, packets, prompts. |
runs/three_family_pilot_003_render_calibration_01.tar.gz |
222 | 0.2 MB | Render calibration for pilot world 3, round 1: drafts, independent verifiers. |
runs/three_family_pilot_003_render_calibration_02.tar.gz |
150 | 0.1 MB | Render calibration for pilot world 3, round 2: adoption, reviews. |
runs/open_model_smoketest_20260923.tar.gz |
13 | 0.3 MB | Smoke test of Gemma 4 31B against frontier-model labels. |
Runs: rules, readings and loopholes
The letter-versus-spirit experiments in benchmark/rulegap/.
| Archive | Files | Size | Contents |
|---|---|---|---|
runs/rulegap_20261111.tar.gz |
16,787 | 4.3 MB | Rule-following experiments E1 and E3 (GPT-5.6 Luna, Claude Sonnet 5.5), agent studies (airline policy, constitution, Gemma), red-team trial. |
runs/rulegap_20261117.tar.gz |
115 | 95 KB | Question-asking interpreter pilot: generated questions, matches to planted questions, analysis. |
Runs: procurement
California state procurement records with process dates.
| Archive | Files | Size | Contents |
|---|---|---|---|
runs/procurement_20261021.tar.gz |
366 | 51.6 MB | Fetch scripts, logs and data: data.ca.gov purchase orders 2012 to 2015, Caltrans and DGS notices of intent to award (live and Wayback), DGS late-payment reports. The large SCPRS and CSCR exports are in scratch/procurement_20261021. |
Runs: other
| Archive | Files | Size | Contents |
|---|---|---|---|
runs/_files.tar.gz |
2 | 3 KB | runs/README.md (run archive policy) and alignment_three_way.json. |
Server scratch (scratch/)
This project's folders from shared scratch on the RegLab server sk3 (/dfs/scratch0/alexspan). Python environments and package caches are left out.
| Archive | Files | Size | Contents |
|---|---|---|---|
scratch/admin_data_20260929.tar.gz |
144 | 1.7 GB | Admin data payloads (2.5 GB): CA DG Stats, CEC CalAPP, CPUC Rule 21 quarterlies, HCD APR, LA County EPIC-LA, LADBS, LBNL Tracking the Sun, DataSF, San Diego, Sacramento, San Jose. |
scratch/admin_model_inputs_20260930.tar.gz |
137 | 264.7 MB | Server copy of the admin model inputs, with Gemma jobs. |
scratch/procurement_20261021.tar.gz |
57,180 | 1.3 GB | FI$Cal SCPRS search and detail exports (weekly windows from 2015-07-01) and Cal eProcure CSCR events and event details (1.6 GB). |
scratch/multi_census.tar.gz |
26,080 | 376.5 MB | Multi-topic subreddit census (Solar and other programs) over 528 California and 31 national subreddits, fetched from the Arctic Shift API. |
scratch/adu_census_interim.tar.gz |
5,902 | 190.0 MB | ADU subreddit census, interim fetches and comment hits. |
scratch/adu_comment_census.tar.gz |
1,917 | 52.0 MB | ADU comment census of California local subreddits (bay, mid, south). |
scratch/adu_bayarea_20260924.tar.gz |
2,912 | 40.1 MB | Bay Area city-subreddit fetches. |
scratch/adu_statewide_20260926.tar.gz |
3,967 | 38.5 MB | Statewide city-subreddit fetches. |
scratch/adu_counties_20260926.tar.gz |
875 | 4.2 MB | Per-county subreddit fetches. |
scratch/adu_fn_sample.tar.gz |
9,927 | 58.6 MB | Raw fetches for the ADU false-negative sample. |
scratch/adu_forum_fetch.tar.gz |
6,314 | 26.2 MB | ADU forum fetch, phase 4. |
scratch/gemma_jobs.tar.gz |
1,246 | 516.5 MB | Gemma 4 31B offline batch jobs: inputs and outputs for triage and validation. |
scratch/open_model_smoketest.tar.gz |
6 | 0.3 MB | Gemma smoke-test outputs and timing. |
scratch/rulegap_gemma_20261111.tar.gz |
1,641 | 18.0 MB | Gemma runs for the rule-following agent study. |
scratch/real_process_20261001.tar.gz |
1,981 | 24.0 MB | Server side of the first real-data fits: code, launch scripts, logs. |
scratch/real_process_refit_20261002.tar.gz |
248 | 3.2 MB | Server side of the refit: code, fits, logs. |
scratch/solar_admin_integration_20260930.tar.gz |
351 | 2.0 MB | Burden-frame fits on the server. |
scratch/solar_ix_calibration_20260930.tar.gz |
3 | 6 KB | DG Stats anchor build. |
scratch/solar_screen_20260923.tar.gz |
5 | 12.6 MB | Solar screening set and its batch script (paused). |
scratch/toy_configurable_20260930.tar.gz |
105 | 26.3 MB | Server code for the configurable-inference runs. |
scratch/toy_jax_pilot_20260930.tar.gz |
137 | 42.3 MB | Server code for the JAX GPU pilot. |
scratch/toy_statute.tar.gz |
833 | 150.6 MB | Server copy of the toy-statute engine code. |
Main external sources
| Source | Publisher | What it gives | Where |
|---|---|---|---|
| Annual Progress Reports, Tables A and A2 | California HCD | Housing permits by jurisdiction with application, entitlement, permit and completion dates | corpus/counties/raw, scratch/admin_data_*/hcd_apr |
| ADU review letters | California HCD | Findings that local ADU ordinances violate state law, with the provision quoted | runs/adu_hcd_letters_20260923 |
| CA DG Stats interconnection data | CPUC and utilities | Rooftop-solar application, approval and permission-to-operate dates, 1982 to 2026 | scratch/admin_data_*/ca_dgstats |
| City and county permit data | DataSF, LADBS, LA County EPIC-LA, San Diego DSD, Sacramento, San Jose | Building permits with filing, issue and completion dates; ADU and solar flags | scratch/admin_data_* |
| Tracking the Sun; SolarTRACE; SolarAPP+ reports | LBNL; NREL | Solar install records; permitting and interconnection timelines by jurisdiction | scratch/admin_data_*, runs/rw_parse_20260918/solar_permit/source |
| CalFresh CF296, CF18, CF256 reports | California CDSS | County caseload, application processing and timeliness | corpus/counties/raw |
| Civil grand jury reports | California county grand juries | Reports on local agencies | corpus/counties/raw/exhaustive_2026_09_17 |
| SCPRS purchase records; CSCR solicitations | FI$Cal; Cal eProcure (DGS) | State purchases with dates; bid events with published and due dates | scratch/procurement_20261021 |
| Purchase Order Data 2012 to 2015 | data.ca.gov | 344,504 purchase-order lines with creation and purchase dates | runs/procurement_20261021/data/opendata_po |
| Notices of intent to award; late-payment reports | Caltrans; DGS | Award and protest dates; payment timing | runs/procurement_20261021/data |
| County covariates | USDA ERS, Census Gazetteer, ACS, Secretary of State | Population, area, broadband, votes for 58 counties | corpus/counties (column sources in its README) |
| via the Arctic Shift archive API | Posts and comments from about 560 California-local, topic and national subreddits | scratch/multi_census, scratch/adu_*, corpus/counties/reddit_raw, forum runs |
|
| Statute text | California Legislative Information | Government Code and Health and Safety Code sections | corpus/ab2533, corpus/adu, corpus/realworld |
| SARA | Holzenberger et al. | Statutory-reasoning benchmark on US tax law | corpus/tax/sara |
How it was collected
- Public pages and files were fetched as a guest: no logins, no CAPTCHA or paywall bypass, at about one request per second, with a user agent that names the project. Where a fetcher kept one, each file has a manifest row (url, bytes, sha256, fetch time).
- Reddit was pulled from the Arctic Shift API on the sk3 server, by subreddit and by keyword, in
censuses that record which ids are already held (
already_held_reddit_ids.txt). - LLM reading:
- Routine parsing ran on GPT-5.6 through the Codex CLI and on Claude through Claude Code.
- High-volume triage and closed-codebook labelling ran on Gemma 4 31B as offline batch jobs.
- Quotes in evidence are sliced programmatically from the retained source bytes and replay exactly.
- Synthetic worlds come from the generator in
benchmark/synth/generator. LLMs render the text evidence (benchmark/synth/render).
Conventions and caveats
- Nothing is cleaned or deduplicated across runs. A run holds what it produced, including failed, unconverged and superseded attempts, which are kept on purpose. Check a run's README or its doc before reusing its numbers.
- Runs depend on each other. A later run often reads an earlier run's outputs by relative path. Restore
the whole
runs/tree when you can. - Absolute paths: some manifests and logs record paths on the laptop or on sk2 and sk3. Treat them as provenance, not as paths to use.
- Answer keys sit beside the evidence.
- Synthetic worlds hold their truth (
truth/,private/, generator specs). - The real-world benchmark holds its gold (
corpus/realworld/_gold, eachsources.json). - In the project, extractors and fitters never read these. Anyone using the worlds as a held-out test must not look at them either.
- Synthetic worlds hold their truth (
- Unsupported is not zero. A report the parser could not support stays in the ledger. Unknown geography is not an exclusion rule.
- Folders were scanned before upload for API keys, tokens and private keys. A folder with a hit was held back and is marked "not uploaded" in the index above.
Access and use
- This dataset is private.
- Government records in it are public records.
- Reddit and other forum text, and the project's parses of it, are included with the permission the project obtained to redistribute it. The text keeps author names and timestamps as collected.
- Model outputs quote that text.
- Third-party datasets (SARA) keep their own terms.
Citation and contact
Stanford RegLab, regulatory complexity project (Alexander Spangher, Dan Ho, Sanmi Koyejo). There is no paper yet. Questions go to Alexander Spangher through the GitHub repo.
- Downloads last month
- 3,259