philchalmers / mirtCAT

Computerized Adaptive Testing with Multidimensional Item Response Theory
http://philchalmers.github.io/mirtCAT/
91 stars 28 forks source link

[Bug] Incorrect MCAT Example #44

Closed peterje closed 2 years ago

peterje commented 2 years ago

The official example program presented here includes the following logic for generating a multiplication question:

m1 <- sample(1:50, 1)
m2 <- sample(1:50, 1)
ans <- n1 + n2 + m1 * m2
questions[i] <- paste0(m1, " * ", m2, " = ?")

The values of n1 and n2 are arbitrary, leading to an impossible test question such as: image

The correct answer is 168, but is not listed.

philchalmers commented 2 years ago

Thanks, should be patched on future builds.