-
Notifications
You must be signed in to change notification settings - Fork 15
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
rewrite experiment protocols to use nested iterators instead of state machine #84
Comments
see also #85 |
I definitely think this would be a good idea. How would you suggest this I like all of the ideas laid out in those other issues and it seems like On Fri Dec 19 2014 at 12:05:50 PM Justin Kiggins [email protected]
|
Marvin has the vision for this rewrite, so I'll defer to him, but based on our conversation earlier... Would the previous block and trial iterators be rewritten as classes to be used/inherited from? Also, how would they replace the state machine? It seems trial.run() would involve one. (as an aside, this might also be good time to look into running a Trial in its own thread. see #14) Would these classes be instantiated in the renewed config file? I think that everyone using this will have trials that can be organized into blocks. That much of the logic can definitely be standardized. Users need room to define and generate blocks (this is what @wohlmp is dealing with currently that motivated this conversation) and room to define and generate trials. |
What is the current status of this update? I'd be interested in helping out but would like to know of any progress in either planning or coding. |
I'm just leaving this here, as it might serve to be useful... |
based on conversation with @MarvinT & @wohlmp, the goal here is to rewrite the basic experiment protocol.
this will involve defining objects to handle Blocks and Trials that we will iterate over. e.g.
importantly, BlockHandler & TrialHandler would be objects maintaining the logic of generating blocks and trials, respectively, from simple generation (e.g. random) to complex generation (e.g. multiple-staircase procedures or switching between tasks depending on past performance)
combined with #83, this should make it way easier to create new behavioral tasks without needing to inherit or rewrite the base experiment logic
further, this should help fix #69 #83 #41
would love thoughts on this from @siriuslee, too
The text was updated successfully, but these errors were encountered: