-
Notifications
You must be signed in to change notification settings - Fork 6
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
writing test for calibrate with data mapped to observables #450
writing test for calibrate with data mapped to observables #450
Conversation
@sabinala , I see that you requested my review, but the test is marked as |
@SamWitty sorry, I should have just messaged you on here instead of requesting your review! My intention was to ask that you take a look at this and let me know what I can do to fix it so that the tests pass. |
Changing `@pytest.skip` to `@pytest.skip("Message")`
Changing @pytest.skip to @pytest.mark.skip
@sabinala , with my changes to the linter is this now ready for review? |
@SamWitty yes, and thank you for making those changes! |
…a-is-mapped-to-observables
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.
@sabinala, looks good, but this can be made simpler and reduce redundant tests. See comments.
@SamWitty I removed the test, but kept everything else. |
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.
Apologies, I just noticed another minor issue that I didn't notice previously.
…a-is-mapped-to-observables
Deleting unstable `DATA_PATH2` and changing to `DATA_PATH`
@SamWitty once this PR (DARPA-ASKEM/simulation-integration#68) is merged, this PR #450 should be good to go |
Turns out that I have permissions to approve PRs on |
@SamWitty oh noooooooo! One of these tests isn't passing. It looks like an error from |
There's a lot of randomness in the tests, and sometimes they fail. It's very challenging to test algorithms that are fundamentally random. I just rerun failing tests. |
This PR adds a test to make sure that
calibrate
works when data is mapped to observables, rather than state variables (in which case the test should be skipped).Closes #439
(Note that this doesn't solve the issue, just creates a test to address it! See Issue #447 for the fix)