Skip to content

assume no mixed readouts#89

Open
saumil-sh wants to merge 2 commits into
test-Trialfrom
fix/test-Trial
Open

assume no mixed readouts#89
saumil-sh wants to merge 2 commits into
test-Trialfrom
fix/test-Trial

Conversation

@saumil-sh
Copy link
Copy Markdown
Collaborator

Mixed readouts are unusual for double-blind trials. The simple reason is that if one arm has different number of readouts from the other anyone can tell them apart which defeats the purpose of double-blind. Thus that test and the loop over arm is not required.

@saumil-sh saumil-sh requested a review from mingstat May 5, 2026 09:52
testthat::expect_equal(nrow(snap), 12L)

# 6 globally unique subject IDs
testthat::expect_equal(sort(unique(snap$subject_id)), 1:6)
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On a second thought, maybe better to remove unique from here
so we can check whether each vs times is correctly implemented
i.e. each 1,1,2,2,3,3,4,4,5,5,6,6 vs times 1,2,3,4,4,5,6,1,2,3,4,5,6

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that's a good idea.

@mingstat
Copy link
Copy Markdown
Contributor

The CI checks have failed and need to be fixed.

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