Skip to content

Commit 538b212

Browse files
committed
Update package version
1 parent 736e3b0 commit 538b212

7 files changed

Lines changed: 657 additions & 28 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [1.115.2] - 2026-05-13
2+
3+
### Changed
4+
5+
- Extracted local H5 build-output seams and split US payload postprocessors for focused unit testing.
6+
7+
18
## [1.115.1] - 2026-05-13
29

310
### Changed

changelog.d/969.changed

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/engineering/pipeline-map.md

Lines changed: 97 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,6 @@ Build 51 state + 435 district + 1 city H5 files on Modal workers
512512
| `modal_coord` Modal Coordinator | `external` | `unknown` | `unknown` | |
513513
| `partition` Partition Work | `process` | `unknown` | `unknown` | |
514514
| `worker_s7` Modal Worker Container | `external` | `unknown` | `unknown` | |
515-
| `spm_recalc` SPM Threshold Recalculation | `process` | `unknown` | `unknown` | |
516515
| `takeup_apply` Takeup Re-application | `process` | `unknown` | `unknown` | |
517516
| `out_states` states/*.h5 | `artifact` | `unknown` | `unknown` | |
518517
| `out_districts` districts/*.h5 | `artifact` | `unknown` | `unknown` | |
@@ -538,8 +537,7 @@ Build 51 state + 435 district + 1 city H5 files on Modal workers
538537
- `build_districts` -> `build_h5` `data_flow` (calls)
539538
- `build_cities` -> `build_h5` `data_flow` (calls)
540539
- `build_h5` -> `geo_derive` `data_flow`
541-
- `geo_derive` -> `spm_recalc` `data_flow`
542-
- `spm_recalc` -> `takeup_apply` `data_flow`
540+
- `geo_derive` -> `takeup_apply` `data_flow`
543541
- `modal_coord` -> `worker_s7` `runs_on_infra` (orchestrates)
544542
- `worker_s7` -> `build_h5` `runs_on_infra` (runs)
545543
- `build_states` -> `out_states` `produces_artifact`
@@ -902,6 +900,14 @@ class ArtifactIdentity
902900

903901
Stable identity for an input artifact used by traceability.
904902

903+
### `policyengine_us_data.build_outputs.builder.LocalAreaBuildResult`
904+
905+
```python
906+
class LocalAreaBuildResult
907+
```
908+
909+
In-memory output from building one local H5 area.
910+
905911
### `policyengine_us_data.build_outputs.selection.CloneSelection`
906912

907913
```python
@@ -910,6 +916,14 @@ class CloneSelection
910916

911917
Active clone rows selected for one H5 output.
912918

919+
### `policyengine_us_data.build_outputs.builder.LocalAreaDatasetBuilder`
920+
921+
```python
922+
class LocalAreaDatasetBuilder
923+
```
924+
925+
Coordinate clone selection, reindexing, variable cloning, and postprocessing.
926+
913927
### `policyengine_us_data.build_outputs.source_dataset.EntityGraph`
914928

915929
```python
@@ -950,6 +964,22 @@ def partition_weighted_work_items(work_items: WorkItems, num_workers: int, compl
950964

951965
Partition remaining H5 work across worker chunks.
952966

967+
### `policyengine_us_data.build_outputs.payload.H5Payload`
968+
969+
```python
970+
class H5Payload
971+
```
972+
973+
Period-grouped arrays ready to write to a local-area H5 file.
974+
975+
### `policyengine_us_data.build_outputs.payload.PayloadBuildContext`
976+
977+
```python
978+
class PayloadBuildContext
979+
```
980+
981+
Context available to country-specific local H5 payload postprocessors.
982+
953983
### `policyengine_us_data.build_outputs.source_dataset.PolicyEngineDatasetReader`
954984

955985
```python
@@ -1006,6 +1036,54 @@ class TraceabilityBundle
10061036

10071037
Full provenance record for one local H5 publish scope.
10081038

1039+
### `policyengine_us_data.build_outputs.us_augmentations.USEntityPostProcessor`
1040+
1041+
```python
1042+
class USEntityPostProcessor
1043+
```
1044+
1045+
Apply US entity IDs and calibrated household weights.
1046+
1047+
### `policyengine_us_data.build_outputs.us_augmentations.USEntityPostProcessorResult`
1048+
1049+
```python
1050+
class USEntityPostProcessorResult
1051+
```
1052+
1053+
Payload after US entity ID and household-weight fields are applied.
1054+
1055+
### `policyengine_us_data.build_outputs.us_augmentations.USGeographyPostProcessor`
1056+
1057+
```python
1058+
class USGeographyPostProcessor
1059+
```
1060+
1061+
Apply block-derived US geography overrides.
1062+
1063+
### `policyengine_us_data.build_outputs.us_augmentations.USGeographyPostProcessorResult`
1064+
1065+
```python
1066+
class USGeographyPostProcessorResult
1067+
```
1068+
1069+
Payload after US geography fields are applied.
1070+
1071+
### `policyengine_us_data.build_outputs.us_augmentations.USTakeupPostProcessor`
1072+
1073+
```python
1074+
class USTakeupPostProcessor
1075+
```
1076+
1077+
Apply US take-up draws after entity and geography postprocessing.
1078+
1079+
### `policyengine_us_data.build_outputs.us_augmentations.USTakeupPostProcessorResult`
1080+
1081+
```python
1082+
class USTakeupPostProcessorResult
1083+
```
1084+
1085+
Payload after US take-up fields are applied.
1086+
10091087
### `policyengine_us_data.build_outputs.validation.ValidationContext`
10101088

10111089
```python
@@ -1086,6 +1164,22 @@ class WorkerSessionFactory
10861164

10871165
Build worker-scoped setup from raw inputs or persisted bootstrap facts.
10881166

1167+
### `policyengine_us_data.build_outputs.writer.H5WriteResult`
1168+
1169+
```python
1170+
class H5WriteResult
1171+
```
1172+
1173+
Summary of one H5 write and lightweight verification pass.
1174+
1175+
### `policyengine_us_data.build_outputs.writer.H5Writer`
1176+
1177+
```python
1178+
class H5Writer
1179+
```
1180+
1181+
Write period-grouped local H5 payloads and verify key output counts.
1182+
10891183
### `policyengine_us_data.calibration.promote_local_h5s.stage`
10901184

10911185
```python

0 commit comments

Comments
 (0)