Yes, with ethics, neutral institute not payed by gouvernement and with list of candidates based on population census (each year 1/5 of the population informations is updated. Mine was this year). And with these data, you can have a real balanced poll.
We have centuries of experience (the first census was in 1676… long before the creation of the USA or URSS)
So i would not call that private definition but historical definition…
Was going to say that.
@OP:
One of the main skill a developer must have is being able to troubleshoot properly how their code behave.
Break your code in small pieces, check all of them with unitary test (formal or not) to validate their behavior then move to the next step. Never test everything in one shot or you will be overwhelmed by side effect bugs whom will distract you from the real root cause.
Being a programmer is not just coding but also testing and deploying (even locally).
That won’t avoid you being blocked by a silly mistake for hours, everybody did that at some point in their career, but that will reduce your frustration against yourself when you discover why the bug existed.
Do a pause, go walk, change the topic and the next time you look at your code, you will spot the obvious bug :-)