Description
Statutes at Large references (e.g., 124 Stat. 119) are being classified as type: 'case' instead of type: 'statute'. The Stat. reporter is a session law publication, not a case reporter.
Reproduction
import { extractCitations } from 'eyecite-ts'
const text = 'Pub. L. No. 111-148, 124 Stat. 119 (2010).'
const citations = extractCitations(text)
// citations[1] is { type: 'case', volume: 124, reporter: 'Stat.', page: 119 }
// Expected: type: 'statute' or a new 'sessionLaw' type
Context
This came up when parsing the ACA citation (Pub. L. No. 111-148, 124 Stat. 119 (2010)). The Pub. L. portion correctly extracts as type: 'publicLaw', but the companion Statutes at Large reference gets misclassified.
Common Statutes at Large patterns:
Suggested Fix
Either:
- Add
Stat. to the statute pattern matcher (simplest)
-
- Create a dedicated
sessionLaw citation type that covers Statutes at Large references
-
- At minimum, exclude
Stat. from the case reporter matching
Option 2 would be the most semantically correct — Statutes at Large aren't really statutes (codified law) or cases; they're session laws published chronologically.
Description
Statutes at Large references (e.g.,
124 Stat. 119) are being classified astype: 'case'instead oftype: 'statute'. TheStat.reporter is a session law publication, not a case reporter.Reproduction
Context
This came up when parsing the ACA citation (
Pub. L. No. 111-148, 124 Stat. 119 (2010)). ThePub. L.portion correctly extracts astype: 'publicLaw', but the companion Statutes at Large reference gets misclassified.Common Statutes at Large patterns:
124 Stat. 11979 Stat. 911110 Stat. 1321Suggested Fix
Either:
Stat.to the statute pattern matcher (simplest)sessionLawcitation type that covers Statutes at Large referencesStat.from the case reporter matchingOption 2 would be the most semantically correct — Statutes at Large aren't really statutes (codified law) or cases; they're session laws published chronologically.