And is the signal still strong if candidate has a bad day or for some other reason cannot get the right focus in that specific moment?
Moreover, I think it's highly unprofessional to reinvent the wheel by writing most algorithms for production. I always first look for a bullet proof library for that.
Won't you use a calculator for 345 x 27?