Skip to content

Adds extra baited metadata - #151

Merged
micahwoodard merged 1 commit into
mainfrom
fix-baited-trials
Aug 19, 2026
Merged

Adds extra baited metadata #151
micahwoodard merged 1 commit into
mainfrom
fix-baited-trials

Conversation

@micahwoodard

Copy link
Copy Markdown
Collaborator

Adds extra metadata to a trial to explicitly determine if a trial is baited or not. Since pipeline checks against auto reward trial to determine p = 1 trials, trials are being falsely labels as non baited in processed data. Fixes #167

@micahwoodard

micahwoodard commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator Author

@arjunsridhar12345 you'll need to update baiting logic here to check

if is_right:
    return trial.metadata.extra.is_right_baited
        
return trial.metadata.extra.is_left_baited

@micahwoodard
micahwoodard merged commit 10cec2d into main Aug 19, 2026
4 checks passed
@micahwoodard
micahwoodard deleted the fix-baited-trials branch August 19, 2026 21:35
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.

2 participants