Skip to content

feat: add plugin-mts for Match-to-Sample procedures#3631

Closed
ozp wants to merge 2 commits intojspsych:mainfrom
ozp:claude/create-plugin-01XaLHV1dXLoUGdRzBqqEc2Y
Closed

feat: add plugin-mts for Match-to-Sample procedures#3631
ozp wants to merge 2 commits intojspsych:mainfrom
ozp:claude/create-plugin-01XaLHV1dXLoUGdRzBqqEc2Y

Conversation

@ozp
Copy link

@ozp ozp commented Nov 17, 2025

Create new jsPsych plugin implementing Match-to-Sample (MTS) functionality based on PyMTS (Carvalho, F. C., Regaço, A., & de Rose, J. C., 2023).

Features:

  • SMTS (Simultaneous Matching-to-Sample) and DMTS (Delayed) protocols
  • Visual and auditory sample stimuli support
  • Multiple sample stimuli for contextual stimuli
  • Customizable comparison positioning with randomization
  • Visual and auditory consequence feedback
  • Comprehensive data collection (RT measurements, accuracy)
  • Configurable stimulus sizes, positions, and timing
  • Audio volume control and replay functionality

The plugin is designed for behavioral research on stimulus equivalence and concept learning in psychological experiments.

Create new jsPsych plugin implementing Match-to-Sample (MTS) functionality
based on PyMTS (Carvalho, F. C., Regaço, A., & de Rose, J. C., 2023).

Features:
- SMTS (Simultaneous Matching-to-Sample) and DMTS (Delayed) protocols
- Visual and auditory sample stimuli support
- Multiple sample stimuli for contextual stimuli
- Customizable comparison positioning with randomization
- Visual and auditory consequence feedback
- Comprehensive data collection (RT measurements, accuracy)
- Configurable stimulus sizes, positions, and timing
- Audio volume control and replay functionality

The plugin is designed for behavioral research on stimulus equivalence
and concept learning in psychological experiments.
@changeset-bot
Copy link

changeset-bot bot commented Nov 17, 2025

🦋 Changeset detected

Latest commit: e768f4c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@jspsych/plugin-mts Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Add the @jspsych/plugin-mts for Match-to-Sample procedures.
@jadeddelta
Copy link
Contributor

hey @ozp, appreciate the contribution. wanted to let you know that we currently don't take in plugins into the core repository until we have properly vetted them for long-term maintainability and there is major community support for it- but we strongly encourage you open a PR on jspsych-contrib for us to review in the coming weeks!

@jadeddelta jadeddelta closed this Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants