Skip to content

[Feature Request] Cross-Simulation Test Suite? #101

Description

@emstruong

Hi Phil,

I think this would be a lot of work, but I'd like to request that perhaps the test suite should have multiple simulation studies that run through: (1) single core runSimulation; (2) parallelrunSimulation; (3) single core runArraySimulation; and (4) parallel runArraySimulation.

I think this is help to make sure that the simulation results are bit-identical regardless of which path you take. Perhaps there is a clever way to write this test code by use of function factories

I mention this because:

  1. In my fork, I asked Claude to leverage the latest future and mirai features to enable load-balancing. Such that every parallel core is always doing something within a Design condition, instead of running it in waves. I believe this should improve simulation completion times substantially.
  2. It's just helpful to have a strong test suite because it helps block out potential bugs and ensures correctness. The upfront investment makes aggressive downstream refactorings and changes easier to accept.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions