@brainpilot/skills 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +28 -0
- package/dist/index.js.map +1 -0
- package/package.json +35 -0
- package/skills/01_Meta-Skills/contribute-skill/SKILL.md +277 -0
- package/skills/01_Meta-Skills/contribute-skills-via-pr/SKILL.md +163 -0
- package/skills/01_Meta-Skills/paper-to-skill/SKILL.md +435 -0
- package/skills/01_Meta-Skills/paper-to-skill/references/extraction-guide.md +286 -0
- package/skills/01_Meta-Skills/paper-to-skill/references/skill-template.md +250 -0
- package/skills/01_Meta-Skills/repo-to-skill/SKILL.md +289 -0
- package/skills/01_Meta-Skills/share-case/SKILL.md +253 -0
- package/skills/01_Meta-Skills/share-usage/README.md +63 -0
- package/skills/01_Meta-Skills/share-usage/SKILL.md +395 -0
- package/skills/01_Meta-Skills/verify-skill/SKILL.md +331 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-power-analysis/SKILL.md +194 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-power-analysis/references/effect-sizes.md +352 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-power-analysis/references/sample-size-guide.md +407 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-statistics/SKILL.md +361 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-statistics/references/common-analyses.md +517 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-visualization/SKILL.md +292 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-visualization/references/plot-recipes.md +709 -0
- package/skills/02_Cross-Domain_Foundation/research-literacy/SKILL.md +286 -0
- package/skills/02_Cross-Domain_Foundation/research-literacy/references/common-assumptions.md +320 -0
- package/skills/02_Cross-Domain_Foundation/research-literacy/references/planning-template.md +143 -0
- package/skills/03_Cognitive_Psychology/alternative-uses-task-designer/SKILL.md +197 -0
- package/skills/03_Cognitive_Psychology/alternative-uses-task-designer/references/instruction-templates.md +60 -0
- package/skills/03_Cognitive_Psychology/cognitive-paradigm-design/SKILL.md +246 -0
- package/skills/03_Cognitive_Psychology/cognitive-paradigm-design/references/classic-paradigms.md +435 -0
- package/skills/03_Cognitive_Psychology/cognitive-paradigm-design/references/design-principles.md +256 -0
- package/skills/03_Cognitive_Psychology/creativity-self-efficacy-mediation/SKILL.md +270 -0
- package/skills/03_Cognitive_Psychology/creativity-self-efficacy-mediation/references/lavaan-templates.md +172 -0
- package/skills/03_Cognitive_Psychology/divergent-thinking-scoring/SKILL.md +238 -0
- package/skills/03_Cognitive_Psychology/divergent-thinking-scoring/references/scoring-rubric.md +143 -0
- package/skills/03_Cognitive_Psychology/drift-diffusion-model/SKILL.md +203 -0
- package/skills/03_Cognitive_Psychology/drift-diffusion-model/references/fitting-guide.md +571 -0
- package/skills/03_Cognitive_Psychology/drift-diffusion-model/references/model-variants.md +427 -0
- package/skills/03_Cognitive_Psychology/evidence-accumulation-selector/SKILL.md +310 -0
- package/skills/03_Cognitive_Psychology/evidence-accumulation-selector/references/ez-diffusion-formulas.md +137 -0
- package/skills/03_Cognitive_Psychology/signal-detection-analysis/SKILL.md +300 -0
- package/skills/03_Cognitive_Psychology/signal-detection-analysis/references/application-guide.md +278 -0
- package/skills/03_Cognitive_Psychology/signal-detection-analysis/references/sdt-formulas.md +318 -0
- package/skills/03_Cognitive_Psychology/visual-search-array-generator/SKILL.md +283 -0
- package/skills/03_Cognitive_Psychology/visual-search-array-generator/references/array-generation-parameters.yaml +111 -0
- package/skills/04_Psycholinguistics/reading-time-analysis/SKILL.md +301 -0
- package/skills/04_Psycholinguistics/reading-time-analysis/references/measure-computation-guide.md +195 -0
- package/skills/04_Psycholinguistics/self-paced-reading-designer/SKILL.md +257 -0
- package/skills/04_Psycholinguistics/self-paced-reading-designer/references/analysis-guide.md +356 -0
- package/skills/04_Psycholinguistics/self-paced-reading-designer/references/region-segmentation.md +266 -0
- package/skills/04_Psycholinguistics/sentence-stimulus-norming/SKILL.md +346 -0
- package/skills/04_Psycholinguistics/sentence-stimulus-norming/references/lexical-databases-guide.md +184 -0
- package/skills/05_EEG_ERP/eeg-paradigm-designer/SKILL.md +226 -0
- package/skills/05_EEG_ERP/eeg-paradigm-designer/references/component-paradigm-map.md +276 -0
- package/skills/05_EEG_ERP/eeg-paradigm-designer/references/timing-parameters.md +244 -0
- package/skills/05_EEG_ERP/eeg-preprocessing-pipeline-guide/SKILL.md +367 -0
- package/skills/05_EEG_ERP/eeg-preprocessing-pipeline-guide/references/parameter-lookup-tables.md +138 -0
- package/skills/05_EEG_ERP/erp-analysis/SKILL.md +185 -0
- package/skills/05_EEG_ERP/erp-analysis/references/erp-components.md +447 -0
- package/skills/05_EEG_ERP/erp-analysis/references/preprocessing-pipeline.md +277 -0
- package/skills/05_EEG_ERP/erp-analysis/references/statistical-approaches.md +351 -0
- package/skills/05_EEG_ERP/mne-python-guide/SKILL.md +174 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/decoding.md +178 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/io_formats.md +160 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/preprocessing.md +259 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/simulation.md +173 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/source_localization.md +234 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/statistics.md +196 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/time_frequency.md +165 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/visualization.md +175 -0
- package/skills/06_fMRI_Neuroimaging/brain-connectivity-modeler/SKILL.md +317 -0
- package/skills/06_fMRI_Neuroimaging/brain-connectivity-modeler/references/method-implementation-guide.md +116 -0
- package/skills/06_fMRI_Neuroimaging/fmri-glm-analysis-guide/SKILL.md +296 -0
- package/skills/06_fMRI_Neuroimaging/fmri-glm-analysis-guide/references/design-matrix-guide.md +214 -0
- package/skills/06_fMRI_Neuroimaging/fmri-glm-analysis-guide/references/statistical-inference.md +288 -0
- package/skills/06_fMRI_Neuroimaging/fmri-preprocessing-pipeline-guide/SKILL.md +274 -0
- package/skills/06_fMRI_Neuroimaging/fmri-preprocessing-pipeline-guide/references/quality-control.md +336 -0
- package/skills/06_fMRI_Neuroimaging/fmri-preprocessing-pipeline-guide/references/step-by-step-pipeline.md +380 -0
- package/skills/06_fMRI_Neuroimaging/fmri-task-design-guide/SKILL.md +264 -0
- package/skills/06_fMRI_Neuroimaging/fmri-task-design-guide/references/design-optimization-examples.md +114 -0
- package/skills/06_fMRI_Neuroimaging/neural-decoding-analysis/SKILL.md +273 -0
- package/skills/06_fMRI_Neuroimaging/neural-decoding-analysis/references/decoding-methods.md +170 -0
- package/skills/06_fMRI_Neuroimaging/neural-decoding-analysis/references/rsa-guide.md +266 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/SKILL.md +123 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/database-subjects.md +179 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/dataset-types.md +208 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/freesurfer-fmriprep.md +162 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/mapping-transforms.md +181 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/mni-utils.md +207 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/surface-analysis.md +219 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/visualization.md +251 -0
- package/skills/07_Computational_Modeling/act-r-model-builder/SKILL.md +297 -0
- package/skills/07_Computational_Modeling/act-r-model-builder/references/model-patterns.md +197 -0
- package/skills/07_Computational_Modeling/act-r-model-builder/references/parameter-table.yaml +204 -0
- package/skills/07_Computational_Modeling/bayesian-cognitive-model-builder/SKILL.md +294 -0
- package/skills/07_Computational_Modeling/bayesian-cognitive-model-builder/references/diagnostics-checklist.md +351 -0
- package/skills/07_Computational_Modeling/bayesian-cognitive-model-builder/references/prior-selection-guide.md +241 -0
- package/skills/07_Computational_Modeling/parameter-recovery-checker/SKILL.md +269 -0
- package/skills/07_Computational_Modeling/parameter-recovery-checker/references/recovery-diagnostics.md +207 -0
- package/skills/08_Computational_Neuroscience/brain-connectivity-modeler/SKILL.md +317 -0
- package/skills/08_Computational_Neuroscience/brain-connectivity-modeler/references/method-implementation-guide.md +116 -0
- package/skills/08_Computational_Neuroscience/neural-decoding-analysis/SKILL.md +273 -0
- package/skills/08_Computational_Neuroscience/neural-decoding-analysis/references/decoding-methods.md +170 -0
- package/skills/08_Computational_Neuroscience/neural-decoding-analysis/references/rsa-guide.md +266 -0
- package/skills/08_Computational_Neuroscience/neural-population-analysis-guide/SKILL.md +305 -0
- package/skills/08_Computational_Neuroscience/neural-population-analysis-guide/references/data-requirements.md +60 -0
- package/skills/08_Computational_Neuroscience/neural-population-analysis-guide/references/method-comparison.md +151 -0
- package/skills/08_Computational_Neuroscience/spiking-network-model-builder/SKILL.md +376 -0
- package/skills/08_Computational_Neuroscience/spiking-network-model-builder/references/hh-parameters.md +117 -0
- package/skills/08_Computational_Neuroscience/spiking-network-model-builder/references/network-regimes.md +130 -0
- package/skills/09_Cellular_Molecular_Neuroscience/calcium-imaging-analysis-guide/SKILL.md +258 -0
- package/skills/09_Cellular_Molecular_Neuroscience/calcium-imaging-analysis-guide/references/indicator-parameters.md +242 -0
- package/skills/09_Cellular_Molecular_Neuroscience/calcium-imaging-analysis-guide/references/pipeline-details.md +211 -0
- package/skills/09_Cellular_Molecular_Neuroscience/optogenetics-protocol-designer/SKILL.md +261 -0
- package/skills/09_Cellular_Molecular_Neuroscience/optogenetics-protocol-designer/references/opsin-catalog.md +124 -0
- package/skills/09_Cellular_Molecular_Neuroscience/optogenetics-protocol-designer/references/stimulation-parameters.md +304 -0
- package/skills/10_Clinical_Neuropsychology/lesion-symptom-mapping-guide/SKILL.md +367 -0
- package/skills/10_Clinical_Neuropsychology/lesion-symptom-mapping-guide/references/disconnection-guide.md +152 -0
- package/skills/10_Clinical_Neuropsychology/lesion-symptom-mapping-guide/references/vlsm-pipeline.md +182 -0
- package/skills/10_Clinical_Neuropsychology/neuropsych-battery-selector/SKILL.md +250 -0
- package/skills/10_Clinical_Neuropsychology/neuropsych-battery-selector/references/deficit-profiles.md +302 -0
- package/skills/10_Clinical_Neuropsychology/neuropsych-battery-selector/references/test-catalog.md +304 -0
- package/skills/11_Developmental_Cognition/infant-looking-time-designer/SKILL.md +345 -0
- package/skills/11_Developmental_Cognition/infant-looking-time-designer/references/age-parameters.yaml +186 -0
- package/skills/12_Social_Cognition/tom-task-selector/SKILL.md +379 -0
- package/skills/12_Social_Cognition/tom-task-selector/references/task-database.md +317 -0
- package/skills/13_Visualization/nature-figure/README.md +442 -0
- package/skills/13_Visualization/nature-figure/SKILL.md +60 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-01-bar-charts.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-02-line-trends.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-03-heatmaps.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-04-scatter-bubble.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-05-radar-polar.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-06-distributions.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-07-forest-interval.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-08-area-stacked.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-09-image-plates.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-10-network-matrix.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/Dispersion_motivation.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/Dispersion_observation.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/Dispersion_observation_distillation.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_contrastive.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_results_CEDAR.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_results_IEDB.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_schematic.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/RNAGenScape_schematic.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/figures/ablation.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/figures/comparison.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/plot_ablation.py +86 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/plot_comparison.py +109 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/diffusion_swiss_roll.py +97 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/diffusion_swiss_roll.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_GeneRegulatory.pdf +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_GeneRegulatory.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_Trajectory.pdf +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_Trajectory.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/figX_comparison_Ablation.pdf +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/figX_comparison_Ablation.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/plot_comparison_Ablation.py +64 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/plot_comparison_GeneRegulatory.py +74 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/plot_comparison_Trajectory.py +74 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/figures/idea.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/figures/illustration.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/plot_idea.py +76 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/plot_illustration.py +404 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_FPGM/figures/freq_prior.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_FPGM/plot_freq_prior.py +146 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_ablation_Cancer.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_ablation_IEDB.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_comparison_Cancer.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_comparison_IEDB.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/plot_bars.py +216 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/raw_data.py +125 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/manifold.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/manifold_holes.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/results_comparison_optimization.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/results_comparison_speed.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/results_sweep.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_comparison.py +228 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_hole_manifold.py +82 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_manifold.py +61 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_sweep.py +77 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/figures/comparison_posttraining.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/figures/comparison_radar.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/plot_comparison_radar.py +173 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/plot_posttraining.py +82 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/brute_force.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/correctness_by_category.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/correctness_by_subcategory.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/rewriting.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/selfcorrection_math.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_brute_force.py +248 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_correctness_by_category.py +132 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_correctness_by_subcategory.py +131 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_rewriting.py +105 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_selfcorrection_math.py +99 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/figures/composition_heatmap.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/figures/trend_by_month.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/plot_composition.py +81 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/plot_trend.py +125 -0
- package/skills/13_Visualization/nature-figure/assets/gallery/fig1-material-mechanism-rich.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/gallery/fig2-spatial-imaging-rich.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/gallery/fig3-in-vivo-efficacy-rich.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/gallery/fig4-single-cell-systems-rich.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/gallery/fig5-validation-perturbation-rich.png +0 -0
- package/skills/13_Visualization/nature-figure/evals/evals.json +37 -0
- package/skills/13_Visualization/nature-figure/manifest.yaml +57 -0
- package/skills/13_Visualization/nature-figure/references/api.md +428 -0
- package/skills/13_Visualization/nature-figure/references/backend-selection.md +100 -0
- package/skills/13_Visualization/nature-figure/references/chart-types.md +281 -0
- package/skills/13_Visualization/nature-figure/references/common-patterns.md +350 -0
- package/skills/13_Visualization/nature-figure/references/demos.md +65 -0
- package/skills/13_Visualization/nature-figure/references/design-theory.md +436 -0
- package/skills/13_Visualization/nature-figure/references/figure-contract.md +93 -0
- package/skills/13_Visualization/nature-figure/references/nature-2026-observations.md +112 -0
- package/skills/13_Visualization/nature-figure/references/qa-contract.md +119 -0
- package/skills/13_Visualization/nature-figure/references/r-template-index.md +66 -0
- package/skills/13_Visualization/nature-figure/references/r-workflow.md +161 -0
- package/skills/13_Visualization/nature-figure/references/tutorials.md +251 -0
- package/skills/13_Visualization/nature-figure/static/core/contract.md +29 -0
- package/skills/13_Visualization/nature-figure/static/core/stance.md +37 -0
- package/skills/13_Visualization/nature-figure/static/fragments/backend/python.md +37 -0
- package/skills/13_Visualization/nature-figure/static/fragments/backend/r.md +44 -0
- package/skills/14_Writing/markdown-report-writing/SKILL.md +306 -0
- package/skills/14_Writing/markdown-report-writing/references/compatibility-matrix.md +72 -0
- package/skills/14_Writing/markdown-report-writing/references/templates.md +299 -0
- package/skills/15_Others/neuroimaging-power-guide/SKILL.md +324 -0
- package/skills/15_Others/neuroimaging-power-guide/references/effect-size-lookup-tables.md +102 -0
- package/skills/15_Others/neuroimaging-sample-size-calculator/SKILL.md +330 -0
- package/skills/15_Others/neuroimaging-sample-size-calculator/references/worked-examples.md +220 -0
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "act-r-model-builder"
|
|
3
|
+
description: "Guides ACT-R cognitive model construction: chunk types, production rules, subsymbolic parameters, and model validation"
|
|
4
|
+
domain: "computational-cognitive-modeling"
|
|
5
|
+
version: "1.0.0"
|
|
6
|
+
papers:
|
|
7
|
+
- "Anderson, 2007"
|
|
8
|
+
- "Anderson & Lebiere, 1998"
|
|
9
|
+
- "Anderson & Schooler, 1991"
|
|
10
|
+
- "Bothell, 2023"
|
|
11
|
+
dependencies:
|
|
12
|
+
required:
|
|
13
|
+
- research-literacy
|
|
14
|
+
review_status: "ai-generated"
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# ACT-R Model Builder
|
|
18
|
+
|
|
19
|
+
## Purpose
|
|
20
|
+
|
|
21
|
+
This skill encodes expert knowledge for constructing computational cognitive models within the ACT-R (Adaptive Control of Thought -- Rational) architecture. It provides guidance on chunk type definition, production rule authoring, subsymbolic parameter selection with empirically validated defaults, model fitting workflows, and validation procedures. A general-purpose programmer would not know the architecture constraints, parameter defaults, or model validation standards without specialized cognitive modeling training.
|
|
22
|
+
|
|
23
|
+
## When to Use This Skill
|
|
24
|
+
|
|
25
|
+
- Designing a new ACT-R model for a cognitive task (memory retrieval, decision-making, skill acquisition)
|
|
26
|
+
- Setting subsymbolic parameters and understanding their theoretical justification
|
|
27
|
+
- Structuring chunk types and production rules for a specific experimental paradigm
|
|
28
|
+
- Fitting an ACT-R model to behavioral data (RT, accuracy)
|
|
29
|
+
- Validating a model via parameter recovery, cross-validation, or qualitative predictions
|
|
30
|
+
- Choosing between ACT-R 7.x (Lisp) and pyactr (Python) for implementation
|
|
31
|
+
|
|
32
|
+
## Research Planning Protocol
|
|
33
|
+
|
|
34
|
+
Before executing the domain-specific steps below, you MUST:
|
|
35
|
+
|
|
36
|
+
1. **State the research question** -- What specific question is this analysis/paradigm addressing?
|
|
37
|
+
2. **Justify the method choice** -- Why is this approach appropriate? What alternatives were considered?
|
|
38
|
+
3. **Declare expected outcomes** -- What results would support vs. refute the hypothesis?
|
|
39
|
+
4. **Note assumptions and limitations** -- What does this method assume? Where could it mislead?
|
|
40
|
+
5. **Present the plan to the user and WAIT for confirmation** before proceeding.
|
|
41
|
+
|
|
42
|
+
For detailed methodology guidance, see the `research-literacy` skill.
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
## ⚠️ Verification Notice
|
|
46
|
+
|
|
47
|
+
This skill was generated by AI from academic literature. All parameters, thresholds, and citations require independent verification before use in research. If you find errors, please [open an issue](https://github.com/HaoxuanLiTHUAI/awesome_cognitive_and_neuroscience_skills/issues).
|
|
48
|
+
|
|
49
|
+
## ACT-R Architecture Overview
|
|
50
|
+
|
|
51
|
+
ACT-R is a hybrid cognitive architecture with symbolic and subsymbolic components (Anderson, 2007; Anderson & Lebiere, 1998).
|
|
52
|
+
|
|
53
|
+
### Core Modules and Buffers
|
|
54
|
+
|
|
55
|
+
| Module | Buffer | Function | Source |
|
|
56
|
+
|--------|--------|----------|--------|
|
|
57
|
+
| Declarative memory | retrieval | Stores and retrieves chunks (facts) | Anderson, 2007, Ch. 2 |
|
|
58
|
+
| Procedural memory | (none; fires productions) | Stores production rules (skills) | Anderson, 2007, Ch. 3 |
|
|
59
|
+
| Goal | goal | Tracks current task state | Anderson, 2007, Ch. 4 |
|
|
60
|
+
| Imaginal | imaginal | Holds intermediate problem representations | Anderson, 2007, Ch. 4 |
|
|
61
|
+
| Visual | visual, visual-location | Attends to and encodes visual objects | Anderson, 2007, Ch. 6 |
|
|
62
|
+
| Motor | manual | Executes motor responses (keypresses) | Anderson, 2007, Ch. 6 |
|
|
63
|
+
| Temporal | temporal | Tracks time intervals | Taatgen et al., 2007 |
|
|
64
|
+
|
|
65
|
+
### Processing Cycle
|
|
66
|
+
|
|
67
|
+
1. Buffers hold one chunk each (the "bottleneck" assumption; Anderson, 2007, Ch. 1)
|
|
68
|
+
2. Productions match against buffer contents (pattern matching)
|
|
69
|
+
3. Conflict resolution selects one production per cycle (~**50 ms** per production firing; Anderson, 2007)
|
|
70
|
+
4. Selected production modifies buffers or makes requests to modules
|
|
71
|
+
5. Modules process requests asynchronously
|
|
72
|
+
|
|
73
|
+
## Building the Symbolic Model
|
|
74
|
+
|
|
75
|
+
### Step 1: Define Chunk Types
|
|
76
|
+
|
|
77
|
+
Chunk types define the structure of declarative knowledge:
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
;; ACT-R 7.x Lisp syntax
|
|
81
|
+
(chunk-type addition-problem arg1 arg2 answer)
|
|
82
|
+
(chunk-type counting-fact number next)
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
**Decision rules for chunk type design:**
|
|
86
|
+
|
|
87
|
+
1. Each chunk type represents one category of knowledge (Anderson, 2007, Ch. 2)
|
|
88
|
+
2. Slots should correspond to meaningful features of the domain
|
|
89
|
+
3. Use inheritance when chunk types share structure (e.g., a "problem" parent type)
|
|
90
|
+
4. Keep chunks small -- typically **3-6 slots** per chunk type (Anderson & Lebiere, 1998)
|
|
91
|
+
|
|
92
|
+
### Step 2: Write Production Rules
|
|
93
|
+
|
|
94
|
+
Productions follow an IF-THEN structure:
|
|
95
|
+
|
|
96
|
+
```
|
|
97
|
+
(p retrieve-answer
|
|
98
|
+
=goal>
|
|
99
|
+
isa addition-problem
|
|
100
|
+
arg1 =num1
|
|
101
|
+
arg2 =num2
|
|
102
|
+
answer nil
|
|
103
|
+
?retrieval>
|
|
104
|
+
state free
|
|
105
|
+
==>
|
|
106
|
+
+retrieval>
|
|
107
|
+
isa addition-fact
|
|
108
|
+
addend1 =num1
|
|
109
|
+
addend2 =num2
|
|
110
|
+
=goal>
|
|
111
|
+
)
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
**Production rule guidelines:**
|
|
115
|
+
|
|
116
|
+
| Guideline | Rationale | Source |
|
|
117
|
+
|-----------|-----------|--------|
|
|
118
|
+
| One request per production | Module bottleneck constraint | Anderson, 2007, Ch. 3 |
|
|
119
|
+
| Test buffer state before requesting | Prevents jamming the module | Bothell, 2023, ACT-R reference manual |
|
|
120
|
+
| Use `=goal>` to maintain goal buffer | Prevents goal harvesting | Bothell, 2023 |
|
|
121
|
+
| Minimize productions per task step | Simpler models are preferred (parsimony) | Anderson, 2007, Ch. 1 |
|
|
122
|
+
|
|
123
|
+
### Step 3: Structure the Goal Stack
|
|
124
|
+
|
|
125
|
+
```
|
|
126
|
+
Is the task sequential with clear phases?
|
|
127
|
+
|
|
|
128
|
+
+-- YES --> Use a single goal chunk with a "step" slot
|
|
129
|
+
| that tracks the current phase
|
|
130
|
+
|
|
|
131
|
+
+-- NO --> Does the task require subgoaling?
|
|
132
|
+
|
|
|
133
|
+
+-- YES --> Use goal push/pop (stack)
|
|
134
|
+
|
|
|
135
|
+
+-- NO --> Use the imaginal buffer for
|
|
136
|
+
intermediate representations
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
## Subsymbolic Parameters
|
|
140
|
+
|
|
141
|
+
These parameters govern memory activation, retrieval, and production selection. See `references/parameter-table.yaml` for the complete table.
|
|
142
|
+
|
|
143
|
+
### Core Declarative Memory Parameters
|
|
144
|
+
|
|
145
|
+
| Parameter | Symbol | Default | Typical Range | Source |
|
|
146
|
+
|-----------|--------|---------|---------------|--------|
|
|
147
|
+
| Base-level learning decay | d | **0.5** | 0.1 -- 1.0 | Anderson & Schooler, 1991; Anderson, 2007 |
|
|
148
|
+
| Activation noise | s | **0.4** | 0.1 -- 0.8 | Anderson, 2007 |
|
|
149
|
+
| Latency factor | F | **1.0** | 0.2 -- 5.0 | Anderson, 2007 |
|
|
150
|
+
| Latency exponent | f | **1.0** | Fixed in most models | Anderson, 2007 |
|
|
151
|
+
| Retrieval threshold | tau | **-infinity** (default) | Set empirically; often **0.0** to **-2.0** | Anderson, 2007 |
|
|
152
|
+
| Maximum associative strength | S (mas) | **context-dependent** | 1.0 -- 5.0 | Anderson & Reder, 1999 |
|
|
153
|
+
| Mismatch penalty | P | **application-dependent** | 0.5 -- 2.0 | Anderson, 2007 |
|
|
154
|
+
|
|
155
|
+
### Production Utility Parameters
|
|
156
|
+
|
|
157
|
+
| Parameter | Symbol | Default | Typical Range | Source |
|
|
158
|
+
|-----------|--------|---------|---------------|--------|
|
|
159
|
+
| Utility noise | sigma | **0.0** (deterministic) | 0.1 -- 2.0 when enabled | Anderson, 2007 |
|
|
160
|
+
| Utility learning rate | alpha | **0.2** | 0.01 -- 1.0 | Anderson, 2007 |
|
|
161
|
+
| Initial utility | U0 | **0.0** | Set per production | Anderson, 2007 |
|
|
162
|
+
| Production compilation | enabled/disabled | Disabled by default | -- | Taatgen & Anderson, 2002 |
|
|
163
|
+
|
|
164
|
+
### Timing Parameters
|
|
165
|
+
|
|
166
|
+
| Parameter | Value | Source |
|
|
167
|
+
|-----------|-------|--------|
|
|
168
|
+
| Production cycle time | **50 ms** | Anderson, 2007 |
|
|
169
|
+
| Visual encoding time | **85 ms** | Anderson, 2007, Ch. 6 |
|
|
170
|
+
| Motor initiation time | **50 ms** | Anderson, 2007, Ch. 6 |
|
|
171
|
+
| Motor execution time | **100 ms** (Fitts' law applies) | Anderson, 2007, Ch. 6 |
|
|
172
|
+
| Imaginal delay | **200 ms** | Anderson, 2007, Ch. 4 |
|
|
173
|
+
|
|
174
|
+
### Activation Equation
|
|
175
|
+
|
|
176
|
+
Total activation of chunk i:
|
|
177
|
+
|
|
178
|
+
**A_i = B_i + sum_j(W_j * S_ji) + PM_i + noise**
|
|
179
|
+
|
|
180
|
+
Where:
|
|
181
|
+
- B_i = base-level activation (log of weighted recency; decay d; Anderson & Schooler, 1991)
|
|
182
|
+
- W_j * S_ji = spreading activation from source j (Anderson, 2007, Ch. 5)
|
|
183
|
+
- PM_i = partial matching component (Anderson, 2007)
|
|
184
|
+
- noise = logistic noise with scale s (Anderson, 2007)
|
|
185
|
+
|
|
186
|
+
Retrieval time: **RT = F * e^(-f * A_i)** (Anderson, 2007)
|
|
187
|
+
|
|
188
|
+
## Model Fitting Workflow
|
|
189
|
+
|
|
190
|
+
### Step 1: Identify Free Parameters
|
|
191
|
+
|
|
192
|
+
```
|
|
193
|
+
How many free parameters?
|
|
194
|
+
|
|
|
195
|
+
+-- <= 3 --> Standard practice; proceed
|
|
196
|
+
|
|
|
197
|
+
+-- 4-6 --> Acceptable if justified by model complexity
|
|
198
|
+
|
|
|
199
|
+
+-- > 6 --> Warning: overfitting risk. Consider fixing some
|
|
200
|
+
to default values (Anderson, 2007)
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
**Rule of thumb**: The number of free parameters should be substantially less than the number of independent data points being fit (Roberts & Pashler, 2000).
|
|
204
|
+
|
|
205
|
+
### Step 2: Choose Fitting Method
|
|
206
|
+
|
|
207
|
+
| Method | When to Use | Source |
|
|
208
|
+
|--------|-------------|--------|
|
|
209
|
+
| Grid search | Few parameters (1-3), bounded space | Standard practice |
|
|
210
|
+
| Simplex (Nelder-Mead) | Moderate parameters, smooth landscape | Anderson, 2007 |
|
|
211
|
+
| Differential evolution | Many parameters, multimodal landscape | Storn & Price, 1997 |
|
|
212
|
+
| Bayesian optimization | Expensive evaluations, informed priors | Palestro et al., 2018 |
|
|
213
|
+
|
|
214
|
+
### Step 3: Fit to Multiple Dependent Variables
|
|
215
|
+
|
|
216
|
+
ACT-R models should simultaneously account for:
|
|
217
|
+
- **Response times** (correct trials, mean or quantiles)
|
|
218
|
+
- **Accuracy** (proportion correct by condition)
|
|
219
|
+
- **Qualitative patterns** (error types, learning curves)
|
|
220
|
+
|
|
221
|
+
Use weighted sum of squared deviations or log-likelihood across measures (Anderson, 2007, Ch. 4).
|
|
222
|
+
|
|
223
|
+
### Step 4: Parameter Recovery
|
|
224
|
+
|
|
225
|
+
Before trusting fitted parameter values, conduct a parameter recovery study. See the `parameter-recovery-checker` skill.
|
|
226
|
+
|
|
227
|
+
## Common Model Patterns
|
|
228
|
+
|
|
229
|
+
See `references/model-patterns.md` for detailed implementations of:
|
|
230
|
+
|
|
231
|
+
1. **Memory retrieval** -- Paired associates, fan effect (Anderson, 2007, Ch. 5)
|
|
232
|
+
2. **Skill acquisition** -- Production compilation, power law of practice (Taatgen & Anderson, 2002)
|
|
233
|
+
3. **Decision-making** -- Instance-based learning, utility-based selection (Gonzalez et al., 2003)
|
|
234
|
+
4. **Problem solving** -- Means-ends analysis, goal stacking (Anderson, 2007, Ch. 8)
|
|
235
|
+
|
|
236
|
+
## Model Validation Checklist
|
|
237
|
+
|
|
238
|
+
| Validation Step | Method | Minimum Standard |
|
|
239
|
+
|----------------|--------|-----------------|
|
|
240
|
+
| Parameter recovery | Simulate and refit | r > **0.9** between true and recovered (Heathcote et al., 2015) |
|
|
241
|
+
| Cross-validation | Fit half, predict half | Prediction RMSE within **2x** of fitting RMSE |
|
|
242
|
+
| Qualitative predictions | Novel conditions | Model predicts ordinal pattern correctly |
|
|
243
|
+
| Model comparison | AIC/BIC or Bayes factor | Compare against plausible alternatives (Burnham & Anderson, 2002) |
|
|
244
|
+
| Sensitivity analysis | Vary fixed parameters | Conclusions robust to +/-**20%** variation |
|
|
245
|
+
|
|
246
|
+
## Software and Implementation
|
|
247
|
+
|
|
248
|
+
| Platform | Language | URL | Notes |
|
|
249
|
+
|----------|----------|-----|-------|
|
|
250
|
+
| ACT-R 7.x | Common Lisp | act-r.psy.cmu.edu | Reference implementation (Bothell, 2023) |
|
|
251
|
+
| pyactr | Python | github.com/jakdot/pyactr | Python interface, good for batch simulations (Dotlacil, 2018) |
|
|
252
|
+
| jACT-R | Java | jactr.org | Java implementation |
|
|
253
|
+
|
|
254
|
+
**Recommendation**: Use ACT-R 7.x for model development and validation. Use pyactr when integrating with Python data analysis pipelines or running large parameter sweeps (Dotlacil, 2018).
|
|
255
|
+
|
|
256
|
+
## Common Pitfalls
|
|
257
|
+
|
|
258
|
+
1. **Too many free parameters**: Fitting more than **5-6** free parameters without strong justification risks overfitting (Roberts & Pashler, 2000). Fix well-established parameters (d = **0.5**, production cycle = **50 ms**) to defaults.
|
|
259
|
+
2. **Ignoring parameter correlations**: Parameters like s (noise) and tau (threshold) trade off. Run parameter recovery to verify identifiability.
|
|
260
|
+
3. **Fitting only means**: ACT-R makes distributional predictions. Fitting only mean RT discards information. Use quantile-based fitting where possible (Heathcote et al., 2015).
|
|
261
|
+
4. **Incorrect timing alignment**: ACT-R's predicted RT includes perceptual and motor times. Account for these when comparing to behavioral RT.
|
|
262
|
+
5. **Overly complex models**: Prefer models with fewer productions and chunk types that still capture the qualitative pattern. Complexity should be motivated by the data (Anderson, 2007, Ch. 1).
|
|
263
|
+
6. **Neglecting model comparison**: Always compare your ACT-R model against at least one alternative (simpler ACT-R variant or a different architecture) using formal model comparison (Burnham & Anderson, 2002).
|
|
264
|
+
|
|
265
|
+
## Minimum Reporting Checklist
|
|
266
|
+
|
|
267
|
+
Based on best practices from Anderson (2007) and Heathcote et al. (2015):
|
|
268
|
+
|
|
269
|
+
- [ ] Architecture version (e.g., ACT-R 7.27)
|
|
270
|
+
- [ ] All chunk types and their slots
|
|
271
|
+
- [ ] Number of production rules
|
|
272
|
+
- [ ] All parameter values: fixed (with default source) and free (with fitted values and confidence intervals)
|
|
273
|
+
- [ ] Fitting method and objective function
|
|
274
|
+
- [ ] Data fitted: number of conditions, number of data points, dependent variables
|
|
275
|
+
- [ ] Goodness of fit: R-squared, RMSE, or log-likelihood per dependent variable
|
|
276
|
+
- [ ] Parameter recovery results (r, bias, RMSE for each free parameter)
|
|
277
|
+
- [ ] Model comparison results (AIC/BIC/Bayes factor vs. alternatives)
|
|
278
|
+
- [ ] Qualitative predictions and whether they matched data
|
|
279
|
+
|
|
280
|
+
## References
|
|
281
|
+
|
|
282
|
+
- Anderson, J. R. (2007). *How Can the Human Mind Occur in the Physical Universe?* Oxford University Press.
|
|
283
|
+
- Anderson, J. R., & Lebiere, C. (1998). *The Atomic Components of Thought.* Lawrence Erlbaum Associates.
|
|
284
|
+
- Anderson, J. R., & Reder, L. M. (1999). The fan effect: New results and new theories. *Journal of Experimental Psychology: General*, 128(2), 186-197.
|
|
285
|
+
- Anderson, J. R., & Schooler, L. J. (1991). Reflections of the environment in memory. *Psychological Science*, 2(6), 396-408.
|
|
286
|
+
- Bothell, D. (2023). *ACT-R 7.27 Reference Manual.* Carnegie Mellon University.
|
|
287
|
+
- Burnham, K. P., & Anderson, D. R. (2002). *Model Selection and Multimodel Inference* (2nd ed.). Springer.
|
|
288
|
+
- Dotlacil, J. (2018). Building an ACT-R reader for eye-tracking corpus data. *Topics in Cognitive Science*, 10(1), 144-160.
|
|
289
|
+
- Gonzalez, C., Lerch, J. F., & Lebiere, C. (2003). Instance-based learning in dynamic decision making. *Cognitive Science*, 27(4), 591-635.
|
|
290
|
+
- Heathcote, A., Brown, S. D., & Wagenmakers, E.-J. (2015). An introduction to good practices in cognitive modeling. In B. U. Forstmann & E.-J. Wagenmakers (Eds.), *An Introduction to Model-Based Cognitive Neuroscience*. Springer.
|
|
291
|
+
- Palestro, J. J., Sederberg, P. B., Osth, A. F., Van Zandt, T., & Turner, B. M. (2018). Likelihood-free methods for cognitive science. Springer.
|
|
292
|
+
- Roberts, S., & Pashler, H. (2000). How persuasive is a good fit? A comment on theory testing. *Psychological Review*, 107(2), 358-367.
|
|
293
|
+
- Storn, R., & Price, K. (1997). Differential evolution. *Journal of Global Optimization*, 11(4), 341-359.
|
|
294
|
+
- Taatgen, N. A., & Anderson, J. R. (2002). Why do children learn to say "Broke"? A model of learning the past tense without feedback. *Cognition*, 86(2), 123-155.
|
|
295
|
+
- Taatgen, N. A., van Rijn, H., & Anderson, J. R. (2007). An integrated theory of prospective time interval estimation. *Psychological Review*, 114(3), 577-598.
|
|
296
|
+
|
|
297
|
+
See `references/` for detailed parameter tables and common model patterns.
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
# Common ACT-R Model Patterns
|
|
2
|
+
|
|
3
|
+
This reference describes standard model patterns used across ACT-R cognitive models. Each pattern includes the key architectural features, representative chunk types, production structure, and critical parameters.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 1. Memory Retrieval Models
|
|
8
|
+
|
|
9
|
+
### Canonical Example: Paired Associates Task
|
|
10
|
+
|
|
11
|
+
The participant learns associations (e.g., "2 -- BEAR") and must recall the paired word when cued with the number (Anderson, 2007, Ch. 5).
|
|
12
|
+
|
|
13
|
+
### Architecture
|
|
14
|
+
|
|
15
|
+
- **Declarative memory**: Stores paired-associate chunks
|
|
16
|
+
- **Goal buffer**: Tracks trial state (encoding, retrieval, response)
|
|
17
|
+
- **Visual module**: Reads stimulus from screen
|
|
18
|
+
- **Motor module**: Types response
|
|
19
|
+
|
|
20
|
+
### Key Chunk Types
|
|
21
|
+
|
|
22
|
+
```lisp
|
|
23
|
+
(chunk-type pair probe answer)
|
|
24
|
+
(chunk-type goal step probe answer)
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### Production Skeleton
|
|
28
|
+
|
|
29
|
+
1. `read-probe` -- Attend to and encode the visual probe
|
|
30
|
+
2. `retrieve-answer` -- Request retrieval of the paired associate
|
|
31
|
+
3. `respond` -- Output the retrieved answer via motor module
|
|
32
|
+
4. `fail` -- Handle retrieval failure
|
|
33
|
+
|
|
34
|
+
### Critical Parameters
|
|
35
|
+
|
|
36
|
+
| Parameter | Role | Typical Value |
|
|
37
|
+
|-----------|------|---------------|
|
|
38
|
+
| d (decay) | Controls forgetting of pairs | **0.5** (Anderson & Schooler, 1991) |
|
|
39
|
+
| s (noise) | Variability in retrieval success | **0.2 -- 0.5** (Anderson, 2007) |
|
|
40
|
+
| tau (threshold) | Retrieval failure threshold | **-0.5 to 0.5** (set empirically) |
|
|
41
|
+
| S (mas) | Fan effect strength | **1.5 -- 3.0** (Anderson & Reder, 1999) |
|
|
42
|
+
|
|
43
|
+
### Behavioral Predictions
|
|
44
|
+
|
|
45
|
+
- **Power law of forgetting**: Accuracy decreases as a power function of lag (Anderson & Schooler, 1991)
|
|
46
|
+
- **Fan effect**: RT increases logarithmically with number of associations (Anderson & Reder, 1999)
|
|
47
|
+
- **Spacing effect**: Distributed practice produces slower forgetting (Pavlik & Anderson, 2005)
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## 2. Skill Acquisition Models
|
|
52
|
+
|
|
53
|
+
### Canonical Example: Power Law of Practice
|
|
54
|
+
|
|
55
|
+
Models the transition from slow, deliberate processing to fast, automatic performance (Taatgen & Anderson, 2002; Newell & Rosenbloom, 1981).
|
|
56
|
+
|
|
57
|
+
### Architecture
|
|
58
|
+
|
|
59
|
+
- **Declarative memory**: Stores facts needed for initial performance
|
|
60
|
+
- **Procedural memory**: Productions that initially retrieve facts, then compile into direct rules
|
|
61
|
+
- **Production compilation**: Enabled (:epl t)
|
|
62
|
+
|
|
63
|
+
### Mechanism
|
|
64
|
+
|
|
65
|
+
1. **Interpretive phase**: Productions retrieve declarative knowledge to guide behavior
|
|
66
|
+
2. **Compilation**: Two sequential productions merge into one (Taatgen & Anderson, 2002)
|
|
67
|
+
3. **Tuning**: Compiled productions gain utility through reward learning
|
|
68
|
+
|
|
69
|
+
### Critical Parameters
|
|
70
|
+
|
|
71
|
+
| Parameter | Role | Typical Value |
|
|
72
|
+
|-----------|------|---------------|
|
|
73
|
+
| Production compilation | Must be enabled | :epl t (Taatgen & Anderson, 2002) |
|
|
74
|
+
| alpha (learning rate) | Speed of utility learning | **0.2** (Anderson, 2007) |
|
|
75
|
+
| Reward value | Goal reward for successful completion | **Task-dependent** |
|
|
76
|
+
|
|
77
|
+
### Behavioral Predictions
|
|
78
|
+
|
|
79
|
+
- **Power law of practice**: RT = a * N^(-b), where N is practice trials (Newell & Rosenbloom, 1981)
|
|
80
|
+
- **Qualitative shift**: Errors change from declarative-based to procedural-based with practice
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## 3. Decision-Making Models
|
|
85
|
+
|
|
86
|
+
### Canonical Example: Instance-Based Learning
|
|
87
|
+
|
|
88
|
+
Models decisions based on accumulated experience with outcomes (Gonzalez et al., 2003).
|
|
89
|
+
|
|
90
|
+
### Architecture
|
|
91
|
+
|
|
92
|
+
- **Declarative memory**: Stores instances (situation-decision-outcome triples)
|
|
93
|
+
- **Blending**: Uses blended retrieval to aggregate over multiple instances (:blt t)
|
|
94
|
+
- **Utility learning**: Optional, for strategy selection
|
|
95
|
+
|
|
96
|
+
### Key Chunk Types
|
|
97
|
+
|
|
98
|
+
```lisp
|
|
99
|
+
(chunk-type instance
|
|
100
|
+
situation ;; features of the current context
|
|
101
|
+
decision ;; action taken
|
|
102
|
+
outcome ;; result observed (e.g., reward value)
|
|
103
|
+
)
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
### Mechanism (Gonzalez et al., 2003)
|
|
107
|
+
|
|
108
|
+
1. Encode current situation
|
|
109
|
+
2. Retrieve (or blend) instances matching current situation
|
|
110
|
+
3. Evaluate expected outcomes for each possible decision
|
|
111
|
+
4. Select decision with highest expected value
|
|
112
|
+
5. Execute decision, observe outcome, store new instance
|
|
113
|
+
|
|
114
|
+
### Critical Parameters
|
|
115
|
+
|
|
116
|
+
| Parameter | Role | Typical Value |
|
|
117
|
+
|-----------|------|---------------|
|
|
118
|
+
| d (decay) | Recency weighting of instances | **0.5** (Anderson & Schooler, 1991) |
|
|
119
|
+
| s (noise) | Exploration vs. exploitation | **0.25 -- 1.0** (Gonzalez et al., 2003) |
|
|
120
|
+
| Blending | Aggregate over instances | :blt t (Lebiere, 1999) |
|
|
121
|
+
|
|
122
|
+
### Behavioral Predictions
|
|
123
|
+
|
|
124
|
+
- **Recency effect**: Recent outcomes influence decisions more than distant ones
|
|
125
|
+
- **Frequency effect**: More frequently experienced outcomes have higher base-level activation
|
|
126
|
+
- **Risk sensitivity**: Noise parameter s controls risk-seeking vs. risk-averse behavior
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
## 4. Problem Solving Models
|
|
131
|
+
|
|
132
|
+
### Canonical Example: Tower of Hanoi
|
|
133
|
+
|
|
134
|
+
Models multi-step problem solving with goal decomposition (Anderson, 2007, Ch. 8).
|
|
135
|
+
|
|
136
|
+
### Architecture
|
|
137
|
+
|
|
138
|
+
- **Goal buffer**: Tracks current goal and subgoals (stack-based)
|
|
139
|
+
- **Imaginal buffer**: Holds intermediate problem state representation
|
|
140
|
+
- **Declarative memory**: Stores known move patterns and strategies
|
|
141
|
+
|
|
142
|
+
### Production Structure
|
|
143
|
+
|
|
144
|
+
1. `set-goal` -- Identify the top-level goal
|
|
145
|
+
2. `decompose-problem` -- Push subgoal onto goal stack
|
|
146
|
+
3. `execute-move` -- Perform a primitive action
|
|
147
|
+
4. `pop-subgoal` -- Return to parent goal after completing subgoal
|
|
148
|
+
5. `check-done` -- Verify goal is achieved
|
|
149
|
+
|
|
150
|
+
### Critical Parameters
|
|
151
|
+
|
|
152
|
+
| Parameter | Role | Typical Value |
|
|
153
|
+
|-----------|------|---------------|
|
|
154
|
+
| Goal activation (G) | Strength of goal-directed retrieval | **1.0 -- 3.0** (Anderson, 2007) |
|
|
155
|
+
| Imaginal delay | Time for problem state updates | **200 ms** (Anderson, 2007) |
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
## 5. Cognitive Control / Conflict Models
|
|
160
|
+
|
|
161
|
+
### Canonical Example: Stroop Task
|
|
162
|
+
|
|
163
|
+
Models the conflict between automatic word reading and controlled color naming.
|
|
164
|
+
|
|
165
|
+
### Architecture
|
|
166
|
+
|
|
167
|
+
- **Visual module**: Encodes both color and word features
|
|
168
|
+
- **Procedural memory**: Competing productions for word-reading vs. color-naming
|
|
169
|
+
- **Utility-based selection**: Higher utility for task-relevant production
|
|
170
|
+
|
|
171
|
+
### Mechanism
|
|
172
|
+
|
|
173
|
+
1. Encode stimulus (color and word simultaneously)
|
|
174
|
+
2. Two productions compete: read-word (high utility from practice) vs. name-color (task-instructed)
|
|
175
|
+
3. Conflict resolved by utility + noise
|
|
176
|
+
4. Incongruent trials: competing retrieval or motor responses add time
|
|
177
|
+
|
|
178
|
+
### Critical Parameters
|
|
179
|
+
|
|
180
|
+
| Parameter | Role | Typical Value |
|
|
181
|
+
|-----------|------|---------------|
|
|
182
|
+
| Utility of word-reading | Reflects automaticity | Higher initial utility |
|
|
183
|
+
| Utility of color-naming | Reflects task instruction | Set by experimenter |
|
|
184
|
+
| sigma (utility noise) | Conflict resolution stochasticity | **0.5 -- 1.5** (Anderson, 2007) |
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
## References
|
|
189
|
+
|
|
190
|
+
- Anderson, J. R. (2007). *How Can the Human Mind Occur in the Physical Universe?* Oxford University Press.
|
|
191
|
+
- Anderson, J. R., & Reder, L. M. (1999). The fan effect: New results and new theories. *JEP: General*, 128(2), 186-197.
|
|
192
|
+
- Anderson, J. R., & Schooler, L. J. (1991). Reflections of the environment in memory. *Psychological Science*, 2(6), 396-408.
|
|
193
|
+
- Gonzalez, C., Lerch, J. F., & Lebiere, C. (2003). Instance-based learning in dynamic decision making. *Cognitive Science*, 27(4), 591-635.
|
|
194
|
+
- Lebiere, C. (1999). The dynamics of cognition: An ACT-R model of cognitive arithmetic. *Kognitionswissenschaft*, 8(1), 5-19.
|
|
195
|
+
- Newell, A., & Rosenbloom, P. S. (1981). Mechanisms of skill acquisition and the law of practice. In J. R. Anderson (Ed.), *Cognitive Skills and Their Acquisition*. Erlbaum.
|
|
196
|
+
- Pavlik, P. I., & Anderson, J. R. (2005). Practice and forgetting effects on vocabulary memory. *Cognitive Science*, 29(4), 559-586.
|
|
197
|
+
- Taatgen, N. A., & Anderson, J. R. (2002). Why do children learn to say "Broke"? *Cognition*, 86(2), 123-155.
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
# ACT-R Subsymbolic Parameter Reference Table
|
|
2
|
+
# Each parameter includes its symbol, default value, typical range, and citation.
|
|
3
|
+
|
|
4
|
+
declarative_memory:
|
|
5
|
+
base_level_decay:
|
|
6
|
+
symbol: "d"
|
|
7
|
+
default: 0.5
|
|
8
|
+
range: [0.1, 1.0]
|
|
9
|
+
description: >
|
|
10
|
+
Controls the rate at which base-level activation decays over time.
|
|
11
|
+
Higher values produce faster forgetting. The default of 0.5 was
|
|
12
|
+
derived from the environmental statistics of memory access patterns.
|
|
13
|
+
citation: "Anderson & Schooler, 1991; Anderson, 2007"
|
|
14
|
+
notes: >
|
|
15
|
+
Typically fixed at 0.5 in most ACT-R models. Only free this
|
|
16
|
+
parameter if the model specifically addresses forgetting dynamics.
|
|
17
|
+
|
|
18
|
+
activation_noise:
|
|
19
|
+
symbol: "s"
|
|
20
|
+
default: 0.4
|
|
21
|
+
range: [0.1, 0.8]
|
|
22
|
+
description: >
|
|
23
|
+
Scale parameter of the logistic noise added to chunk activations.
|
|
24
|
+
Determines the stochasticity of memory retrieval. Higher values
|
|
25
|
+
make retrieval more variable and error-prone.
|
|
26
|
+
citation: "Anderson, 2007"
|
|
27
|
+
notes: >
|
|
28
|
+
Common free parameter. Values below 0.2 produce near-deterministic
|
|
29
|
+
retrieval. Values above 0.6 produce highly stochastic behavior.
|
|
30
|
+
|
|
31
|
+
latency_factor:
|
|
32
|
+
symbol: "F"
|
|
33
|
+
default: 1.0
|
|
34
|
+
range: [0.2, 5.0]
|
|
35
|
+
description: >
|
|
36
|
+
Scales the retrieval time equation RT = F * exp(-f * A_i).
|
|
37
|
+
Higher values slow all retrievals proportionally.
|
|
38
|
+
citation: "Anderson, 2007"
|
|
39
|
+
notes: >
|
|
40
|
+
Common free parameter used to scale model time to match
|
|
41
|
+
observed reaction times.
|
|
42
|
+
|
|
43
|
+
latency_exponent:
|
|
44
|
+
symbol: "f"
|
|
45
|
+
default: 1.0
|
|
46
|
+
range: "Usually fixed at 1.0"
|
|
47
|
+
description: >
|
|
48
|
+
Exponent in the retrieval time equation. Rarely varied.
|
|
49
|
+
citation: "Anderson, 2007"
|
|
50
|
+
|
|
51
|
+
retrieval_threshold:
|
|
52
|
+
symbol: "tau"
|
|
53
|
+
default: "-infinity"
|
|
54
|
+
range: [-2.0, 2.0]
|
|
55
|
+
description: >
|
|
56
|
+
Minimum activation required for successful retrieval.
|
|
57
|
+
Chunks below this threshold result in retrieval failure.
|
|
58
|
+
Default of -infinity means all chunks can be retrieved.
|
|
59
|
+
citation: "Anderson, 2007"
|
|
60
|
+
notes: >
|
|
61
|
+
Set empirically when modeling retrieval failures or errors.
|
|
62
|
+
Common values range from 0.0 to -2.0 for typical tasks.
|
|
63
|
+
|
|
64
|
+
maximum_associative_strength:
|
|
65
|
+
symbol: "S (mas)"
|
|
66
|
+
default: "context-dependent"
|
|
67
|
+
range: [1.0, 5.0]
|
|
68
|
+
description: >
|
|
69
|
+
Maximum strength of associative links for spreading activation.
|
|
70
|
+
Total spreading activation from a source is S divided by the
|
|
71
|
+
fan (number of associations).
|
|
72
|
+
citation: "Anderson & Reder, 1999; Anderson, 2007, Ch. 5"
|
|
73
|
+
notes: >
|
|
74
|
+
Critical for fan-effect models. Value depends on the task
|
|
75
|
+
and the number of associations in the model.
|
|
76
|
+
|
|
77
|
+
mismatch_penalty:
|
|
78
|
+
symbol: "P"
|
|
79
|
+
default: "application-dependent"
|
|
80
|
+
range: [0.5, 2.0]
|
|
81
|
+
description: >
|
|
82
|
+
Penalty applied per mismatching slot during partial matching.
|
|
83
|
+
Higher values make partial matches less likely to succeed.
|
|
84
|
+
citation: "Anderson, 2007"
|
|
85
|
+
notes: >
|
|
86
|
+
Only relevant when partial matching is enabled (:mp t).
|
|
87
|
+
Must be tuned to the specific task.
|
|
88
|
+
|
|
89
|
+
goal_activation:
|
|
90
|
+
symbol: "G"
|
|
91
|
+
default: 1.0
|
|
92
|
+
range: [0.5, 5.0]
|
|
93
|
+
description: >
|
|
94
|
+
Activation spread from the goal buffer to declarative memory.
|
|
95
|
+
citation: "Anderson, 2007, Ch. 5"
|
|
96
|
+
|
|
97
|
+
spreading_activation:
|
|
98
|
+
weight_distribution:
|
|
99
|
+
description: >
|
|
100
|
+
Source activation W is divided equally among all sources
|
|
101
|
+
by default: W_j = G / n, where n is the number of chunks
|
|
102
|
+
in source buffers.
|
|
103
|
+
citation: "Anderson, 2007"
|
|
104
|
+
|
|
105
|
+
associative_strength:
|
|
106
|
+
equation: "S_ji = S - ln(fan_j)"
|
|
107
|
+
description: >
|
|
108
|
+
Associative strength from source j to chunk i decreases
|
|
109
|
+
logarithmically with the fan of source j.
|
|
110
|
+
citation: "Anderson & Reder, 1999"
|
|
111
|
+
|
|
112
|
+
procedural_memory:
|
|
113
|
+
utility_noise:
|
|
114
|
+
symbol: "sigma (egs)"
|
|
115
|
+
default: 0.0
|
|
116
|
+
range: [0.1, 2.0]
|
|
117
|
+
description: >
|
|
118
|
+
Noise added to production utilities during conflict resolution.
|
|
119
|
+
When 0, the highest-utility production always fires (deterministic).
|
|
120
|
+
Non-zero values introduce stochastic production selection.
|
|
121
|
+
citation: "Anderson, 2007"
|
|
122
|
+
notes: >
|
|
123
|
+
Enable for models of strategy selection, exploration, or
|
|
124
|
+
probability matching behavior.
|
|
125
|
+
|
|
126
|
+
utility_learning_rate:
|
|
127
|
+
symbol: "alpha"
|
|
128
|
+
default: 0.2
|
|
129
|
+
range: [0.01, 1.0]
|
|
130
|
+
description: >
|
|
131
|
+
Learning rate for updating production utilities via reward
|
|
132
|
+
propagation. Higher values produce faster learning but more
|
|
133
|
+
instability.
|
|
134
|
+
citation: "Anderson, 2007"
|
|
135
|
+
notes: >
|
|
136
|
+
Only relevant when utility learning is enabled (:ul t).
|
|
137
|
+
|
|
138
|
+
initial_utility:
|
|
139
|
+
symbol: "U0"
|
|
140
|
+
default: 0.0
|
|
141
|
+
range: "Task-dependent"
|
|
142
|
+
description: >
|
|
143
|
+
Starting utility for new productions. Can be set per production.
|
|
144
|
+
citation: "Anderson, 2007"
|
|
145
|
+
|
|
146
|
+
production_compilation:
|
|
147
|
+
description: >
|
|
148
|
+
Mechanism by which two sequential productions are compiled
|
|
149
|
+
into a single production, modeling skill acquisition and the
|
|
150
|
+
transition from declarative to procedural knowledge.
|
|
151
|
+
citation: "Taatgen & Anderson, 2002"
|
|
152
|
+
notes: >
|
|
153
|
+
Enable with :epl t. Controls the power law of practice.
|
|
154
|
+
|
|
155
|
+
timing:
|
|
156
|
+
production_cycle:
|
|
157
|
+
value_ms: 50
|
|
158
|
+
description: "Time for one production to fire"
|
|
159
|
+
citation: "Anderson, 2007"
|
|
160
|
+
|
|
161
|
+
visual_encoding:
|
|
162
|
+
value_ms: 85
|
|
163
|
+
description: "Time to encode a visual object after attending to it"
|
|
164
|
+
citation: "Anderson, 2007, Ch. 6"
|
|
165
|
+
|
|
166
|
+
visual_attention_shift:
|
|
167
|
+
value_ms: 185
|
|
168
|
+
description: "Time for an attention shift to a new visual location"
|
|
169
|
+
citation: "Anderson, 2007, Ch. 6"
|
|
170
|
+
|
|
171
|
+
motor_initiation:
|
|
172
|
+
value_ms: 50
|
|
173
|
+
description: "Time to initiate a motor movement"
|
|
174
|
+
citation: "Anderson, 2007, Ch. 6"
|
|
175
|
+
|
|
176
|
+
motor_execution:
|
|
177
|
+
value_ms: 100
|
|
178
|
+
description: "Base time for motor execution (Fitts' law scaling applies)"
|
|
179
|
+
citation: "Anderson, 2007, Ch. 6"
|
|
180
|
+
|
|
181
|
+
imaginal_delay:
|
|
182
|
+
value_ms: 200
|
|
183
|
+
description: "Time for the imaginal module to create or modify a chunk"
|
|
184
|
+
citation: "Anderson, 2007, Ch. 4"
|
|
185
|
+
|
|
186
|
+
audio_encoding:
|
|
187
|
+
value_ms: 285
|
|
188
|
+
description: "Time to encode an auditory event"
|
|
189
|
+
citation: "Anderson, 2007, Ch. 6"
|
|
190
|
+
|
|
191
|
+
# Parameter selection heuristics
|
|
192
|
+
guidelines:
|
|
193
|
+
commonly_fixed:
|
|
194
|
+
- "d = 0.5 (base-level decay; Anderson & Schooler, 1991)"
|
|
195
|
+
- "f = 1.0 (latency exponent)"
|
|
196
|
+
- "Production cycle = 50 ms"
|
|
197
|
+
- "Visual/motor timing parameters (unless modeling perceptual tasks)"
|
|
198
|
+
commonly_free:
|
|
199
|
+
- "s (activation noise) -- most commonly freed parameter"
|
|
200
|
+
- "F (latency factor) -- scales predicted RT to observed RT"
|
|
201
|
+
- "tau (retrieval threshold) -- when modeling errors"
|
|
202
|
+
- "S/mas (maximum associative strength) -- for spreading activation models"
|
|
203
|
+
max_recommended_free: 5
|
|
204
|
+
max_recommended_free_source: "Roberts & Pashler, 2000; general modeling best practice"
|