The point is - it was BEFORE phone/person interview.
I actually like coding during the interview - when I in person can show my skills and approach - it just helps to understand each other. I have been to several interviews with 1-3h coding before, but I knew people I was doing it for.