A student believes drinking coffee improves studying because…

A student believes drinking coffee improves studying because they remember several nights when they drank coffee and stayed focused. They do not consider nights when they drank coffee and were distracted, nights when they focused without coffee, or nights when they were distracted without coffee. Which bias is most relevant?