Open
Conversation
Collaborator
Author
alexpiet
reviewed
Oct 27, 2025
src/foraging_gui/MyFunctions.py
Outdated
| else: | ||
| self.CurrentAutoRewardTrial = [0, 0] | ||
| elif self.bias_AutoWater != [0, 0]: # auto water due to bias | ||
| np.logical_or(self.bias_AutoWater, self.CurrentAutoRewardTrial) |
Collaborator
There was a problem hiding this comment.
Are you setting the output of this logical_or to a variable?
Collaborator
Author
There was a problem hiding this comment.
oh nice catch I meant to set to CurrentAutoRewardTrial
Collaborator
|
@micahwoodard it seems good to me, but I haven't tested it. Its been such a long time since I looked at this part of the code, I don't have much confidence in my review |
Collaborator
|
No apparent issues from my side. @XX-Yin could you please check if the new logic Micah implemented is compatible with our previous autowater algorithm? @micahwoodard is it possible to use the simulation functionality (with some bias) to test it out? |
Collaborator
|
@micahwoodard @hanhou I haven’t caught up on this thread yet, but the simulation functionality should be working. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request instructions:
Describe changes:
What issues or discussions does this update address?
Describe the expected change in behavior from the perspective of the experimenter
Describe any manual update steps for task computers
Was this update tested in 446/447?
Does this update impact downstream processing by adding new saved files, or changing their format? If so, have you documented changes?