Sainsbury's Food Rescue

Client
Sainsbury's, Google
Agency
b-reel
Awards
FWA

A platform to end food waste - Sainsbury's Food Rescue is a simple web based tool that helps you find recipes to use up food that may otherwise go to waste. Studies suggest we throw out as much as £60 worth of food and drink every month when we could be putting it to better use.

Read about it in the press

Our Role

  • Backend
  • Services architecture
  • Search Engine
  • Content Management tool

Technologies

  • Python
  • Pyramid
  • Google Cloud SQL
  • Google App Engine

More about this project

It turns out that us Brits are a wasteful bunch. Studies suggest we throw out as much as £60 worth of food and drink every month when we could be putting it to better use. Sainsbury’s Food Rescue helps you find recipes to use up food that may otherwise go to waste and it’s that simple! Just say or write the ingredients you want to rescue and the tool will find tasty recipes.

We teamed up with Sainsbury’s, Google and B-Reel to create a tool that provides suggestions on how to use the food you'd otherwise be chucking out. Instead of trying to convince you to head over to one of its stores to replenish your supplies, Sainsbury’s wants to help you save those forgotten vegetables at the back of your fridge!The idea was to help people make the most of their leftovers and also reduce waste, but as a positive consequence, help them save money too!

The result is a search engine that finds recipes which best match the ingredients you searched for. Being able to find delicious recipes which match your leftover requires data, lots of data. Luckily Sainsbury’s provided some raw recipe data which, after processing, tidying and normalisation, created the core information for the search engine. To help you save money and reuse ingredients from the fridge it’s important the results returned are achievable and suitable recipes. To achieve this accuracy, we allow you to specify precise quantities, dietary requirements or disliked ingredients so the result matches not only the search criteria but each individuals taste.

Early into the project we’d managed to build a search engine which optimised its results based on the quantity, taste and dietary requirements. This was already a key milestone but it was not enough and we wanted to achieve even more. Shaping the recipes into structured data allowed us to do much more. We focused on a few points - the relevance of ingredients to the recipe, name synonyms and the hierarchy between ingredients.

The importance of an ingredient allowed us to affect the ranking of a recipe in the search results. For example, there are many recipes where you could forego one or two ingredients but it would be difficult to make a Beef Wellington without any beef. Handling the importance of ingredients in the search allowed us to give better results and return the most achievable recipes first.

Some ingredients go by different names in different parts of the world (e.g. zucchini vs. courgette) so we handled these synonyms without having search results being affected.

Finally, we decided to define a hierarchy between ingredients to allow them to be substituted; this project is about rescuing ingredients and minimising waste after all. We wanted to offer a choice of recipes smart enough to handle ingredients which can be replaced. Not having the right type of cheese or tomato should not stop you from being imaginative and adding a new twist to some of the recipes.

At Lost Property we believe in empowering our clients with a solution which can evolve without our involvement so we built a CMS which allows Sainsbury’s to update or insert new recipes and add new ingredients meaning the data will always stay up to date.

We love data so when we got asked to develop a reporting system we were thrilled. We analyse the user interaction with Sainsbury’s Food Rescue to determine “How much has been saved?”, “What are the most popular ingredients?” We always build applications with reporting in mind but this we displayed it to the user via a leaderboard. The difficulty was not “what to show” but “what to not show”.

Questions?

If you have any questions about this project or you want our input on a similar project feel free to contact us at [email protected]

Lost Property Bureau Ltd is a company registered in England and Wales. Registered no. 8605090. VAT Registration No 165 7973 58