Skip to content

Bug: 4th series reporters not recognized (F.4th, Cal.App.4th, A.4th) #18

@medelman17

Description

@medelman17

Problem

No 4th-series reporter citations are recognized. This is a significant coverage gap since F.4th has been the active Federal Reporter since 2021.

"50 F.4th 100"          → 0 results ✗
"173 Cal.App.4th 655"   → 0 results ✗
"100 A.4th 200"         → 0 results ✗

Meanwhile, 2d and 3d series work fine:

"92 Cal.Rptr.3d 784"    → found ✓
"100 N.Y.S.3d 200"      → found ✓

Root Cause

Federal pattern (casePatterns.ts:27) explicitly lists F.3d but not F.4th:

regex: /\b(\d+)\s+(F\.|F\.2d|F\.3d|F\.\s?Supp\.|...)\s+(\d+)\b/g

State pattern (casePatterns.ts:39) only allows 2d|3d suffix:

regex: /\b(\d+)\s+([A-Z][A-Za-z\.]+(?:\s?2d|\s?3d)?)\s+(\d+)\b/g
//                                    ^^^^^^^^^^^^^^^^ missing 4th

Fix

  1. Add F\.4th to the federal-reporter pattern
  2. Add F\.\s?Supp\.\s?4th for future-proofing
  3. Change the state-reporter suffix to (?:\s?2d|\s?3d|\s?4th)?

Impact

High — F.4th is the current active Federal Reporter. All federal appellate decisions since 2021 use this reporter. Missing it means we fail on a huge portion of modern citations.

Affected Reporters (non-exhaustive)

  • F.4th (Federal Reporter, 4th Series — active since 2021)
  • Cal.App.4th, Cal.App.5th (California appellate)
  • A.4th (Atlantic Reporter, if/when created)
  • Any state reporter with 4th+ series

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions