Home▸Cognitive Science▸Card Sorting Rule Switch: Choice Probabilities and Perseverative Errors (2D)

Card Sorting Rule Switch: Choice Probabilities and Perseverative Errors (2D)

The same card-sorting learner as stacked trial strips and curves of choice probability, Q-values and perseverative errors after the rule switch.

Cognitive Science2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Card Sorting Rule Switch: Choice Probabilities and Perseverative Errors (2D) ↗ Open standalone

A learner sorts cards by one of three hidden rules and gets only right or wrong feedback. When the rule silently changes, the old habit keeps winning for a while. A Q-learning model with a softmax choice rule shows how the learning rate, the choice sharpness and the strength of the old habit set the number of perseverative errors and the trials to recover. A Blender-built sorting table animates a simulated learner; numerical checks of the model are included. Educational modelling, not a clinical test.

⚙ Under the hood

The same card-sorting learner as stacked trial strips and curves of choice probability, Q-values and perseverative errors after the rule switch.

Card SortingQ-LearningPerseverationSoftmaxCognitive Flexibility

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)