Octopus Energy Interview Question

What would you change about your solution (to the technical exercise)?