Datasets:

Modalities:
Text
Dataset Preview
Full Screen
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 25 new columns ({'docket_number', 'name_abbreviation', 'url', 'reporter', 'frontend_url', 'majority_author', 'volume', 'last_updated', 'id', 'citations', 'provenance', 'court', 'preview', 'casebody', 'stratum', 'cites_to', 'first_page', 'jurisdiction', 'year', 'name', 'circuit', 'frontend_pdf_url', 'last_page', 'analysis', 'decision_date'}) and 4 missing columns ({'case_name', 'fsupp_citation', 'us_citation', 'fd_citation'}).

This happened while the csv dataset builder was generating data using

hf://datasets/reglab/legal_hallucinations_paper_data/samples/fd_sample.csv (at revision 3f9a75b905f0a19444f3d4642aa571fbd50caf52)

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2011, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2302, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2256, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              id: int64
              url: string
              name: string
              name_abbreviation: string
              decision_date: string
              docket_number: string
              first_page: string
              last_page: string
              citations: string
              volume: string
              reporter: string
              court: string
              jurisdiction: string
              cites_to: string
              frontend_url: string
              frontend_pdf_url: string
              preview: string
              analysis: string
              last_updated: string
              provenance: string
              casebody: string
              year: int64
              majority_author: string
              circuit: int64
              stratum: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 3203
              to
              {'case_name': Value(dtype='string', id=None), 'us_citation': Value(dtype='string', id=None), 'fd_citation': Value(dtype='string', id=None), 'fsupp_citation': Value(dtype='string', id=None)}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1312, in compute_config_parquet_and_info_response
                  parquet_operations, partial = stream_convert_to_parquet(
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 906, in stream_convert_to_parquet
                  builder._prepare_split(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2013, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 25 new columns ({'docket_number', 'name_abbreviation', 'url', 'reporter', 'frontend_url', 'majority_author', 'volume', 'last_updated', 'id', 'citations', 'provenance', 'court', 'preview', 'casebody', 'stratum', 'cites_to', 'first_page', 'jurisdiction', 'year', 'name', 'circuit', 'frontend_pdf_url', 'last_page', 'analysis', 'decision_date'}) and 4 missing columns ({'case_name', 'fsupp_citation', 'us_citation', 'fd_citation'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/reglab/legal_hallucinations_paper_data/samples/fd_sample.csv (at revision 3f9a75b905f0a19444f3d4642aa571fbd50caf52)
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

case_name
string
us_citation
string
fd_citation
string
fsupp_citation
string
Brown v. Facebook Inc.
190 U.S. 446
755 F.3d 295
943 F. Supp. 2d 772
United States v. Exxon Mobil
320 U.S. 9
845 F.3d 55
628 F. Supp. 2d 781
Johnson & Johnson v. California Department of Health
507 U.S. 768
88 F.3d 249
246 F. Supp. 2d 790
Amazon Inc. v. Texas
13 U.S. 942
141 F.3d 301
302 F. Supp. 2d 800
City of Boston v. Wells Fargo
252 U.S. 891
632 F.3d 318
492 F. Supp. 2d 383
Sanchez v. Bureau of Land Management
415 U.S. 409
240 F.3d 533
180 F. Supp. 2d 66
Gonzalez v. Department of Homeland Security
225 U.S. 376
269 F.3d 281
941 F. Supp. 2d 1
Michigan v. General Motors
569 U.S. 510
714 F.3d 930
631 F. Supp. 2d 681
New York City v. Uber Technologies, Inc.
394 U.S. 36
948 F.3d 893
313 F. Supp. 2d 867
Doe v. United States Department of Justice
241 U.S. 621
412 F.3d 100
162 F. Supp. 2d 74
Apple Inc. v. Georgia
503 U.S. 705
361 F.3d 21
869 F. Supp. 2d 377
Environmental Protection Agency v. Chevron Corporation
472 U.S. 624
638 F.3d 520
954 F. Supp. 2d 269
McDonald's Corporation v. Florida
544 U.S. 748
195 F.3d 203
714 F. Supp. 2d 554
Oracle Corporation v. United States Treasury
187 U.S. 158
149 F.3d 436
477 F. Supp. 2d 312
State of Illinois v. Walgreens
330 U.S. 983
196 F.3d 605
104 F. Supp. 2d 216
Jackson v. Department of Education
116 U.S. 383
53 F.3d 791
281 F. Supp. 2d 14
American Civil Liberties Union v. Kansas
36 U.S. 813
163 F.3d 746
500 F. Supp. 2d 877
Human Rights Watch v. Federal Bureau of Prisons
151 U.S. 410
718 F.3d 35
649 F. Supp. 2d 238
Sierra Club v. Department of the Interior
207 U.S. 512
810 F.3d 606
227 F. Supp. 2d 304
Minnesota v. Target Corporation
415 U.S. 788
314 F.3d 935
563 F. Supp. 2d 538
Bennett v. Texas Department of Criminal Justice
327 U.S. 309
541 F.3d 375
126 F. Supp. 2d 777
Martinez v. Internal Revenue Service
416 U.S. 946
824 F.3d 651
757 F. Supp. 2d 436
Ford Motor Company v. United States Environmental Protection Agency
161 U.S. 836
265 F.3d 115
490 F. Supp. 2d 392
Philadelphia v. Comcast Corporation
131 U.S. 375
712 F.3d 410
238 F. Supp. 2d 594
New Jersey v. Johnson & Johnson
333 U.S. 255
671 F.3d 564
963 F. Supp. 2d 743
Tesla Inc. v. Department of Transportation
216 U.S. 586
762 F.3d 339
968 F. Supp. 2d 947
Miller v. United States Postal Service
404 U.S. 89
278 F.3d 620
4 F. Supp. 2d 257
Colorado v. Google LLC
560 U.S. 470
462 F.3d 523
419 F. Supp. 2d 282
Peterson v. Federal Trade Commission
76 U.S. 772
790 F.3d 64
328 F. Supp. 2d 951
Pfizer Inc. v. Food and Drug Administration
239 U.S. 962
629 F.3d 232
161 F. Supp. 2d 932
Microsoft Corporation v. Illinois
40 U.S. 513
765 F.3d 613
788 F. Supp. 2d 804
The City of Seattle v. Starbucks Corporation
482 U.S. 439
89 F.3d 246
695 F. Supp. 2d 794
Arizona v. T-Mobile US, Inc.
82 U.S. 937
881 F.3d 126
867 F. Supp. 2d 194
Davis v. Department of Health and Human Services
431 U.S. 166
461 F.3d 982
410 F. Supp. 2d 84
Citigroup Inc. v. New York
360 U.S. 822
489 F.3d 173
779 F. Supp. 2d 949
Hall v. Federal Communications Commission
470 U.S. 734
179 F.3d 535
926 F. Supp. 2d 518
North Carolina v. Bank of America Corporation
578 U.S. 886
83 F.3d 291
528 F. Supp. 2d 273
Turner v. Social Security Administration
475 U.S. 678
638 F.3d 271
590 F. Supp. 2d 118
Virginia v. Dominion Energy, Inc.
270 U.S. 261
748 F.3d 342
100 F. Supp. 2d 757
Evans v. United States Department of Agriculture
74 U.S. 222
917 F.3d 588
610 F. Supp. 2d 373
Ohio v. The Procter & Gamble Company
542 U.S. 333
687 F.3d 856
675 F. Supp. 2d 385
Carter v. United States Citizenship and Immigration Services
554 U.S. 849
229 F.3d 739
404 F. Supp. 2d 435
New York State Department of Environmental Conservation v. BP p.l.c.
406 U.S. 422
68 F.3d 950
505 F. Supp. 2d 529
Ross v. Federal Aviation Administration
420 U.S. 806
165 F.3d 893
357 F. Supp. 2d 175
Wisconsin v. Harley-Davidson, Inc.
47 U.S. 303
604 F.3d 728
398 F. Supp. 2d 923
Miller v. National Labor Relations Board
503 U.S. 13
515 F.3d 641
12 F. Supp. 2d 674
The City of Houston v. Shell Oil Company
190 U.S. 902
944 F.3d 927
577 F. Supp. 2d 744
Washington v. Costco Wholesale Corporation
85 U.S. 265
300 F.3d 7
716 F. Supp. 2d 958
Morris v. National Aeronautics and Space Administration
27 U.S. 854
80 F.3d 740
749 F. Supp. 2d 819
Massachusetts v. The Boston Beer Company, Inc.
32 U.S. 641
994 F.3d 541
604 F. Supp. 2d 841
Campbell v. United States Army
267 U.S. 462
521 F.3d 505
658 F. Supp. 2d 434
Vermont v. Ben & Jerry's Homemade Holdings Inc.
85 U.S. 464
909 F.3d 640
34 F. Supp. 2d 741
Baker v. United States Navy
487 U.S. 971
753 F.3d 920
312 F. Supp. 2d 51
Georgia v. Delta Air Lines, Inc.
321 U.S. 825
847 F.3d 340
958 F. Supp. 2d 693
Stevens v. Central Intelligence Agency
330 U.S. 723
979 F.3d 503
356 F. Supp. 2d 585
State of Alaska v. ExxonMobil Corporation
165 U.S. 388
555 F.3d 306
628 F. Supp. 2d 176
Clark v. United States Marine Corps
566 U.S. 631
148 F.3d 237
603 F. Supp. 2d 812
Oregon v. Nike, Inc.
150 U.S. 439
933 F.3d 775
870 F. Supp. 2d 121
Smith v. National Park Service
34 U.S. 601
648 F.3d 129
40 F. Supp. 2d 737
Maryland v. Under Armour, Inc.
47 U.S. 964
231 F.3d 1
830 F. Supp. 2d 827
Harris v. United States Coast Guard
508 U.S. 826
719 F.3d 792
498 F. Supp. 2d 56
Tennessee v. FedEx Corporation
353 U.S. 930
799 F.3d 841
773 F. Supp. 2d 708
Hughes v. United States Fish and Wildlife Service
395 U.S. 784
748 F.3d 380
975 F. Supp. 2d 580
Kansas v. Sprint Corporation
182 U.S. 85
357 F.3d 309
72 F. Supp. 2d 878
Reed v. Bureau of Alcohol, Tobacco, Firearms and Explosives
438 U.S. 966
370 F.3d 395
697 F. Supp. 2d 868
Indiana v. Eli Lilly and Company
155 U.S. 692
172 F.3d 799
238 F. Supp. 2d 514
Parker v. United States Geological Survey
360 U.S. 945
342 F.3d 991
436 F. Supp. 2d 708
Pennsylvania v. The Hershey Company
572 U.S. 647
230 F.3d 997
926 F. Supp. 2d 301
Jones v. National Oceanic and Atmospheric Administration
96 U.S. 4
383 F.3d 656
112 F. Supp. 2d 320
State of Connecticut v. Cigna Corporation
252 U.S. 820
617 F.3d 293
141 F. Supp. 2d 929
Henderson v. United States Forest Service
528 U.S. 574
394 F.3d 145
373 F. Supp. 2d 690
Missouri v. Anheuser-Busch Companies, LLC
358 U.S. 991
862 F.3d 591
262 F. Supp. 2d 208
Young v. National Highway Traffic Safety Administration
226 U.S. 289
502 F.3d 537
399 F. Supp. 2d 752
Iowa v. Principal Financial Group
113 U.S. 149
58 F.3d 458
718 F. Supp. 2d 633
Russell v. Federal Emergency Management Agency
383 U.S. 117
747 F.3d 954
523 F. Supp. 2d 764
Arkansas v. Tyson Foods, Inc.
437 U.S. 406
655 F.3d 948
825 F. Supp. 2d 240
Mitchell v. United States Fish and Wildlife Service
43 U.S. 824
610 F.3d 170
173 F. Supp. 2d 986
Nevada v. Las Vegas Sands Corporation
147 U.S. 205
839 F.3d 417
374 F. Supp. 2d 473
Morgan v. Occupational Safety and Health Administration
131 U.S. 621
506 F.3d 675
181 F. Supp. 2d 813
Nebraska v. Union Pacific Railroad
85 U.S. 728
484 F.3d 900
39 F. Supp. 2d 197
Taylor v. Bureau of Indian Affairs
316 U.S. 327
367 F.3d 760
810 F. Supp. 2d 23
New Mexico v. Intel Corporation
280 U.S. 461
164 F.3d 17
365 F. Supp. 2d 461
Barnes v. Bureau of Engraving and Printing
346 U.S. 695
671 F.3d 804
117 F. Supp. 2d 629
Hawaii v. Hawaiian Electric Industries
553 U.S. 678
289 F.3d 769
163 F. Supp. 2d 402
Fisher v. United States Mint
245 U.S. 151
764 F.3d 593
738 F. Supp. 2d 360
Rhode Island v. CVS Health
192 U.S. 347
117 F.3d 799
568 F. Supp. 2d 942
Robinson v. National Archives and Records Administration
288 U.S. 688
824 F.3d 493
388 F. Supp. 2d 595
Delaware v. DuPont
52 U.S. 573
248 F.3d 562
282 F. Supp. 2d 602
Green v. United States Secret Service
541 U.S. 461
897 F.3d 553
554 F. Supp. 2d 316
State of Maine v. IDEXX Laboratories
185 U.S. 224
183 F.3d 719
467 F. Supp. 2d 521
Thompson v. Federal Bureau of Investigation
508 U.S. 280
100 F.3d 866
562 F. Supp. 2d 562
Idaho v. Micron Technology, Inc.
388 U.S. 712
816 F.3d 248
19 F. Supp. 2d 782
Adams v. United States Capitol Police
182 U.S. 824
774 F.3d 548
644 F. Supp. 2d 603
State of Utah v. Sinclair Oil Corporation
158 U.S. 776
608 F.3d 506
726 F. Supp. 2d 12
Baker v. Bureau of Economic Analysis
371 U.S. 367
568 F.3d 913
851 F. Supp. 2d 326
State of Montana v. Stillwater Mining Company
126 U.S. 608
25 F.3d 477
572 F. Supp. 2d 282
Fletcher v. Drug Enforcement Administration
570 U.S. 730
86 F.3d 109
534 F. Supp. 2d 167
New Hampshire v. BAE Systems
255 U.S. 84
432 F.3d 841
728 F. Supp. 2d 177
Dixon v. Internal Revenue Service
414 U.S. 327
590 F.3d 909
881 F. Supp. 2d 520
North Dakota v. Sanford Health
446 U.S. 471
98 F.3d 109
901 F. Supp. 2d 440
End of preview.

No dataset card yet

New: Create and edit this dataset card directly on the website!

Contribute a Dataset Card
Downloads last month
22