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

Increase robustness of constrained refinement test #2367

Merged
merged 4 commits into from
Mar 13, 2023

Conversation

dagewa
Copy link
Member

@dagewa dagewa commented Mar 11, 2023

This test occasionally fails in the CI. The tolerance was increased in #2343, but there are still some failures in PR test runs. This change switches off outlier rejection (which is irrelevant for what is being tested) in a further effort to ensure the test is deterministic.

dagewa and others added 4 commits March 11, 2023 21:21
Constraining the "Dist" parameter only ensures a constrained
distance when the Tau2, Tau3 (tilt and twist) parameters are
fixed. With that, the tolerance can be tightened again.
@dagewa
Copy link
Member Author

dagewa commented Mar 11, 2023

A further, more fundamental, fix is to fix the Tau2 and Tau3 ("tilt" and "twist") parameters during refinement, because a constraint in the Dist parameter need not actually result in a constrained distance along the detector normal if that detector was also allowed to rotate out of plane.

@codecov
Copy link

codecov bot commented Mar 12, 2023

Codecov Report

Merging #2367 (1759009) into main (fe14188) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head 1759009 differs from pull request most recent head 2fda865. Consider uploading reports for the commit 2fda865 to get more accurate results

@@           Coverage Diff           @@
##             main    #2367   +/-   ##
=======================================
  Coverage   82.83%   82.84%           
=======================================
  Files         593      593           
  Lines       68602    68601    -1     
  Branches     9222     9222           
=======================================
+ Hits        56827    56830    +3     
+ Misses       9657     9654    -3     
+ Partials     2118     2117    -1     

@dagewa dagewa merged commit 7543f12 into main Mar 13, 2023
@dagewa dagewa deleted the test_constrained_refinement-robustness branch March 13, 2023 08:34
dagewa added a commit that referenced this pull request Mar 13, 2023
* Switch off outlier rejection to try to make a test more deterministic

* Constraining the "Dist" parameter only ensures a constrained
distance when the Tau2, Tau3 (tilt and twist) parameters are
fixed. With that, the tolerance can be tightened again.
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.

None yet

2 participants