All good and great but I think it’s a bit misleading. The participants were asked to do LeetCode—which limits this study to the suggested effects of cannabis on arbitrary and abstract programming tasks.
Most developers mid level and upwards from majority of the companies I have held a role in are not spending the majority of their day coding, they're writing specs, doing meetings, providing guidance to their junior counterparts, assisting in support tickets on call, and if you had time, documentation. You were quite lucky to meet 30% time in any day/week/month/year spent writing code. The vast majority of developers were also not developing new, foundational code either.
So I disagree, its not misleading, its actually relevant, and arguably even more mentally stimulating than all the cruft that you actually do every day. At the least you're reusing and thinking about all the DSA knowledge everyone has lost touch with from decades ago.