Is a Jaffa Cake a biscuit? Physicist uses AI to solve debate