Skip to content

Conversation

@se-jaeger
Copy link
Member

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 and ErrorMechanisms. This way, everything is still deterministic but the errors are distributed over the entire table and not clumped together in certain rows.

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>
Copy link
Contributor

@chandlerNick chandlerNick left a 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.

Copy link
Contributor

@chandlerNick chandlerNick left a 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.

@se-jaeger se-jaeger merged commit 5b34466 into main Dec 17, 2025
34 checks passed
@se-jaeger se-jaeger deleted the fix_seed_issue branch December 17, 2025 08:47
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.

3 participants