Testing, Configuring, and Debugging

Last updated on 6th May 2024

Unit tests

The Simudyne SDK comes with an integrated TestKit for isolating and testing agent behaviors and interactions in a controlled environment.

More information can be found in TestKit.

Configuring

Model configuration can be done through a file or directly within the code. Model configuration files allow for the adjustment of parameters or conditions without the need to recompile the code.

More information can be found in Configuration.

Debugging

Debugging in the Simudyne SDK is made easier with the built-in console layer. This layer is designed to provide the modeller with a dashboard to validate that the agents, and the system are behaving as expected.

The ability to rapidly expose variables and statistics to the console are essential in ensuring that the observed behavior matches the expected results.

Determinism is another factor that will impact the repeatability of an experiment. The Simudyne SDK uses atomic logging, and a configurable determinism health check to ensure determinism in a model.

Models run using the determinism health check will go through a pre-simulation phase to check for divergence and log the tick and component where the divergence has occurred.

More on the atomic logging and determinism can be found in Atomic Debug Logging and Determinism.