You purport that a performant and scalable solution is a good quality solution. Maintainability and well-formedness are even more important today, why do you ignore them?
We do not pretend to assess all the skills. Codility is a minimum competency test in programming: whoever fails, should not do programming, whoeven passes, needs to be tested for remaining skills. When you are hiring a chaffeaur or chauffeuse you want the person to pass a road driving test, but this won’t tell you whether the candidate will keep the car tidy.