Votes missing in Virginia

35 views
Skip to first unread message

Daniel Roberts

unread,
May 10, 2016, 3:00:30 PM5/10/16
to Open State Project
Someone brought an issue with votes on HB2 to our attention. I also looked through a half dozen bills and found another one missing votes.

HB2 does not include House vote on passage

Is this a known issue and how widespread is it?

Daniel Roberts

unread,
May 11, 2016, 11:33:34 AM5/11/16
to Open State Project
Someone may have already noticed but looking through the code the problem is that the vote strip regular expression in use does not allow for an abstaining member count to be included in the vote name so the vote is skipped.

I have submitted a pull request for an update to the regular expression. I am not in a position to fully test this end to end with the project but I did test the regular expression in the python interpreter with the string combinations involved. 


Please consider merging and running any necessary processes to get these votes pulled into the data set.

Thank you.

Andy Lo

unread,
May 11, 2016, 3:35:54 PM5/11/16
to Open State Project
Hey Daniel,

Thanks for submitting a patch.  I had to modify the regex a little and added some additional processing, but if the tests check out, I should have a fix out today.


On Tuesday, May 10, 2016 at 3:00:30 PM UTC-4, Daniel Roberts wrote:

Daniel Roberts

unread,
May 11, 2016, 4:30:00 PM5/11/16
to Open State Project
I appreciate it!

Daniel Roberts

unread,
May 13, 2016, 1:41:11 PM5/13/16
to Open State Project
I see that a fix was committed. Is there an estimated time frame I can pass onto someone about when the votes will appear on openstates which we pull data from? Thanks

Daniel Roberts

unread,
May 16, 2016, 9:00:14 AM5/16/16
to Open State Project
I see it is there now. Thanks for your help! I hope to contribute more in the future.
Reply all
Reply to author
Forward
0 new messages