Aug 222016
 August 22, 2016  Posted by at 11:14 am C# & F#, Random  Add comments

After the surprising Brexit- the day Britain decided to leave the EU- a petition for a re-vote made headlines as it overnight grew from 25 votes to over a million.

EU referendum0

I kept an eye on the petition page over that weekend and watched the number of signatures/votes climb to well over 3 million votes. I also put in some votes myself, a few from Togo, Zambia and some I don’t remember.


EU referendum8

Turns out all you need to sign the petition is an email (in my case a temporary email generated online), tick the box that ‘Yes, I’m a British citizen’ and write some random data in the rest of the fields. Postcode is only validated for UK, so anything will do as long as you set a different location. Afterwards you need to verify your email, and your vote is in.

EU referendum 7

Here was my theory. If you can put in random fake signatures then I bet you a lot of people would do just that. For laughs. For contribution. For… well, for whatever reason they might have. The data, in JSON format, was publicly available and therefore I decided to take a closer look at the petition data.

EU referendum 2

I generated some C# classes based on the JSON and made myself a console app in Visual Studio. I renamed the RootObject and pulled in for deserialization.

EU referendum 3

While I choose to read in the data straight from the site you could add it to the project by copy and paste, just make sure to mark the file as Content and set to copy to output.

EU referendum 5

With that done I decided to take a look at the signatures, and sorted them by count by country. Well, second on the top ten list was Vatican City with 36 200 signatures at the time of writing, which is funny as the population is only 820. So… yes.

EU referendum 6

And as for North Korea on third place, internet is not publicly available there, – and in the few cases where it would be it would probably be restricted to local sites according to Wikipedia.

EU referendum 10

EU referendum 9

It is sad though. If anybody can sign, even if that anybody is a bot with fake mails, then that number becomes less significant. I would say not significant at all, even if I’m convinced the majority of the signatures are real.

You’d think the site is lacking in terms of validation, but they are actually slightly better than (also a petition site) that let me sign the Swexit using a fake email, no validation and no email verification.

EU referendum 11

Notice my supportive comment from the most recent ‘supporter’ (I’m not by the way, but that is a different discussion and story to tell)

EU referendum 12

A few weeks ago I received an email (for each registered vote I had put in) that the Brexit petition had been turned down. At the time it had reached 4-5 million votes. I wonder if the petition would have had a bigger impact if the votes had been verified and one could (to some degree) guarantee unique voters.

What do you think? Making it easy to sign/vote makes more people take action, but at the same time increases the risk for fake signatures (and impulse votes). And how certain can we be the signatures are unique with more registration requirements? What would be a good way to solve this problem? I’d love to hear your thoughts on this!

  One Response to “When North Korea and Vatican City really wanted Britain to undo the Brexit. A closer look at the petition signatures”

  1. Hey Iris,

    Really interesting post. I’m from the UK (currently living in Manchester) and I very much backed the Remain camp so I was bitterly disappointed when we decided to leave.

    When I saw this petition (and I signed it too) I was a little skeptical about 4-5 million people voting. Personally I think UK government petitions should be limited to UK postal addresses only and they should be validated against the government council tax database to ensure that only one person can petition at any one time.

    I actually know people who’ve worked on some of these projects (although I’m not sure if they worked on the government petition per se) so I’ll see if I can dig into whether that was or actually is being considered.

    Again, interesting post!

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>



What is 12 + 13 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)