Computerized Adaptive Testing with Cognitive Diagnostic Models
Overview
A session-based engine for cognitive diagnostic computerized adaptive testing (CD-CAT), the application of adaptive testing to cognitive diagnosis models. Three models are supported: the deterministic inputs, noisy "and" gate (DINA), the deterministic inputs, noisy "or" gate (DINO), and the generalized DINA (GDINA) model. Item selection criteria include Kullback-Leibler (KL) information, posterior-weighted Kullback-Leibler (PWKL), modified posterior-weighted Kullback-Leibler (MPWKL), and Shannon entropy (SHE). Latent attribute profiles are estimated by maximum likelihood estimation (MLE), maximum a posteriori (MAP), or expected a posteriori (EAP). Content balancing, item exposure control, and shadow testing are configurable through constraint functions. The implemented methods follow Cheng (2009) doi:10.1007/s11336-009-9123-2 and de la Torre (2011) doi:10.1007/s11336-011-9207-7. Designed for real-time, item-by-item adaptive applications.
- Initial release.
- Session-based CD-CAT engine via the
CdcatSessionR6 class. - Support for DINA, DINO, and GDINA cognitive diagnosis models.
- Item selection criteria: KL, PWKL, MPWKL, SHE, sequential, and random.
- Attribute estimation methods: MLE, MAP, and EAP.
- Informative priors over skill profiles via
cdcat_prior(). - Content balancing (Kingsbury & Zara, 1991).
- Exposure control (Sympson-Hetter and Randomesque).
- Shadow CAT via user-supplied constraint functions.
- Stopping rules: fixed length, attribute-level posterior threshold, and dual posterior threshold.
- Per-step history tracking with
history_df().
Show all changes in 0.1.0Hide the rest of the changes in 0.1.0
- Built-in simulated datasets (
cdcat_sim).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK6 OK2026-06-16
Documentation
- Help pages
- 32 (15 internal)
- Examples that run
- 100%4 run in a plain check
- Exported functions with examples
- 19%
- Documented parameters
- 100%
- Return-value docs
- 94%
- Help pages citing references
- 31%
Downloads
Repository
Releases over time
6 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/thiagofmiranda/cdcat on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 1 practice
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-03-04Named in .Rbuildignore: .claudeNamed in .gitignore: .claudeCommits: at least 3 crediting it in the message
- Claude Opus 4.83 commits · Jun 2026
Dependencies
Installing cdCAT adds 1 package (0 with compiled code, 63 KB of source tarballs). Heaviest: R6 63 KB.
Code & Tests
Datasets
People & History
- 0.1.0Latest2026-06-15 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-06-15
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 285 KB / 1 file
- Download size
- 389 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("cdCAT")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.