Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Certain mk presence was not calculated due to redundant and deprecated check in presence parsing fails on certain mks #828

Closed
alonisser opened this issue May 12, 2017 · 12 comments · Fixed by #830

Comments

@alonisser
Copy link

Presence parsing (mishkan) was using a redundant and deprecated check if presence should be calculated to a period to mk. this check (mk end_date) is wrong since only "is_current" mks are being processed for presence. and "end_date" for mk is deprecated. (mks can return to knesset after "ending" a previous tenure)

@OriHoch
Copy link

OriHoch commented May 14, 2017

after PR #830 is merged - I assume it will only be fixed for future data

do we need to run anything to re-scrape / re-calculate old data?

@alonisser
Copy link
Author

alonisser commented May 14, 2017

It would update automatically for 2017, after deploy I need to do something manually on the server to update the periods before

@OriHoch
Copy link

OriHoch commented Jun 8, 2017

@alonisser what's the status? should I assign for someone else to complete this for the hackathon (which is starting today..)

@OriHoch
Copy link

OriHoch commented Jun 8, 2017

related but not contradicting issue: hasadna/knesset-data-python#15

@alonisser
Copy link
Author

@OriHoch as I said it needs to be deployed and then I can run the fix.. was it deployed? the issue was not updated with a deploy

@alonisser
Copy link
Author

@OriHoch Also not merged. .. so why the status question? After merge and deploy 2017 would be fixed automatically and I need to do something manual (completely manual.. ) to update 2016-2015

@OriHoch
Copy link

OriHoch commented Jun 8, 2017

I was waiting for you to merge and deploy it.. but I guess we had a misunderstanding.. no problem, I'll merge

@OriHoch
Copy link

OriHoch commented Jun 8, 2017

deployed, please test

@alonisser
Copy link
Author

WIll do. later today

@alonisser
Copy link
Author

Confirmed working, now running 2015-2016 also (And clean web python cache to see results. would happen soon)

@alonisser
Copy link
Author

Finished and fixed. Sorry for the misunderstanding about deploy/merge

@OriHoch
Copy link

OriHoch commented Jun 8, 2017

cool, thanks!

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

Successfully merging a pull request may close this issue.

2 participants