3/6 CAT item parameters for all five languages, exported from the R API - #619
Open
mcfrank wants to merge 1 commit into
Open
3/6 CAT item parameters for all five languages, exported from the R API#619mcfrank wants to merge 1 commit into
mcfrank wants to merge 1 commit into
Conversation
Exports the 2PL item banks from langcog/cdi-cat-api's combined_CAT_parms.Rdata into the existing webcdi CSV format (classic-b difficulty = -d/a1, matching [English_CAT].csv, which reproduces the R values to 1e-14). Adds the missing Japanese and Dutch starting-words files and refreshes the stale French one; instruments.json now points each CAT language at its own item bank instead of the English placeholder. Dutch parameters are derived from the model object (coef(irt_models$NL)) rather than the repo's irt_coefs table, which comes from a different fit — see langcog/cdi-cat-api#14. Every language was validated against freshly generated mirtCAT ground-truth sequences: theta trajectories match jsCat within 0.0024 at all 256 steps and maximum-information item selection matches 246/246. These CSVs are data-only today (07_populate_cat_items has been dead since the InstrumentItem model was removed in migration 0075); they are the canonical source for the upcoming in-browser jsCat CAT. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This was referenced Jul 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of the six-PR stack (merge after #618).
Ports the 2PL item banks from langcog/cdi-cat-api's
combined_CAT_parms.Rdatainto the existing webcdi CSV format (classic-b difficulty = -d/a1; reproduces the R values to 1e-14 on the English bank). Adds the missing Japanese/Dutch starting-words files, refreshes the stale French one, and points each CAT language'sinstruments.jsonentry at its own bank instead of the English placeholder.Dutch is exported from the model object rather than the repo's coefs table, which comes from a different fit — see langcog/cdi-cat-api#14.
Validation: all five languages replay freshly generated mirtCAT ground-truth sequences with theta within 0.0024 and item selection matching 246/246 (harness ships in PR 6/6).
🤖 Generated with Claude Code