
An educational AI model might predict a final grade from earlier marks. A teacher considering an intervention has a different question. Would a student learn more if the software offered an explanation, another problem or time with a teacher? Yenra tested the forecasting question on public data from two Portuguese schools.
Predict only from information already available

Cortez and Silva’s Student Performance dataset separates first-period, second-period and final marks on a 0–20 scale. We used the Portuguese-language course file and kept its recorded zero grades. A linear regression learned from the two earlier marks at school GP, using 423 records, then predicted the final mark for 226 records at school MS. Predictions were limited to the grade scale. No demographic variables entered the fit. Cortez and Silva’s Student Performance data and variable definitions
Compare the fitted forecast with the last recorded grade

The training school’s mean final grade missed by 3.24 points on average at the second school. Carrying the last grade forward missed by 0.90, slightly better than the fitted forecast’s 0.93. The chart groups errors by the second-period mark. The table provides counts and error totals so you can rebuild the overall averages. These are historical classroom records from two schools.

Download all four grade-band comparisons (CSV). The table gives student counts, total absolute errors and mean errors for three forecasts. Yenra calculations from Cortez and Silva’s UCI Student Performance data, licensed under CC BY 4.0. Creative Commons license.
Test whether help survives the removal of the hint

In a high-school math experiment, Bastani and colleagues distinguished performance during AI-assisted practice from performance afterward without the tool. A general chat interface improved practice performance yet its group did worse on the subsequent unaided assessment than the control. The design of the tutor mattered. An evaluation should record what help learners received and test them on a new problem they solve independently. Bastani and colleagues’ high-school mathematics field experiment
Try it with the evidence
Read a prediction and an intervention separately
Source notes. Fictional class. At the end of period two, a student has 12. A fitted forecast gives 13.5 and the last-grade rule gives 12. The final grade is 13. The software suggested extra practice, but the file has no record of whether it happened.
- Cortez and Silva’s Student Performance data and variable definitions
- Bastani and colleagues’ high-school mathematics field experiment
Prompt. Calculate the absolute error of each forecast. Explain what would have to be observed to evaluate the extra practice.
Check your reading
The fitted forecast misses by 0.5 and the last-grade rule by 1. This single case favors the fit even though the simpler rule did slightly better across the held-out school. To evaluate practice, record who was offered it, who used it and later unaided performance under a credible comparison.
Illustrated field notes
What the learner does with a suggestion
Look for a learner action that can be repeated on a new problem after the support is removed.




What becomes visible to a teacher
A score, warning or access setting needs a record of the task and the conditions under which it was used.


