By considering objective facts like efficiency, performance, error rates, security vulns etc. like we always do?
We care about those things you listed and also the fact that code was written by (or exhaustively reviewed by) a sentient consciousness. It's just that the second thing has historically been implied. That's the difference you are experiencing.
Someone would have to do a bunch of work to establish these things.
Don’t worry, it’ll just be in a different language.