Skip to content
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

Re-implement experimentSummary #30

Closed
shippy opened this issue Mar 17, 2017 · 4 comments
Closed

Re-implement experimentSummary #30

shippy opened this issue Mar 17, 2017 · 4 comments

Comments

@shippy
Copy link
Contributor

shippy commented Mar 17, 2017

Will be very easy after implementing #29.

@shippy shippy added this to the Fix regressions milestone Mar 17, 2017
@shippy shippy added the feature label Mar 17, 2017
@shippy
Copy link
Contributor Author

shippy commented Mar 17, 2017

  • Map the combination of probability and ambiguity onto a bag number.
  • Map .colors onto which color wins.
  • Map .choice / .choseLottery to text
  • Do all this in a blockNum-by-blockLen struct array and save it into Data.Summary

@shippy
Copy link
Contributor Author

shippy commented Mar 17, 2017

Edit: bag number maps onto a combination of probability, ambiguity and winning color? Still a job for a lookup table.

@shippy
Copy link
Contributor Author

shippy commented Mar 17, 2017

Realization: there's no need to save all this in a struct. We can look it up perfectly well by getting blockId, trialId -- in fact, this does one better than the old version, since there's no need to convert drawn blockId to within-block-kind blockId.

@shippy
Copy link
Contributor Author

shippy commented Mar 17, 2017

experimentSummary might not be a good name for this function - trialSummary? - but fixing that can wait until #39.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant