Balanced block design gets reshuffled in ccr test.
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 230
- Forks
- 61
- PR merge metrics
- No merged PRs in 30d
Description
I went to run a ccr study with 20 conditions using "balanced block" design. It correctly created the number of rows with 20 columns and looked to be correctly putting the 20 conditions in each row. Then before it is finished creating the dataframe it shuffles everything. This returns the same result as "random" and should be fixed. I can fix this when I have time this week.
The offending line is 382 in create_input.py
random.shuffle(full_trappings)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in create_input.py at line 382 and trace how the balanced block design builds full_trappings before the dataframe is completed. Run a CCR study with 20 conditions and compare its output with the random design; done means balanced block output is no longer reshuffled into the random result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100