-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Making Dynamical Systems Tests Reparametrizeable (#554)
* starting to switch to more general, hookable parametrization of dynamics tests. * slight adjustment to grouping of parametrize args. * modifies parametrizations to group dependent arguments in tuples, allowing outside test reparams to know what must be reparametrized together. * fixes simulate_kwargs not being to simulate * refactors fixtures for more straightforward construction of mock closures on the chirho_diffeqpy side * separates out test sir param prior. * parametrizes solver in noop interruptions tests. * parametrizes by solver for static_observation. * moves model definition outside of test so it can be reparametrized * parametrizes solver in static interventions test, adjusts tolerance of state match check to match diffeqpy default tolerances. * parametrizes dynamic intervention tests, makes more generic array like gather implementation. * adds additional preliminary assertions to check trajectory length mismatch * lints * further linting * reverts modularization of gather. * parametrizes test_handler_composition * reverts tolerance loosening * lints * resolves pr change requests.
- Loading branch information
Showing
8 changed files
with
320 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.