-
Notifications
You must be signed in to change notification settings - Fork 3
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
"passed" or "failed" is incorrectly determined on search results and vote pages #58
Comments
@adamboche, if I look at the description files here: http://adric.sscnet.ucla.edu/rollcall/ I see a column called result. Do we have this field, can we regurgitate it in some way for our front page? |
For recent congresses, there is a field called vote_result. I'm not sure if On Sat, Oct 15, 2016 at 8:48 PM, Luke Sonnet notifications@github.com
|
Thanks adam, we now replace (passed) and (failed) with vote_result where available and fall back on (passed) or (failed) based on a simple majority. It may still be worth building a dictionary of if "cloture" in question then (passed) if support > 60 or something so I'm going to leave this issue open. |
I'm not sure we should rely on simple majority. The rule will depend on the Jeff, do you have thoughts on this? On Oct 16, 2016 1:42 PM, "Luke Sonnet" notifications@github.com wrote:
|
Right. We can't count on majorities particularly for the senate. At the Jeff On Sun, Oct 16, 2016 at 1:52 PM, adamboche notifications@github.com wrote:
Jeffrey B. Lewis President |
Okay, that is definitely the best choice. We always display the yea and nay counts and only the result if it is in vote_result in the database. Inferring passage on older votes from the question could be opened as a new issue as an enhancement if we wish. |
On both the search_list and the individual votes the "passed" or "failed" label is simply determined by whether the yea_count is greater or less than the nay_count. This isn't quite correct.
Some rollcalls have "majority_requirement" which denotes the needed support to pass but not all votes have this. It could also be possible to use the vote_question as a rough guideline for this given we create a dictionary of questions -> needed votes. Again, though, vote_question is not on old rollcalls.
The text was updated successfully, but these errors were encountered: