FacebookTwitterLinkedin
+442034 578404hello@codestring.co.uk
Code String
Code String
Application development specialists
  • Home
  • About
  • Projects
  • Blog
  • Home
  • About
  • Projects
  • Blog
16th August 2016Leave a commentSolutionsBy Code String

Drawing a winner from a group of entries is not as easy as it sounds. It’s not like a village fete tombola where you can dig deep into the sawdust and pick out a prize. There’s a whole lot of science and worry behind it too.

We’ve recently managed a big national public vote that needed one winner announcing. The winner was the person with the most votes. Again, that’s not as simple as it may sound. We had to ensure that all votes were valid against a strict set of criteria: location of the voter and single vote per person being two of them.

This isn’t done manually thankfully- we don’t sit there physically counting raffle tickets! We wrote a programme that ran through all the data and wheedled out the invalid and duplicate entries. But with many thousands of entries, this still took hours and hours.

And then the remaining data needed to be double-checked. And triple checked.

One small mistake could lead to a calamity of errors: think Terry Wogan’s 2007 Eurovision: Making Your Mind Up faux pas. In fact, that disaster is really worth sharing as an example of why everything needs to be water-tight. If you want to watch the full horror then go to http://youtu.be/ciE6G7LhhdE.

Mission accomplished for us though. The winner was chosen accurately and, importantly, the announcement was made correctly. Phew.

About the author

Code String

Related posts
The Dorchester Hotel, Park Lane
Win a two-night stay for two at The Dorchester.
24th August 2018
You couldn’t make it up…
30th September 2016
Let’s talk about C word
7th September 2016
The Sinclair C5: genius or ridiculous?
30th August 2016
Sometimes it’s good to be random
22nd August 2016
Running a promotion with a proof of purchase upload? Read this!
18th August 2016
Recent Posts
  • Azure Architect Certification
  • It’s proving to be an Agile life for us (Part 2)
  • On the journey to Agile (Part 1)
  • Good things come in threes.
  • Win a two-night stay for two at The Dorchester.
Categories
  • Business apps
  • Hosting
  • Industry news
  • Social media platforms
  • Solutions
  • Tech news
  • Tech tips
  • What we're up to
Tags
9001 27001 apprentices Awards christmas campaigns code Code Geeks coding Competitions Compliance cycling data security Developer jobs Developers digital security Draws encrypted data geek iOS IPM ISO Market Harborough McDonalds Microsoft Mobile National Coding Week online competitions online promotion online promotions prize giveaway promotional marketing promotions quality management Release mangement Reward Management rural location Security Security Threats Source code Staff Incentives tea Technology The Cogs 2016 training Visual Studio

Codestring

Say hello
+442034 578404

hello@codestring.co.uk

Wellington Way, Airfield Business Park, Leicester Road, Market Harborough, Leicestershire, LE16 7WB.

© 2019 Code String Ltd 7911843