eyecite icon indicating copy to clipboard operation
eyecite copied to clipboard

Don't set court='scotus' for South Carolina citations

Open mattdahl opened this issue 3 years ago • 5 comments

Eyecite thinks that South Carolina citations are SCOTUS citations:

from eyecite import get_citations
text = 'Lee County School Dist. No. 1 v. Gardner,  263 F.Supp. 26 (SC 1967)'
cites = get_citations(text)
cites[0].metadata.court

# prints 'scotus'

The SC in the year could be ambiguous, but the F.Supp. reporter should automatically rule SCOTUS out as a possibility for the court here.

mattdahl avatar Jun 26 '21 20:06 mattdahl

You will never see SC in the year field of a Supreme Court decision (if the person who wrote it is citing things properly). The court is only included when the relevant court is unclear from the reporter cited. The Supreme court will always be cited to the U.S. or the S.Ct. reporters unless it's a slip opininon, so there should never be any ambiguity.

Bluebook R. 10.4(b) State courts.

In general, indicate the state and court of decision. However, do not include the name of the court if the court of decision is the highest court of the state. The Bluebook: A Uniform System of Citation R. 10.4(b), at 106 (Columbia L. Rev. Ass’n et al. eds., 21st ed. 2020).*

devlux76 avatar Dec 20 '21 13:12 devlux76

Thanks @devlux76. This looks like a great first bug. Any interest in trying to tackle it with a test and a fix?

mlissner avatar Dec 21 '21 20:12 mlissner

That'd be a question for @jcushman, but I suspect he wouldn't know anymore. At this point, it's worth just running with the example he gave. I'd make a test using it, make sure the test fails, then write the code to fix it.

mlissner avatar Dec 21 '21 22:12 mlissner

The one I encountered it in was the Bowen case. Not sure if it got my version from Courtlistener or Lexis, but in the Courtlistener one you link you'll see it if you search 263 F. Supp. 26 (SC 1967). Thanks for working on this!!

mattdahl avatar Dec 22 '21 00:12 mattdahl