File size: 2,827 Bytes
889c4d9
b8d4f75
 
 
889c4d9
b8d4f75
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a06b312
b8d4f75
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
---
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
---

<div align="center">
  <img src="assets/ghost-gavel.svg" width="220" alt="PhantomDocket ghost holding a gavel">
  <h1>PhantomDocket</h1>
</div>

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.