Repository navigation
Conversation
A --scf-education-debt build writes both fit tables under the artifact root, but its release manifest listed neither, so no publish uploaded them. _build_manifests now lists both as diagnostics artifacts exactly when the run staged the SCF education debt, and raises if either file is missing. The loan-type reason adds "consolidated or not", and the fact-to-target doc says the manifest lists both tables. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
I'm closing this in favor of #1545, which David opened first. #1545 writes both tables into the release directory, so the publisher uploads each one under This PR's two other edits, "consolidated or not" in |
DTrim99
added a commit
that referenced
this pull request
Nov 9, 2026
MaxGhenis
added a commit
that referenced
this pull request
Nov 13, 2026
* Publish a --scf-education-debt release's two fit tables The release tool wrote us_scf_education_debt_fit.json and us_scf_education_debt_calibrated_fit.json into its artifacts directory, and the release manifest listed neither, so the publisher left both on the run host. Write them into the release directory and list them as diagnostics artifacts when the build ran with --scf-education-debt, and only then, so the publisher uploads them under releases/<id>/ without --extra-file. A flagged build missing either table fails before it writes a manifest. Route A's publisher call needs no --extra-file; its comment and runbook now say why (#1074, #1357 review). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * Say "consolidated or not" in the loan-type reason and rewrap the Parent PLUS bullet (#1074) The two edits from #1546 that #1545 didn't carry, as the comment closing #1546 suggested. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * Say the build-folder publisher puts the fit tables in the build's folder Since #1571 the US releases publish through microcosm-publish-release-build, which puts each build in releases/<release>/<build>/ and publishes every artifact the release manifest lists. The docs, changelog, builder comment and test docstring said the publisher uploads the tables under releases/<id>/. The builder comment also says a build missing a fit table writes neither manifest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Co-authored-by: Max Ghenis <mghenis@gmail.com>
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.
Follow-up to #1357 (microcosm#1074, the student debt pilot).
A
--scf-education-debtbuild writes two fit tables under the artifact root:us_scf_education_debt_fit.jsonat the pre-calibration weights while it stages the debt, andus_scf_education_debt_calibrated_fit.jsonat the calibrated weights after the solve. Its release manifest listed neither. The publisher uploads only contract files, manifest artifacts and--extra-fileentries, so neither table reached a published release, including the share of households with debt at the weights the release ships.Changes
US_SCF_EDUCATION_DEBT_FIT_ARTIFACTSmaps each table's manifest key to its filename._build_manifests(scf_education_debt_fit=True)lists both tables asdiagnosticsartifacts, and withFalseit lists neither;_mainpassesargs.scf_education_debt. The publisher reads root artifacts from--artifact-root, so a publish uploads both tables beside the H5._REASON_LOAN_TYPE_DOLLARSadds "consolidated or not", as the Calibrate federal student loan balances to Federal Student Aid's portfolio (#1074) #1357 approval suggested. The fact-to-target doc says the manifest lists both tables, and its Parent PLUS bullet rewraps to the doc's width.Invariants
_release_manifest_root_artifactsreports it, so the publisher uploads it from there.FileNotFoundErrornaming the file before it writesrelease_manifest.json.Every non-dry run with the flag writes both tables:
_with_scf_education_debt_stagegets afit_pathwheneverdry_run is None, and the calibrated table follows the solve. A dry run returns before the manifests, so a run never lists a stale table that an earlier attempt left behind.Tests
test_us_fiscal_refresh_builder.pyadds three tests:_mainpassesscf_education_debt_fit=args.scf_education_debt.The tests fail on both mutants I tried, one that never lists the tables and one where
_mainalways passesTrue. Locally, the builder tests and the three test files that read the edited module and doc pass on two workers (405 passed, 8 skipped), andtools/ci_test_plan.py verifypasses. The receipts inexperiments/keep the reason text of the run that wrote them.🤖 Generated with Claude Code