Skip to main content

adaptivetesting

An open-source Python package for simplified, customizable Computerized Adaptive Testing (CAT) using Bayesian methods.

Key Features

  • Bayesian Methods: Built-in support for Bayesian ability estimation with customizable priors
  • Flexible Architecture: Object-oriented design with abstract classes for easy extension
  • Item Response Theory: Full support for 1PL, 2PL, 3PL, and 4PL models, GRM, GPCM
  • Multiple Estimators:
    • Maximum Likelihood Estimation (MLE)
    • Bayesian Modal Estimation (BM)
    • Expected A Posteriori (EAP)
  • Item Selection Strategies: Maximum information criterion
  • Content Balancing: Maximum Priority Index, Weighted Penalty Model
  • Exposure Control: Randomesque Item Selection, Maximum Priority Index
  • Simulation Framework: Comprehensive tools for CAT simulation and evaluation
  • Real-world Application: Direct transition from simulation to production testing
  • Stopping Criteria: Support for standard error and test length criteria
  • Data Management: Built-in support for CSV and pickle data formats

Installation

Install from PyPI using pip:

pip install adaptivetesting

For the latest development version:

pip install git+https://github.com/condecon/adaptivetesting

Documentation

You can find our documentation in the GitHub wiki.

Contributing

We welcome contributions! Please see our GitHub repository for:

  • Issue tracking
  • Feature requests
  • Pull request guidelines
  • Development setup

Research and Applications

This package is designed for researchers and practitioners in:

  • Educational assessment
  • Psychological testing
  • Cognitive ability measurement
  • Adaptive learning systems
  • Psychometric research

The package facilitates the transition from research simulation to real-world testing applications without requiring major code modifications.

Citation

If you use this package for your academic work, please provide the following reference: Engicht, J., Bee, R.M. & Koch, T. Customizable Bayesian adaptive testing with Python – The adaptivetesting package. Behav Res 58, 250 (2026). https://doi.org/10.3758/s13428-026-03079-w

@Article{Engicht2026,
author="Engicht, Jonas
and Bee, R. Maximilian
and Koch, Tobias",
title="Customizable Bayesian adaptive testing with Python -- The adaptivetesting package",
journal="Behavior Research Methods",
year="2026",
month="Jul",
day="24",
volume="58",
number="9",
pages="250",
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.",
issn="1554-3528",
doi="10.3758/s13428-026-03079-w",
url="https://doi.org/10.3758/s13428-026-03079-w"
}


License

This project is licensed under the terms specified in the LICENSE file.

Metadata

Release files for adaptivetesting 1.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for adaptivetesting 1.2.2
File Size Uploaded Provenance Actions
adaptivetesting-1.2.2.tar.gz 69.1 kB Without provenance Details for adaptivetesting-1.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for adaptivetesting 1.2.2
File Interpreter ABI Platform Actions
adaptivetesting-1.2.2-py3-none-any.whl Python 3 none any Details for adaptivetesting-1.2.2-py3-none-any.whl

Total release size: 167.9 kB

Release files / adaptivetesting-1.2.2.tar.gz

Download URL adaptivetesting-1.2.2.tar.gz
Size 69.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7c2d9c5e2a3e00008839628965cc82be1e12519c3defa04c213804f5d89c6b22
BLAKE2b-256 checksum
How to use checksums
ae5b311239d2f47b990e8a48a06c74f8ca36a8526d6e70fe2b811c621473cd1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / adaptivetesting-1.2.2-py3-none-any.whl

Download URL adaptivetesting-1.2.2-py3-none-any.whl
Size 98.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
896baa8d76fee5f9c16a7b358de427f06b6a5d744463f9c4e2ad97a6e93ac518
BLAKE2b-256 checksum
How to use checksums
6064ac30493cad19ee40c9bf3dba3212e5cfb849e635f228620cec1d5c35b1d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for adaptivetesting 1.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page