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

WA: fix bug where bill version notes are long repeated strings #5049

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

jessemortenson
Copy link
Contributor

We were getting string repeats concatenated into bill version notes field, like Second Substitute Substitute Substitute Substitute Substitute Second Substitute Joint Resolution because the loop didn't reliably initialize a variable. Some bill versions failed to import because the notes got so long, which is how I noticed.

A default of "Passed Legislature" is a little weird for passed bill versions ... but to fix we'd need to scrape each bill version page and hunt around for the right text. Which I don't think is really worth it but could be a good improvement in the future.

@jessemortenson jessemortenson merged commit 3ce9b5a into main Oct 9, 2024
2 checks passed
@showerst
Copy link
Contributor

showerst commented Oct 9, 2024

"Passed Legislature" comes from the state, they call it "Bill as Passed Legislature". e.g. https://app.leg.wa.gov/billsummary/?BillNumber=1017&Year=2023&Initiative=false so I think that's probably ok.

@jessemortenson
Copy link
Contributor Author

Good point, thanks Tim!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants