---
pretty_name: PhantomDocket
language:
- en
license: cc0-1.0
task_categories:
- text-classification
tags:
- legal
- court-records
- pdf
- work-in-progress
configs:
- config_name: default
data_files:
- split: corpus
path: data/corpus.parquet
---
PhantomDocket
PhantomDocket is a work-in-progress corpus of 2,284 federal court filings for research on hallucinated legal citations. The release includes the source PDFs and a Parquet index. It does not include OCR text.
## Dataset structure
The dataset uses one `corpus` split. The `group` column has four mutually exclusive values:
- `hallucination`
- `same_party`
- `control_judge`
- `control_other_party`
PDFs are stored as individual files under `documents/`, grouped by their stable Charlotin counters. Each row in `data/corpus.parquet` contains a repository-relative `pdf_path` and a SHA-256 digest.
## Work-in-progress coverage
This release contains 2,284 verified document records. Five rostered records are not included because verified source PDFs were not available at release time. Existing `document_id` and `charlotin_counter` values are permanent and will not be renumbered in later versions.
## Loading the index
```python
from datasets import load_dataset
corpus = load_dataset("Arifov/PhantomDocket", split="corpus")
print(corpus[0])
```
The PDF named by a row can be downloaded with `huggingface_hub.hf_hub_download` using the row's `pdf_path`.
## Fields
- `document_id`: stable identifier such as `oak_charlotin_0533`
- `charlotin_counter`: stable counter in the Charlotin roster
- `group`: four-way research classification
- `case_key`: stable pseudonymous case identifier
- `case_id`: Charlotin case identifier
- `case_name`: public case caption when available
- `court`: normalized court name
- `court_code`: court code when available
- `docket_number`: docket number when available
- `entry_number`: ECF entry or attachment identifier
- `document_name`: docket description
- `filing_party_role`: filing-party classification when available
- `pdf_path`: repository-relative PDF path
- `pdf_sha256`: SHA-256 digest of the released PDF
- `page_count`: PDF page count when available
- `acquisition_channel`: current release channel
- `release_version`: dataset release version
## Important analysis note
Rows with `detector_eligible = true` are used for comparisons across detectors in the paper. We were unable to test all of our detectors on the other 27 rows.
## License and rights
To the extent the maintainers hold copyright or database rights in this dataset, those rights are waived under CC0 1.0 Universal. See `RIGHTS.md` for the treatment of underlying court filings.