1) For some requests, the correct response can be hidden and just reply 'pass' or 'fail'.
2) You can use javascript to randomize the requests. For example create a random expression and ask it to be evaled
3) Candidates submit the code after completing the challenge.
Thanks for checking out!