I highly doubt writing texmacs or other complex coding for diagrams leads to the same memory retention as plotting by hand.
The way you take notes during self-directed studying is important, and should be tested, but wasn't.
Was there a different study somewhere that wasn't focused on lectures?
Experiential salience is important for learning. It would be like copy and pasting code without typing it out yourself re a tutorial.