It will be perfect if the language analyzer can run with a hook before to submit. Then if the analyzer finds any problems or the tests don't pass then it should ask if you want to submit the solution :)