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

chore: ensuring simulations are deterministic in tests #282

Merged
merged 8 commits into from
Nov 26, 2024

Conversation

tkchouaki
Copy link
Collaborator

This PR just adds some testing in the core module to ensure running the same simulation twice produces the same plans. The test do not cover the output events, but we noticed that two events file from a same simulation differ only in the order in which some events are written in some steps.
To ensure that the tests pass here, the MATSim version is updated to a PR that fixes a determinism issue with SwissRailRaptor.

@tkchouaki
Copy link
Collaborator Author

@sebhoerl I had to add a line in RunInsertVehicles because MATSim's vehicle writer wants a networkMode.

@tkchouaki tkchouaki requested a review from sebhoerl November 22, 2024 14:13
@tkchouaki tkchouaki merged commit 678fbb0 into develop Nov 26, 2024
1 check passed
@tkchouaki tkchouaki deleted the fix/deterministicSimulations branch November 26, 2024 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants