Skip to content

Feature: Link parallel citations #8

@medelman17

Description

@medelman17

Problem

Parallel citations (multiple reporter references to the same case) are extracted as independent citations with no link between them.

"1 U.S. 1, 2 S. Ct. 2 (1999)"
→ Citation 1: {type: "case", text: "1 U.S. 1"}
→ Citation 2: {type: "case", text: "2 S. Ct. 2"}

Both share the year parenthetical "(1999)" but there's no indication they reference the same case.

Impact

  • Double-counting citation weight in analysis
  • Parentheticals (e.g., "overruling ...") get attributed to both separately
  • Resolvers that know these are the same case can't deduplicate

Expected Behavior

Detect when citations appear in comma-separated sequence sharing a parenthetical, and link them:

interface FullCaseCitation {
  // ... existing fields
  parallelCitations?: Array<{ volume: number; reporter: string; page: number }>
}

Note: The parallelCitations field already exists in our type definition but is never populated.

Detection Heuristic

Pattern: <vol> <reporter> <page>, <vol> <reporter> <page> (<year>) — citations separated only by commas with a shared trailing parenthetical.

Upstream Reference

Python eyecite #76 — open since 2021.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions