-
Notifications
You must be signed in to change notification settings - Fork 0
Fix Issue where High-Level API using ECAR with Given Seed Generated all Errors in the Same Columns #23
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
Conversation
Signed-off-by: Sebastian Jäger <git@sebastian-jaeger.me>
Signed-off-by: Sebastian Jäger <git@sebastian-jaeger.me>
…ored rows for ECAR. Signed-off-by: Sebastian Jäger <git@sebastian-jaeger.me>
Signed-off-by: Sebastian Jäger <git@sebastian-jaeger.me>
Signed-off-by: Sebastian Jäger <git@sebastian-jaeger.me>
chandlerNick
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we discussed the usage of a generator vs a random seed in March for the lines 257/258 in high_level.py (the source of the mypy errors) and decided that it would be fine to use the overall seed.
Also maybe pin the versions of the dependencies in the pyproject.toml as to not let pandas continue updating while tab-err may stay still.
The checks and actions need to pass before I can approve.
Signed-off-by: Sebastian Jäger <git@sebastian-jaeger.me>
db0bae8 to
344b4a5
Compare
chandlerNick
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, the versions are fine and the change to the random generator is sensible. All tests pass so I approve.
The proposed fix to the above mentioned issue uses the given seed to setup a random generator, which is used to sample seeds for
ErrorTypes andErrorMechanisms. This way, everything is still deterministic but the errors are distributed over the entire table and not clumped together in certain rows.