Skip to content

Commit c0355e5

Browse files
committed
Update publication candidate
1 parent 2b25c19 commit c0355e5

7 files changed

Lines changed: 17 additions & 10 deletions

File tree

changelog.d/1030.fixed.md renamed to .github/publication_candidates/usdata-gha26129551663-a1/changelog.d/1030.fixed.md

File renamed without changes.

changelog.d/1033.added renamed to .github/publication_candidates/usdata-gha26129551663-a1/changelog.d/1033.added

File renamed without changes.

changelog.d/1052.changed renamed to .github/publication_candidates/usdata-gha26129551663-a1/changelog.d/1052.changed

File renamed without changes.

changelog.d/1055.changed renamed to .github/publication_candidates/usdata-gha26129551663-a1/changelog.d/1055.changed

File renamed without changes.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"base_release_version": "1.115.4",
3+
"candidate_scope": "1.115.4-minor",
4+
"release_bump": "minor",
5+
"run_id": "usdata-gha26129551663-a1",
6+
"would_release_as_at_build_time": "1.116.0"
7+
}

.github/publication_scope.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"base_release_version": "1.115.4",
3-
"candidate_scope": "1.115.4-patch",
4-
"release_bump": "patch",
5-
"run_id": "usdata-gha26114675029-a1",
6-
"would_release_as_at_build_time": "1.115.5"
3+
"candidate_scope": "1.115.4-minor",
4+
"release_bump": "minor",
5+
"run_id": "usdata-gha26129551663-a1",
6+
"would_release_as_at_build_time": "1.116.0"
77
}

docs/generated/pipeline_api.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"docstring": "Set 2025 ACA take-up to match APTC enrollment targets.",
44
"id": "aca_2025_override",
55
"kind": "function",
6-
"line": 403,
6+
"line": 404,
77
"metadata": {
88
"api_refs": [
99
"policyengine_us_data.datasets.cps.enhanced_cps.create_aca_2025_takeup_override"
@@ -722,7 +722,7 @@
722722
"docstring": "",
723723
"id": "calibration_diagnostics",
724724
"kind": "function",
725-
"line": 1147,
725+
"line": 1144,
726726
"metadata": {
727727
"api_refs": [
728728
"policyengine_us_data.calibration.unified_calibration.compute_diagnostics"
@@ -1086,7 +1086,7 @@
10861086
"docstring": "Fit L0-regularized calibration weights.\n\nArgs:\n X_sparse: Sparse matrix (targets x records).\n targets: Target values array.\n lambda_l0: L0 regularization strength.\n epochs: Training epochs.\n device: Torch device.\n verbose_freq: Print frequency. Defaults to 10%.\n beta: L0 gate temperature.\n lambda_l2: L2 regularization strength.\n learning_rate: Optimizer learning rate.\n log_freq: Epochs between per-target CSV logs.\n None disables logging.\n log_path: Path for the per-target calibration log CSV.\n target_names: Human-readable target names for the log.\n initial_weights: Pre-computed initial weights. If None,\n computed from targets_df age targets.\n targets_df: Targets DataFrame, used to compute\n initial_weights when not provided.\n target_groups: Optional group ID per target row for balanced loss.\n resume_from: Path to a `.checkpoint.pt` file or `.npy`\n weights file to continue fitting from.\n checkpoint_path: Where to save resumable fit checkpoints.\n\nReturns:\n Weight array of shape (n_records,).",
10871087
"id": "fit_model",
10881088
"kind": "function",
1089-
"line": 791,
1089+
"line": 788,
10901090
"metadata": {
10911091
"api_refs": [
10921092
"policyengine_us_data.calibration.unified_calibration.fit_l0_weights"
@@ -1264,7 +1264,7 @@
12641264
"docstring": "Compute population-based initial weights from age targets.\n\nFor each congressional district, sums person_count targets where\ndomain_variable == \"age\" to get district population, then divides\nby the number of columns (households) active in that district.\n\nArgs:\n X_sparse: Sparse matrix (targets x records).\n targets_df: Targets DataFrame with columns: variable,\n domain_variable, geo_level, geographic_id, value.\n\nReturns:\n Weight array of shape (n_records,).",
12651265
"id": "init_weights",
12661266
"kind": "function",
1267-
"line": 712,
1267+
"line": 709,
12681268
"metadata": {
12691269
"api_refs": [
12701270
"policyengine_us_data.calibration.unified_calibration.compute_initial_weights"
@@ -3091,7 +3091,7 @@
30913091
"docstring": "",
30923092
"id": "reweight",
30933093
"kind": "function",
3094-
"line": 486,
3094+
"line": 487,
30953095
"metadata": {
30963096
"api_refs": [
30973097
"policyengine_us_data.datasets.cps.enhanced_cps.reweight"
@@ -3123,7 +3123,7 @@
31233123
"docstring": "Run unified calibration pipeline.\n\nArgs:\n dataset_path: Path to CPS h5 file.\n db_path: Path to policy_data.db.\n n_clones: Number of dataset clones.\n lambda_l0: L0 regularization strength.\n epochs: Training epochs.\n device: Torch device.\n seed: Random seed.\n domain_variables: Filter targets by domain variable.\n hierarchical_domains: Domains for hierarchical\n uprating + CD reconciliation.\n skip_takeup_rerandomize: Skip takeup step.\n skip_source_impute: Skip ACS/SIPP/SCF imputations.\n target_config: Parsed target config dict.\n target_config_path: Path to target config, for provenance.\n build_only: If True, save package and skip fitting.\n package_path: Load pre-built package (skip build).\n package_output_path: Where to save calibration package.\n beta: L0 gate temperature.\n lambda_l2: L2 regularization strength.\n learning_rate: Optimizer learning rate.\n log_freq: Epochs between per-target CSV logs.\n log_path: Path for per-target calibration log CSV.\n resume_from: Path to a checkpoint or weights file to\n continue fitting from.\n checkpoint_path: Where to save resumable fit checkpoints.\n chunked_matrix: Build matrix in clone-household chunks.\n chunk_size: Clone-household columns per chunk.\n chunk_dir: Directory for chunked COO/H5 artifacts.\n keep_chunks: Keep temporary chunk H5 files.\n resume_chunks: Reuse existing chunk COO files.\n\nReturns:\n (weights, targets_df, X_sparse, target_names, geography_info)\n weights is None when build_only=True.\n geography_info is a dict with cd_geoid and base_n_records.",
31243124
"id": "run_calibration",
31253125
"kind": "function",
3126-
"line": 1273,
3126+
"line": 1270,
31273127
"metadata": {
31283128
"api_refs": [
31293129
"policyengine_us_data.calibration.unified_calibration.run_calibration"

0 commit comments

Comments
 (0)