With code, it's fairly easy to have unit or end to end tests. That can be relatively objective and deterministic, and pretty quick.
Architecture is one layer removed, and far harder to test. You're stuck with things that are at least an order of magnitude to prove autonomously; will it scale in terms of performance, will the abstractions be a good fit for future requirements, etc. Testable, but much harder.
Design; well, there's possibly some metrics by which you could measure UX (attention for the viewer, contrast ratios, number of actions needed to achieve something, how far the mouse had to travel), but really the majority of it is subjective. "How does the human feel when viewing this" - I suspect almost by definition needs either a human, or a very good model of it. I don't think we have the latter, making this pretty hard.