In the current COVID climate, it can feel like the government guidelines are changing almost daily, with some seeming nonsensical. To stay one step ahead of the curve, we analysed the current lockdown rules in order to automatically predict the rules of tomorrow.

What it does

Johnson's Nonsense generates random COVID rules, using the current restrictions as a data set.

How we built it

The back end runs off of a python flask server, hosted on Google Cloud (alongside our main project, Corona Decoder!). Each time the page is loaded, a large "lockdown rule page" is generated by starting with a random phrase, and predicting the most likely characters to come next. A (semi-)coherent sentence is chosen from this, and displayed on the site.

Challenges we ran into

Finding the right balance between entirely random gibberish and direct sensible quotes. Selecting an appropriate sentence to be displayed. Getting JohnsonBot to stop talking about England, Scotland, Ireland, and Hands (3/4 were completed! Long live Hands!)

Accomplishments that we're proud of

The simplicity of the frontend. Making late-night feature additions based on people saying "Oooh, what if...".

What we learned

DNS Records. How simple Flask is! Random number generators can't make COVID rules, but they do rival the competition.

Share this project: