Skip to content

Random reward #1267

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 203 commits into
base: develop
Choose a base branch
from
Open

Random reward #1267

wants to merge 203 commits into from

Conversation

XX-Yin
Copy link
Collaborator

@XX-Yin XX-Yin commented Jan 2, 2025

Pull Request instructions:

  • Please follow the update protocol
  • Answer the questions below in detail. Your responses will be emailed to experimenters.
  • If the experimenters must do anything new, provide detailed step by step instructions on the wiki
  • If computer maintainers need to manually update anything, provide detailed step by step instructions
  • Use markdown syntax in order for your comments to be rendered reliably in the email: "1." instead of "1)", use four spaces for indents.
  • If you use the keyword "skip email" in the title, it will skip the email updates
  • Merges from "develop" into "production_testing" should use the keyword "production merge" in the title for reliable indexing of updates
  • Merges from "production_testing" into "main" should use the keyword "update main"

Describe changes:

  • Random Reward Function:
    Implements a mechanism to deliver rewards based on random scheduling, adding variability to the experimental paradigm.

  • Dual Lick Spouts Support:
    Allows configuration of two separate lick spouts, each with its own reward volume setting.

  • Configurable Inter-Reward Interval:
    Supports defining inter-reward intervals using either an exponential or even distribution.

  • Reward Collection Check:
    When enabled, ensures that the next trial will only begin once the current reward has been collected, preventing premature trial progression.

  • Data Save:
    Data including parameters used in each trial, reward timestamps, and metadata will be saved.

image

What issues or discussions does this update address?

Adding a new random reward function

Describe the expected change in behavior from the perspective of the experimenter

No

Describe any manual update steps for task computers

No

Was this update tested in 446/447?

This branch has been tested by @bwtan-allen Megan and Anna on the ephy rig 1 for several weeks.

@XX-Yin
Copy link
Collaborator Author

XX-Yin commented Mar 21, 2025

@micahwoodard @hanhou @alexpiet This is ready for review. This PR is built on #1265, so the preferred review order is after #1265.

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.

1 participant