Categories
Nevin Manimala Statistics

Customizable Bayesian adaptive testing with Python – The adaptivetesting package

Behav Res Methods. 2026 Jul 24;58(9):250. doi: 10.3758/s13428-026-03079-w.

ABSTRACT

This paper introduces an open-source Python package for simplified, customizable computerized adaptive testing (CAT) using Bayesian methods for ability estimation. It addresses the lack of sophisticated packages for CAT in the Python programming language. Moreover, it bridges the gap between the construction and simulation of adaptive tests and their practical application by providing a dedicated API for integration with experiment software. Thereby, it eliminates the need for major code rewrites when transitioning from simulated to real-world adaptive testing. By leveraging Python’s object-oriented programming approach, such as abstract classes, protocols, and inheritance, the package allows for easy extension and customization of its functionality. For example, Bayesian estimators can be modified to incorporate custom priors. This paper outlines the relevance and practical use of the adaptivetesting package through a walkthrough example. The package is fully documented, and its source code is published on GitHub. It is also available on the Python Package Index (PyPi) and conda-forge thus it can easily be installed using Python’s package manager pip or conda. Leveraging R’s reticulate package, adaptivetesting can also be accessed from within RStudio.

PMID:42498892 | DOI:10.3758/s13428-026-03079-w

By Nevin Manimala

Portfolio Website for Nevin Manimala