I think the only meaningful way to run the study is to compare people who are completely free of caffeine, versus people who are steady state a certain level of caffeine per day. Either two different groups, or the same group separated by a month.
This research assumption is right in line with how society ignores caffeine as a non-drug. When asked what drugs I'm taking, I've told doctors things like "500mg caffeine" and they looked at me like I had two heads. Or my aunt who has trouble sleeping to the point of being prescribed benzos, but still has coffee at 5PM. Apparently it's all just "drinking coffee" and not doing a psychoactive drug, because "drugs" are "bad".
After decades of personal experimentation with caffeine, this is my conclusion personally. I get about two weeks of a boost if I go from 0 caffeine consumption to moderate caffeine consumption. After that two week period, I am simply consuming caffeine to feel normal.
Anecdotally as someone who quit caffeine entirely about a year ago, the effects of caffeine withdrawal seemed to last much longer than the 24 hour period that many studies ask participants to abstain for.
1. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6213082/
2. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6209127/
3. https://pubmed.ncbi.nlm.nih.gov/27649778/