If the candidate was verifiably a NASA engineer the person half assed it probably just didn't care. I'm surprised that person just didnt respond with a very intricate set of functions that resulted in a middle finger. That's honestly insulting to use that as a test for a senior. Clearly there was no vetting process prior to a coding evaluation and the hiring process needs a lot of work.
You sometimes have to be careful and look if people are overthinking the problem. I have been in interviews where I was desperately looking for an efficient solution for a problem and couldn't find one while the interviewer only wanted to get a simple for loop.
Polygraphs can produce errors that may be used as a wrongful justification for an employer to dismiss your application.
...on the other hand
A fizz buzz application that produces errors _should_ be used as a justification for a potential employer to dismiss you entirely.