fix: make CE entity generation deterministic when seeded#117
Merged
ake2l merged 3 commits intodevelopmentfrom Oct 5, 2025
Merged
fix: make CE entity generation deterministic when seeded#117ake2l merged 3 commits intodevelopmentfrom
ake2l merged 3 commits intodevelopmentfrom
Conversation
- rework RNG plumbing across person, insurance, finance, public-sector generators so seeded runs replay deterministically while unseeded runs stay random - expand CE datasets (countries, ecommerce currencies, product vocab, shipping/payment tables) for ES/FR/GB coverage and align integration descriptors with new data - rebuild CE integration suite around local descriptors (no EE references) and add reproducibility assertions with rngSeed fixtures - add regression tests ensuring unseeded generators still emit varied data and “other” gender nobility titles remain strings - clean up Faker RNG wiring, bank currency sampling, and adapter services to satisfy mypy/ruff and keep tasks deterministic - document WHY blocks in descriptors/scripts for future maintainers and seed ledger helper for deterministic finance scripts - verified with `uv run pytest -q tests_ce/integration_tests/test_entity`, `uv run pytest tests_ce/unit_tests/test_generator/test_person_generator_randomness.py`, and `mypy datamimic_ce`
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



uv run pytest -q tests_ce/integration_tests/test_entity,uv run pytest tests_ce/unit_tests/test_generator/test_person_generator_randomness.py, andmypy datamimic_ce