“unique identifier is tracked to that voter”
Flag on the play. Ballots are secret.
When you vote, you verify your identity with the folks at the voting place, and a picture of you is taken in the voting booth, recording name+face as having voted.
If anyone else shows up with your identity, we know immediately something weird is going on, and have you and/or photographic evidence of fraud.
One of you goes to jail, one of you gets to vote, but the fake vote is already in the system and untraceable, because life sucks but you don’t want your vote choices associated with “you”.
Or ... if we could actually trust a voting machine maker to be honest, you could associate the vote with a person so it could be removed in case of fraud, but no one should be able to access the content of your ballot. Pulling ballots out of the system removes the association data so it’s still a secret. But again... “trust”.
Like I’ve said previously, doing this is not hard from a software perspective. The hardware is another story (because it’s outside my wheelhouse).
If it was done properly, you could have the machines connected to the internet, they’d be unhackable, and we’d have live / immediate results, none of this counting for days BS.
There is a little more then that. it does not divulge the secrecy but tracks the stages of the election. Received, validated scanned and so forth.