Dor Elidan, a polite 16-year-old sporting a short Mohawk, admits that he doesn’t know enough about politics to form an opinion on the Israeli-Palestinian conflict – but that he felt “privileged” to write an algorithm that is now being used by the Israeli government to hit back at anti-Semitism and enemies of the state online.

The code is part of a platform that boosts positive social media posts, photos, news reports and opinion articles that promote Israel – whether that be its booming tech scene or its beautiful beaches – and plays down posts featuring Israeli checkpoints or Palestinian prisoners.