Science
Adaptive item selection model
After every response the system updates its estimate of the student's ability. It uses the Elo rating system (Brinkhuis, 2014) applied to a unidimensional Rasch (1PL) measurement model within subdomains of the course.
Probability of a correct answer
The probability of a correct answer is modelled as a logistic function of the difference between the student's current ability estimate θ and the item's difficulty b:
Update after a response
Let x ∈ {0,1} be the observed outcome and p̂ = P(X=1) the model prediction. Both estimates move in proportion to the difference between the observed outcome and that prediction:
Defaults in this system: Kₛ = 0.4, Kᵢ = 0.1. Success above expectation raises θ and slightly lowers the item's difficulty estimate; an unexpected error does the opposite.
Selecting the next item
Within a course subdomain the ability θ is unidimensional. The next active item is chosen so that its difficulty b is close to current θ (target success probability near 50%): minimize |b − θ|.
Implementation
The calculation core lives in src/lib/elo-rasch.ts; response history stores θ and b before and after the update, plus p̂.
Brinkhuis, M. J. S. (2014). Looking for the unknown: Applications of a flexible item response theory framework.