{"action":"created","issue":{"url":"https://api.github.com/repos/freelawproject/courtlistener/issues/582","repository_url":"https://api.github.com/repos/freelawproject/courtlistener","labels_url":"https://api.github.com/repos/freelawproject/courtlistener/issues/582/labels{/name}","comments_url":"https://api.github.com/repos/freelawproject/courtlistener/issues/582/comments","events_url":"https://api.github.com/repos/freelawproject/courtlistener/issues/582/events","html_url":"https://github.com/freelawproject/courtlistener/issues/582","id":182177678,"number":582,"title":"Wrong case names on specific cases","user":{"login":"LawGuy2000","id":18316166,"avatar_url":"https://avatars.githubusercontent.com/u/18316166?v=3","gravatar_id":"","url":"https://api.github.com/users/LawGuy2000","html_url":"https://github.com/LawGuy2000","followers_url":"https://api.github.com/users/LawGuy2000/followers","following_url":"https://api.github.com/users/LawGuy2000/following{/other_user}","gists_url":"https://api.github.com/users/LawGuy2000/gists{/gist_id}","starred_url":"https://api.github.com/users/LawGuy2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LawGuy2000/subscriptions","organizations_url":"https://api.github.com/users/LawGuy2000/orgs","repos_url":"https://api.github.com/users/LawGuy2000/repos","events_url":"https://api.github.com/users/LawGuy2000/events{/privacy}","received_events_url":"https://api.github.com/users/LawGuy2000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-11T05:34:11Z","updated_at":"2016-10-11T16:15:29Z","closed_at":null,"body":"I have noticed that many cases have wrong court names. Unfortunately, I did not record these as I browsed the data. However, I came across one today and it reminded me to create this issue. My guess is that these court case names were generated automatically via a scraper over the data. However, it appears it did not get all cases or it did it incorrectly for some cases. The court case is:\r\n\r\nhttps://www.courtlistener.com/opinion/3268/for-the/?q=350+F.3d+6&type=o&order_by=score+desc&stat_Precedential=on&docket_number=02-9246\r\n\r\n\r\nYou can see the court case name is \"For The\" which is obviously wrong. The court case name should be \"CARVEL CORPORATION v. Elizabeth A. NOONAN, John D. Noonan, Peter Marsella and Joseph A. Giampapa\"\r\n\r\nThis court case is in marked HTML, so I assume you have a scraper that reads the paties section of the HTML and grabs the court case name and then strips the unncessary stuff.\r\n\r\nIf that is the case, that process may need to be re-run as it did not work across all cases and as a result some cases have strange names like this.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/freelawproject/courtlistener/issues/comments/252966095","html_url":"https://github.com/freelawproject/courtlistener/issues/582#issuecomment-252966095","issue_url":"https://api.github.com/repos/freelawproject/courtlistener/issues/582","id":252966095,"user":{"login":"mlissner","id":236970,"avatar_url":"https://avatars.githubusercontent.com/u/236970?v=3","gravatar_id":"","url":"https://api.github.com/users/mlissner","html_url":"https://github.com/mlissner","followers_url":"https://api.github.com/users/mlissner/followers","following_url":"https://api.github.com/users/mlissner/following{/other_user}","gists_url":"https://api.github.com/users/mlissner/gists{/gist_id}","starred_url":"https://api.github.com/users/mlissner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlissner/subscriptions","organizations_url":"https://api.github.com/users/mlissner/orgs","repos_url":"https://api.github.com/users/mlissner/repos","events_url":"https://api.github.com/users/mlissner/events{/privacy}","received_events_url":"https://api.github.com/users/mlissner/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T16:15:29Z","updated_at":"2016-10-11T16:15:29Z","body":"Thanks for sending these in. I've fixed them all, however follows is some analysis:\r\n\r\n> https://www.courtlistener.com/opinion/1012269/mcdermott-v/?\r\n\r\nThis one previously had the case name `McDermott v`. It's a scraped case from 2004 in CA4. It should have had `In Re: Elizabeth Pawlak`. This was wrong on CA4's site:\r\n\r\n![screenshot from 2016-10-11 09-04-15](https://cloud.githubusercontent.com/assets/236970/19278363/c08c834e-8f91-11e6-9c2e-6a9e7d704de2.png)\r\n\r\n> https://www.courtlistener.com/opinion/822743/file/?\r\n\r\nThis one had the case name `File` instead of `The People v. J.E.`. It is scraped and from California Court of Appeal in 2013. I don't see any issues with the data on the court website, but this was scraped a while ago, we can't be sure of anything.\r\n\r\n> https://www.courtlistener.com/opinion/3268/for-the/\r\n\r\nThis is a curious problem. This document is from Resource.org and was created very early in our history. It's unclear where the erroneous case name came from, but I've fixed it now. \r\n\r\n### Wrap Up\r\n\r\nSo, looking at these three examples, we have two that are from scrapers and one from Resource.org. One of the scrapers was wrong on the court website, and the other I can't find the issue. The Resource.org example seems like an error in our import code. \r\n\r\nI'm not sure what to do here. It might be worth looking at how many one-word case names we have, and looking for patterns. The other solution is to continue fixing them in this one-off fashion, as I did for these three examples. \r\n"}}
{"actor":{"display_login":"mlissner"}}