citesure 0.2: CourtListener case law and CJK title matching

작성자

카테고리:

← 피드로
DEV Community · SybilGambleyyu · 2026-07-23 개발(SW)

SybilGambleyyu

LLM-written bibliographies do not stop at arXiv preprints. Law review drafts invent reporter cites; multilingual papers mangle Chinese titles. citesure 0.2 extends the integrity gate into those failure modes.

US case law via CourtListener

References that look like court cases — @jurisdiction entries, Plaintiff v. Defendant titles, or reporter strings such as 347 U.S. 483 — are resolved against Free Law Project CourtListener. Ranking prefers an exact reporter cite over companion orders, so Brown lands on 347 U.S. 483 rather than a later procedural listing.

@jurisdiction{brown1954,
  title        = {Brown v. Board of Education},
  year         = {1954},
  howpublished = {347 U.S. 483},
}

Enter fullscreen mode Exit fullscreen mode

citesure check examples/packs/us-case-law.bib
citesure warm-cache cases.bib

Enter fullscreen mode Exit fullscreen mode

Optional COURTLISTENER_TOKEN for higher rate limits. Law-review CI: templates/journal/law-review.yml.

CJK-aware matching

NFKC + fullwidth folding; character-level similarity for CJK-heavy titles; CJK bigrams in claim scoring so Chinese claims are not silently empty.

Evidence

  • Integrity bench 242/242 (US cases + Chinese titles + multi-domain set)
  • Claims mini-bench 29/29
  • Eight domain packs including us-case-law

Install

pip install "git+https://github.com/SybilGambleyyu/citesure.git[pdf]"

Enter fullscreen mode Exit fullscreen mode

Source: github.com/SybilGambleyyu/citesure · Demo: workers.dev

원문에서 계속 ↗

코멘트

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다