Skip to content

Relax test tolerance for summary.simtrial_gs_wlr() #329

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

Merged
merged 1 commit into from
May 16, 2025

Conversation

jdblischak
Copy link
Collaborator

Closes #328

Some minor numerical differences (on the order of 1e-7) were introduced by Merck/gsDesign2#528. If these can be safely ignored, this PR fixes the tests by relaxing the tolerance to 1e-6.

@nanxstats
Copy link
Collaborator

I guess "code optimization" means one should expect the results to be bitwise reproducible? It might be useful to know what caused the difference here because it may or may not indicate bigger problems in either the original implementation or the optimized code.

Copy link
Collaborator

@LittleBeannie LittleBeannie left a comment

Choose a reason for hiding this comment

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

Thanks, @jdblischak!

@LittleBeannie LittleBeannie merged commit 9d98639 into Merck:main May 16, 2025
9 checks passed
@jdblischak jdblischak deleted the summary-tolerance branch May 16, 2025 14:24
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.

Tests failing with dev version of {gsDesign2}
3 participants