There are a lot of variables, even in your day to day work activities (e.g. you never debug & implement a fix for the exact same bug twice...one bug might be a satisfying and enjoyable activity, another might be a frustrating, difficult, and tedious pain in the ass)
I've done similar trials with magnesium glcyinate and personally not noticed any difference. But then I have not found any way to accurately measure differences between what a "good day" is Vs a "bad day". Even without supplementing, it feels like dice roll at the best of times