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

Blendnet simulation is not deterministic #62

Open
youngjoon-lee opened this issue Dec 12, 2024 · 0 comments
Open

Blendnet simulation is not deterministic #62

youngjoon-lee opened this issue Dec 12, 2024 · 0 comments
Assignees

Comments

@youngjoon-lee
Copy link
Contributor

youngjoon-lee commented Dec 12, 2024

If I run the simulation twice with the exactly same configurations, the order of messages generated is different.
This is reproducible at the current master: 8ef0adc.

I attached two log files to see diff.
log1.txt
log2.txt
Image

The configuration used is also attached.
blendnet.json

If you run the simulation simply just twice, you can see differences.

cargo run --release -- --input-settings config/blendnet.json | grep Message > log1.txt
cargo run --release -- --input-settings config/blendnet.json | grep Message > log2.txt

Find code that doesn't use Rng, or anything that causes non-deterministic results.

@youngjoon-lee youngjoon-lee self-assigned this Dec 12, 2024
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

No branches or pull requests

1 participant