openaustralia / theyvoteforyou

Making parliamentary voting information accessible, understandable, and easy to use so that you can hold your elected representatives to account.
https://theyvoteforyou.org.au/
Other
135 stars 30 forks source link

Votes can be attached to the wrong member #1418

Closed mlandauer closed 1 year ago

mlandauer commented 2 years ago

This has happened with Julia Bank on votes that happened in December 2018.

This happened because Julia Banks became an independent after being a member of the liberal party. We continued to import votes after she changed party and attached them to the old member. Only a while later did we update her record for members so from that point on her new votes were attached to the new member as an independent. The effect of this is some of the whip calculations might be wrong for a few days.

mlandauer commented 2 years ago

I think we can fix this by creating a new rake task which check the members on all the votes. If we make this fast enough we can run this every day before all the other cache updates.

This would magically fix the problem when it will inevitably occur again in future

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because there has been no activity on it for about six months. If you want to keep it open please make a comment and explain why this issue is still relevant. Otherwise it will be automatically closed in a week. Thank you!