Skip to content
This repository has been archived by the owner on Jan 28, 2020. It is now read-only.

Duplicates of 2015 candidates who have stood down #193

Open
tfgg opened this issue Feb 8, 2015 · 6 comments
Open

Duplicates of 2015 candidates who have stood down #193

tfgg opened this issue Feb 8, 2015 · 6 comments

Comments

@tfgg
Copy link
Collaborator

tfgg commented Feb 8, 2015

While dupe hunting I've found a few cases where a candidate was added as a new 2015 candidate but was subsequently stood down for some reason. Another editor then finds the original source of their candidacy and re-adds the person, not realising that they'd already been added and removed.

These are fairly easy cases to handle, since they will have the same name, and appear in the same constituency with the same sources, so you can verify that they're the same person for merger, but it is a case of data quality not necessarily increasing over time.

For example:
https://yournextmp.com/person/6109

@andylolz
Copy link
Collaborator

andylolz commented Feb 8, 2015

Could add a “These candidates from 2015 are known to have stood down” section (or similar)

@sjorford
Copy link

@mhl
Copy link
Contributor

mhl commented Feb 10, 2015

The only complicated thing about doing this is in order to avoid doing a second query from PopIt (using the search endpoint on standing_in, say) we'd have to create a membership with the role "NotACandidate" as the converse of "Candidate", or they won't turn up in the query on posts with embedded memberships.

@tfgg
Copy link
Collaborator Author

tfgg commented Feb 10, 2015

Good example, @sjorford, RichCBury1 added him using the dailyecho source, he was deselected and no longer appears on http://www.ukipsoutheast.com/constituencies.html, and then RichCBury1 added him again using the same dailyecho source!

@mhl If it's complex to implement, I'd say it has low priority since it can be fixed by looking for dupes.

@andylolz
Copy link
Collaborator

Sorry – hadn’t realised it was an issue at PopIt level. “NotACandidate” doesn’t sound ideal :\

mhl pushed a commit to andylolz/yournextrepresentative that referenced this issue May 10, 2017
…lock-data-migration

Fix a stupid error in the SuggestedPostLock data migration
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants