Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2819 Fix insb and scb iquery pages parser #693

Merged
merged 2 commits into from
Jun 24, 2023

Conversation

albertisfu
Copy link
Contributor

This PR solves the issue described in freelawproject/courtlistener#2819 regarding the unparsed judge's name in SCB, as well as the issue detailed in freelawproject/courtlistener#2820 about the case name not being parsed in INSB.

Both issues were related to iquery pages for these two courts, which had different formats.

  • In the case of SCB, the judge's name was indeed parsed, but was added under the key chief_judge instead of assigned_to_str so it was not being recognized and assigned in Courtlistener. So I changed the key name to assigned_to_str.

  • In INSB, the case name is within a font tag. So I added a new parsing method to properly handle this case.

@albertisfu albertisfu requested a review from mlissner June 23, 2023 15:48
Copy link
Member

@mlissner mlissner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

@mlissner mlissner merged commit fd334be into main Jun 24, 2023
@mlissner mlissner deleted the 2819-fix-judge-parsing-scb-iquery-pages branch June 24, 2023 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants