So, as a corollary, ideally you'd design the environment so that humans adapt to it in a particular way, thus getting rid of the 'human factor', whatever it is.
Well, getting rid of the sides of that human factor that we collectively wish to suppress. You can do it algorithmically with things like karma systems, but it's really nothing new, it's just a higher-tech way of doing what Hammurabi (and others before him) did.