Skip to content

W5b-15: two cleanups on main - #56

Merged
bnsd55 merged 1 commit into
mainfrom
w5b-15-cleanups
Sep 19, 2026
Merged

bnsd55 merged 1 commit into
mainfrom
w5b-15-cleanups

Conversation

@bnsd55

@bnsd55 bnsd55 commented Sep 19, 2026

Copy link
Copy Markdown
Owner

Two leftovers from #50, minimal diff (coder3 is rebasing #51 in the multi block):

  1. reconcile_case_constraints takes a REQUIRED positional CompiledConstraints — the None branch with the lazy inline compile_constraints() fallback is deleted (a dual path). The caller (run_parallel_generation) compiles once per request and passes the compiled object through.

  2. No handles in the public repo — all 8 coder[0-9] hits rewritten (CHANGELOG.md, tests/test_timing.py, tests/test_engine.py, engine.py ×3, timing.py ×2) to describe the work without the handle; coordination-only phrasing dropped. git grep -nE 'coder[0-9]' -- '*.py' '*.md' → 0 hits.

669 passed, 21 deselected; ruff check + format clean.

1. reconcile_case_constraints takes a REQUIRED positional
   CompiledConstraints — the None branch with the lazy inline
   compile_constraints() fallback is deleted (a dual path). The caller
   (run_parallel_generation) compiles once per request and passes the
   compiled object through.

2. No coder handles in the public repo: 8 hits rewritten (CHANGELOG.md,
   tests/test_timing.py, tests/test_engine.py, engine.py x3, timing.py x2)
   to describe the work without the handle; coordination-only phrasing
   dropped.

669 passed, 21 deselected; ruff check + format clean.
@bnsd55
bnsd55 merged commit f9f2ce0 into main Sep 19, 2026
2 checks passed
@bnsd55
bnsd55 deleted the w5b-15-cleanups branch September 19, 2026 05:33
bnsd55 added a commit that referenced this pull request Sep 19, 2026
…rejection, one-shape fixtures

- restore the module-level CompiledConstraints import (NAMELY: #49/#56
  made it required at runtime, my TYPE_CHECKING-only rebase dropped it)
- CalibrationBundle.from_payload now REJECTS the retired
  top-level-temperature shape loudly (stale files half-loading is worse
  than failing)
- one-shape fixtures across test_multi / test_cli_smoke / test_w2e_calib
- 726 passed, ruff clean
bnsd55 added a commit that referenced this pull request Sep 19, 2026
…rejection, one-shape fixtures

- restore the module-level CompiledConstraints import (NAMELY: #49/#56
  made it required at runtime, my TYPE_CHECKING-only rebase dropped it)
- CalibrationBundle.from_payload now REJECTS the retired
  top-level-temperature shape loudly (stale files half-loading is worse
  than failing)
- one-shape fixtures across test_multi / test_cli_smoke / test_w2e_calib
- 726 passed, ruff clean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant