I don't think he is saying that 'smoking pot makes you "stupid"'. The point he makes is that empirical observations about your own performance, while on a mind-altering drug, are inherently flawed.
Empirical observations about your own performance are inherently flawed while not on a mind-altering drug, barring measurement/metrics. If you're measuring, I can't imagine how your state of mind could affect those.
If you want good separation, find a metric that can be recorded/played back.
I thought we were hackers? There are obvious solutions here...