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

Fix behavior for regimen::ii() #1170

Merged
merged 2 commits into from
Feb 9, 2024
Merged

Fix behavior for regimen::ii() #1170

merged 2 commits into from
Feb 9, 2024

Conversation

kylebaron
Copy link
Collaborator

@kylebaron kylebaron commented Feb 9, 2024

See #1169 for details. This PR changes regimen::ii() to just just update the dose interval, with no other fancy tricks. Look at the working example in #1169; I think that's what we want.

I put a note in the tests that I took the cutoffs for those tests from looking at a plot of the profile. The plot looks right to me. The tests check that the pattern we get is what we'd expect from the model code. But the exact cutoffs aren't obvious.

@kyleam I'd like to send this through as a hotfix if possible. As for general reliability, I've been kicking the tires for several hours on this working up a blog post and no other surprises found.

@kylebaron kylebaron requested a review from kyleam February 9, 2024 06:19
Copy link
Contributor

@kyleam kyleam left a comment

Choose a reason for hiding this comment

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

Look at the working example in #1169; I think that's what we want.

Thanks, those comparison plots are very helpful.

@kylebaron kylebaron merged commit 2b76d0c into main Feb 9, 2024
@kylebaron kylebaron deleted the fix/regimen-ii branch February 9, 2024 21:38
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