Add experimental UK firm generator#223
Merged
Merged
Conversation
99428fc to
243b47f
Compare
243b47f to
a1491e8
Compare
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.
Summary
populace.build.uk_runtimeuk_firm_source_data_from_ledger_facts, which consumes Ledger/Arch consumer facts from theuk_firmstarget profile and reshapes them into the temporary firm-generator matrix contractLedger dependency
policyengine_ledger.target_profiles/uk_firms.jsonTests
uv run ruff check packages/populace-build/src/populace/build/uk_runtime/firm_generation.py packages/populace-build/tests/test_uk_firm_generation.py packages/populace-build/README.mduv run python -m pytest packages/populace-build/tests/test_uk_firm_generation.pyarch-data#67, rebuilt 88 ONS turnover rows, 88 ONS employment rows, 88 HMRC sector rows, and generated ~2.946M firm rows with a 4-iteration calibrationReview cycle
data_vintagetarget selection, and exact zero-turnover allocation