Measuring the impact of AI on teaching and learning