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

Uniform sampling is not deterministic with default seed #44

Open
h3ssto opened this issue Dec 20, 2024 · 0 comments
Open

Uniform sampling is not deterministic with default seed #44

h3ssto opened this issue Dec 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@h3ssto
Copy link

h3ssto commented Dec 20, 2024

jhipster-dimacs.zip

Steps to reproduce:

  1. ./ddnnife -i jhipster.dimacs --save-ddnnf jhipster.nnf
  2. ./ddnnife -i jhipster.nnf -o jhipster.sample urs -n 16384

This will typically yield a sample that contains 12,215 unique configurations, but occasionally (~1 in 50) a sample with 12,209 unique configurations. As the documentation (./ddnnife urs -h) specifies that the seed defaults to 42, this behavior is unexpected.

@SundermannC SundermannC added the bug Something isn't working label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants