Datasets:
Dedupe labels and remove Structural rows
Browse filesRemoves rows from the `labels` config whose `function_majority` is `Structural`, and deduplicates rows.
- Input: 3,073,770 rows
- Exact duplicate rows: 0 (dedup was a no-op; `(document_id, section_index)` was already unique)
- Removed `function_majority == "Structural"`: 352,325 rows
- Output: 2,721,445 rows. Schema and zstd compression are unchanged. Rows with a null `function_majority` (16,372) are kept.
README: updated the `labels` row count, and the note that `sections` and `labels` share row order (they no longer align by position, so join on `(document_id, section_index)`).
The `sections` config is unchanged.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Files changed (2)
- README.md+2-2
- labels/data.parquet+2-2
43 unmodified lines4445464748495051525354555643 unmodified lines| Subset | Rows | Contents ||---|---:|---|| `sections` | 3,073,770 | Default: identifiers, jurisdiction, text, consensus, all model labels, and dimension scores (29 columns). || `labels` | 3,073,770 | The section identifiers and label columns, without jurisdiction or legal text (17 columns). || `human_audit` | 250 | Human consensus, independent eligibility flags, and the three models' labels. || `counties` | 3,144 | The county harmonization universe, including counties without a selected document. |The sections contain **2,360 distinct documents**. The county table contains **3,144 counties**: **2,410 represented** (76.7%) and **734 without a selected document**. These are counts of the released county selection, not a claim that every ordinance in a represented county is included.The `sections` and `labels` rows share the same order, sorted by state, document_id, and section_index. The composite key `(document_id, section_index)` is unique. Parquet files use Zstandard compression.## Loading43 unmodified lines4445464748495051525354555643 unmodified lines| Subset | Rows | Contents ||---|---:|---|| `sections` | 3,073,770 | Default: identifiers, jurisdiction, text, consensus, all model labels, and dimension scores (29 columns). || `labels` | 2,721,445 | The section identifiers and label columns, without jurisdiction or legal text (17 columns), deduplicated and excluding sections whose `function_majority` is `Structural`. || `human_audit` | 250 | Human consensus, independent eligibility flags, and the three models' labels. || `counties` | 3,144 | The county harmonization universe, including counties without a selected document. |The sections contain **2,360 distinct documents**. The county table contains **3,144 counties**: **2,410 represented** (76.7%) and **734 without a selected document**. These are counts of the released county selection, not a claim that every ordinance in a represented county is included.The `sections` and `labels` rows are sorted by state, document_id, and section_index; `labels` omits the 352,325 sections whose `function_majority` is `Structural`, so join on the key rather than by row position. The composite key `(document_id, section_index)` is unique. Parquet files use Zstandard compression.## Loading
123version https://git-lfs.github.com/spec/v1oid sha256:31e403c96865e96f14836f1ab962165a6969ff952b5153a9a70986ada1bcb366size 26270131123version https://git-lfs.github.com/spec/v1oid sha256:b6ddde03b2c469f628fe105d055d184eab5bf23d9953eae08a81e18deaa3a888size 23383463
README.md+2-2
labels/data.parquet+2-2