Repository navigation
Conversation
Pre-registers, before any code and before any re-run, the review-driven changes to the v0.3 checks (R1 verdict with declared coverage, R2 one field convention, R3 exogenous paths against the request, R4 GE target of T3 in the provider convention, V6 split), the new quantities, the re-run design (ii, iii) and the cells expected to differ from v0.2. Plan section 10 gets one line pointing to the new document. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SaLSoFg2N1x4mzFYiwrgVT
- R1: coverage declared by the check (placeholders per setting, income
type and requested shock; res['v0_3']['at'], ['status']), and
checks.v03_verdict: a non-finite, negative or too large value fails
whatever else is missing; a missing value without failure is
"incomplete" (pytest skip), never a pass.
- R2: each V quantity computed from the fields of its own equation
(T5 paths no longer raise KeyError without dB/dC); T3 beta read from
ss_detail; interface.py lists every field the checks read.
- R3: exog_G, exog_r, exog_rshock compare the solved exogenous paths
with the caller's request; the rate rule uses the requested rshock.
- R4: the Werning provider reports ge_target (optional argument,
default asset_mkt, the same variable as the solve) and J_C; V1 judges
the residual of the reported target, the other market is a diagnostic.
- V6 split into V6a (hetinput) and V6b (hetoutput), strict xfail.
- New thresholds by the plan's rule from two unmodified runs of the
candidate (out/thresholds_v0_3_0_run{1,2}.json); the 88 existing ones
are unchanged. Checker regression tests with fake providers in
tests/test_v0_3_0_checker.py. Re-run runner scripts/mutation_v0_3_0.py
(copy of the v0.2 runner with M04 and C03 re-anchored).
- models.py: only ssj_werning_provider (new fields, optional argument,
docstring); no computation changed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SaLSoFg2N1x4mzFYiwrgVT
scripts/mutation_v0_3_0.py --v03-ref a290c75 --design ii iii --jobs 4 --out out/mutation_v0_3_0_rerun (runner committed in B, clean worktree; 2026-10-22 14:52:08 UTC, 53 runs, 1071 s). M04 and C03 re-anchored as registered (amendment, section 3.6). Every run's outcomes and check summaries in the JSON; one row per design x mutant x group in the CSV. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SaLSoFg2N1x4mzFYiwrgVT
…t D) Amendment section 10: re-run of designs (ii) and (iii) on the suite as revised after review. (ii): no cell differs from v0.2 (19/20, N20 missed, no control alarm); (iii): only C03/V changes (2/33 -> 0/37, no alarm, by construction of R4), 25/25. Baselines bit-identical to each other and, in all 276 v0.1 numbers, to v0.1 run B0. Predictions P1-P3 and P5-P8 held; P4 failed at rounding level (T5 goods-market path residuals, up to 2.8e-15 in the refined setting; no outcome affected). New quantities caught nothing on these samples (R1-R3 evidence is the checker regression tests). docs/MUTATION_v0_2.md: two dated corrections (margins recomputed from the data: per-mutant largest factor >= 9.7e3 in (ii), smallest per test 526; "any goods-market solve" narrowed to the observed setting). No data, code, threshold or result changed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SaLSoFg2N1x4mzFYiwrgVT
- Version 0.3.0 in pyproject.toml, CITATION.cff, .zenodo.json and hank_limits.__version__; date-released 2026-10-24. - CITATION.cff keeps the concept DOI and drops the v0.2.1 version DOI (the v0.3.0 version DOI is added after Zenodo archives the release); abstract and .zenodo.json description name the V checks, F3 (shade-econ/sequence-jacobian#41) and the mutation tests. AI-use wording unchanged. - READMEs: title v0.3.0, "unreleased"/"this branch" removed, citation by concept DOI; changelog "v0.2.1 -> v0.3.0" with V1-V6, optional fields, GE target convention, verdict states, the review fixes and the re-run; V3 row with the reference per model; bit-identity limited to the report baselines; "41 passed, 2 xfailed" and section 11 marked as v0.2.1 with a link to out/pytest_output_v0_3_0.txt; Korean README run directory corrected to hank-limits. - out/pytest_output_v0_3_0.txt: 107 passed, 4 xfailed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SaLSoFg2N1x4mzFYiwrgVT
…arget validation - checks._request (deep copy): check_ikc copies shocks_fn(T), declares the expected coverage from that copy before the provider is called, gives the provider a separate copy, and computes residuals, exog_* and the rate rule from its own copy. check_werning keeps its own dr and gives each of the two calls per b a fresh copy; check_tank_limit the same for dr and chis. T1, T4, check_differencing and suite.run_t6 re-read no object a provider receives (amendment, section 11.2). - ge_target that is not a string is outside the convention: V1 not applicable, reason recorded (no TypeError); interface.py wording. - Seven regression tests (tests/test_v0_3_0_checker.py): experiment dropped by the provider -> incomplete; paths doubled in place -> exog_* and rate rule fail; T3 dr doubled in place -> V1 direct fails; T2 dr and chis changed; the caller's objects unchanged; non-string ge_target. All seven failed at ee16305. Full pytest: 114 passed, 4 xfailed. - Amendment: P3 wording (section 5 b_max of the T5 goods-market path is 3.115563e-13 in both threshold runs; "every mutant caught by V" in 10.7), and section 11 with the fix. - Registered before the re-run (section 11.6): designs (ii) and (iii) at this commit are predicted to give the same test outcomes and group cells as commit C in all 53 runs, 276 v0.1 numbers equal to v0.1 B0, and the same summarised numbers except rounding-level T5 goods-market path residuals and the known two-valued v0.1 number. Comparison script scripts/rerun_v0_3_0_F_compare.py. - README test counts; out/pytest_output_v0_3_0.txt regenerated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SaLSoFg2N1x4mzFYiwrgVT
…son with commit C Results in amendment section 11.6 (registered prediction committed with 361143c before the run): - Test outcomes and group cells identical to commit C in all 53 runs; the 7 new checker tests pass in every run; (ii) 19/20, N20 missed, (iii) 25/25, no control alarm. - Baselines: B1 has all 276 v0.1 numbers equal to v0.1 B0; in B0 the known two-valued number took its v0.1-B1 value (275 equal B0). The prediction failed in that one number. - 182 summarised numbers in 31 runs differ at rounding level: 138 T5 goods-market path residuals and 20 two-valued numbers (exempted), and 24 T5 walras_max values in 9 mutant runs (<= 3.4e-11 relative), not exempted. By the registered rule the raw outputs are committed as out/mutation_v0_3_0_rerun_F.{json,csv}; out/rerun_v0_3_0_F_compare.json lists every difference and the execution record. - Section 11.7 corrects 10.4: the v0.1 summaries of mutant runs also differ between v0.2 and commit C (34 numbers in 21 runs: 16 two-valued, 18 walras_max, <= 3.4e-11); 10.4 had checked only the baselines there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SaLSoFg2N1x4mzFYiwrgVT
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.
Release candidate for v0.3.0, from
mainat281de19. It addresses the P2 items (R1–R4) and P3 documentation items of the pre-release review of 2026-10-22, adds the release metadata, and fixes the P2 defect found in the pre-merge check of 2026-10-23. Not to be merged by this session; the tagv0.3.0and the GitHub Release (Zenodo DOI) are left to the maintainer.Commits (in order, each pushed separately)
471fc47docs/CHECKS_v0_3_0_AMENDMENT.md: design of R1–R4 and V6, new quantities, re-run design, predicted changes against v0.2. Written before any code. One line in section 10 of the plan.a290c75ad1857dout/mutation_v0_3_0_rerun.{json,csv}(designs ii and iii, 53 runs)e946733docs/MUTATION_v0_2.mdee16305CITATION.cff,.zenodo.json, READMEs,out/pytest_output_v0_3_0.txt361143cge_targetvalidation, 7 regression tests, P3 wording, amendment section 11 with the re-run prediction registered before the run8c1d2b7361143c, compared with commit C; raw outputsout/mutation_v0_3_0_rerun_F.{json,csv}; correction of 10.4 (section 11.7)What changed
R1, verdict. The check declares its coverage: expected values per setting, income type and requested shock, recorded in
res['v0_3']['at']and['status'].checks.v03_verdictthen decides each V test:R2, one field convention. Each V quantity uses only the fields of its own equation, and
interface.pylists every field the checks read.R3, requested shocks.
exog_G,exog_randexog_rshockcompare the solved exogenous paths with the request, and the rate rule uses the requested rshock.R4, GE target of T3. The Werning provider reports
ge_target(from the same variable that is passed to the solve) andJ_C. V1 judges the residual of the reported target. Age_targetthat is not a string is now outside the convention: V1 does not apply, and the reason is recorded.Pre-merge P2, request objects.
check_ikc,check_werningandcheck_tank_limitused to read again theshocks,drandchisthey had passed to the provider. A provider that dropped an experiment or scaled a path in place therefore changed what it was compared with. Now:T1, T4,
check_differencingandsuite.run_t6were checked; none re-reads such objects.V6 is split into V6a (hetinput) and V6b (hetoutput), both strict xfail, SSJ code only.
Conditions kept
CHECKS_PLAN_v0_3.md(one line in section 10 only),MUTATION_PLAN_v0_1.md,MUTATION_v0_1.md,scripts/mutation_v0_1.py,scripts/mutation_v0_2.py,out/mutation_v0_1.*,out/mutation_v0_2.*. Exceptions: the two dated corrections indocs/MUTATION_v0_2.md. Commit C'sout/mutation_v0_3_0_rerun.*are not overwritten.core.pyis unchanged. Inmodels.py, onlyssj_werning_providerchanged: new fields, an optional argument whose default is the previous behaviour, and the docstring.Results
walras_maxvalues in 9 mutant runs, at most 3.4e-11 relative;scripts/mutation_v0_3_0.py.🤖 Generated with Claude Code
https://claude.ai/code/session_01SaLSoFg2N1x4mzFYiwrgVT