-
Notifications
You must be signed in to change notification settings - Fork 530
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
Pyomo.DoE: Corrected initialization when using only lower diagonal of FIM #3532
base: main
Are you sure you want to change the base?
Conversation
@djlaky Check this out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will never not love that "jitter" is a real academically used term. This looks good but I suggest adding a test to ensure behavior.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with Miranda about adding a test but otherwise this looks fine.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3532 +/- ##
=======================================
Coverage 88.70% 88.70%
=======================================
Files 888 888
Lines 102024 102037 +13
=======================================
+ Hits 90505 90517 +12
- Misses 11519 11520 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
jitter = the FIM is not awake yet and needs some coffee ;) I'll work on a test |
… question that we should probably have some extra error checking
TODO:
|
Still need to check the tests work
TODO:
|
I have one test failing on my local machine with the message:
Any insights are appreciated. I'm concerned that even if this passed with GitHub Actions, I am introducing a fragile test. |
@jsiirola @blnicho @mrmundt Any ideas on how to debug this test? Here is the output:
Here is the output error message:
Here is the expected error message:
I compared these side-by-side in a text editor, and they look identical to me. I did not try to text difference them. |
@adowling2 - I would guess this is some odd Python formatting problem (e.g., it might not be a direct str-to-str comparison like it appears). If you try to change the regex to something like:
Does it still fail? If so, then there is something wonky with the way the specific value is being formatted. |
@adowling2: |
I should have realized that 😥 Thank you! |
I'm fairly new to
|
Here is the output for the failed Windows/3.12 test:
|
@adowling2, the |
Fixes # .
Summary/Motivation:
Changes proposed in this PR:
Legal Acknowledgement
By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution: