bb9b355f14
x3b/§13.10: productionise leaf-sharing — per-code share grain + CLI wiring
...
Make the §13.3 lever a first-class feature, not experiment-only.
- programme.py: SpaceReq.share (default 1) + has_share, parsed from
patterns.config 'share: N'.
- operators._share_grain: resolve per-code grain from leaf_share_factor
selector — 0 = per-code opt-in (share iff share:N>=2), >=2 = global with
per-code override (share:1 opts OUT, share:N sets grain). _share_rooms
groups per resolved grain.
- End-to-end conf injection without monkeypatch: load_config(overrides=)
merges run-level keys last; driver.search / innerloop.optimise /
NativeEvaluator / _fitness_for thread conf_overrides={leaf_sharing:True}
through both inner-loop and off-tree scorers when sharing is on.
- homemaker-evolve: --leaf-sharing/--no-leaf-sharing + --leaf-share-factor
(env HOMEMAKER_LEAF_SHARING / HOMEMAKER_LEAF_SHARE_FACTOR).
- Example programmes untouched (§13.3/§13.9 stay reproducible). Experiment
load_config monkeypatches updated to accept overrides=.
Tests: grain modes, opt-out, default-OFF parity, load_config overrides,
programme parse, CLI parse. 233 pass. Smoke: harbor 37 vs 95 fails on/off.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-28 22:04:35 +01:00
0e5e607c4f
Swap inner loop default from CMA-ES to Nelder-Mead (homemaker-py-d6d)
...
Bakeoff with native fitness shows NM wins at all DOF sizes: +9% at
child_budget=80 for programme-house (6-7 DOF), and decisively at
harbor-house scale (35-40 DOF) where CMA-ES exhausts its convergence
detector after ~3 generations (46 evals) and adds failures on 12/15
runs. NM uses the full budget, is parameter-free, and has zero new
failures across all test cases.
- Add nm_search() to innerloop.py; change optimise() default to "nm"
- Add nm_search to parametrised test cases
- Add bakeoff_native.py and bakeoff_harbor.py experiments with results
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-14 08:51:22 +01:00
646ee30ab6
Rename package: homemaker → homemaker-layout
...
- src/homemaker/ → src/homemaker_layout/; all imports updated
- pyproject.toml: name = homemaker-layout, entry point updated
- .beads/config.yaml: dolt sync.remote updated to homemaker-layout.git
- Delete temporary debug/perl scripts from project root
- README.md, DESIGN.md: package path references updated
- GitHub repo renamed; git remote updated
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-14 08:18:06 +01:00