openstates / openstates-scrapers

source for Open States scrapers
https://openstates.org
GNU General Public License v3.0
846 stars 464 forks source link

WY: Fix session naming #2157

Closed mileswwatkins closed 4 years ago

mileswwatkins commented 6 years ago

Wyoming names its even-year sessions "Budget Sessions" (eg, 2016 Budget Session); see their descriptive text about sessions here: http://legisweb.state.wy.us/LSOWeb/SessionArchives.aspx. Budget Sessions are primary sessions that are on similar footing to General Sessions, but just named differently (and are shorter, etc). There is a note in billy_metadata that contradicts this (stating that Budget Sessions are just for HB 1, the appropriations bill), but it appears to be inaccurate; 2016 Budget Session's bills are discrete from 2017 General Session's bills, which are discrete from 2018 Budget Session's bills.

Open States seems to have invented even-year "General Sessions" (eg, 2016 General Session), which don't exist in practice. That is, the _scraped_name of 2016 General Session does not exist anywhere on the state's website, but this session does exist in __init__.py:

{
   "_scraped_name": "2016 General Session",
    "classification": "primary",
    "identifier": "2016",
    "name": "2016 General Session"
}

and this session is in ignored_scraped_sessions:

"2016 Budget Session"

even through the 2016 "General Session" is really a "Budget Session."

No huge priority to fix since it doesn't break anything for Open States, just a freakin' pain that we're out of sync with the Wyoming legislature on session semantics.

jamesturk commented 4 years ago

looks like we match the site now