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

Add test case for simulation re-start-ability #57

Open
8 of 12 tasks
jonrkarr opened this issue Sep 23, 2021 · 0 comments
Open
8 of 12 tasks

Add test case for simulation re-start-ability #57

jonrkarr opened this issue Sep 23, 2021 · 0 comments

Comments

@jonrkarr
Copy link
Member

jonrkarr commented Sep 23, 2021

One use case for re-start-ability is co-simulation (e.g., Vivarium). As a pre-requisite, simulation tools need to be re-start-able (i.e., a simulation can be instantiated from the result of a previous step, ideally with all simulation state fed in externally so that global state if a co-simulation could be managed externally).

We already have re-start-ability tests for this most relevant tools:

In addition to tests for individual tools, a test here would be useful.

  • Execute a simulation
  • Compare to
    • Execute the first half of the time course
    • Independently instantiate a second simulation
    • Copy the output of the first simulation to the input to a second simulation
    • Execute the second simulation
    • Check that the end state of the second time course is the same as that of executing the entire time course all at once

This is the test case discussed with @eagmon and @prismofeverything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant