ssz: use the module-level programme import in needs_daylight

fitness.py already imports the module as `_programme` at the top and uses
that idiom elsewhere (`_programme.SOCIABLE_USAGES`). The local re-import
sat in the per-leaf hot path for no reason.

Also snapshots the in-progress ab_ssz_search.csv; the full run is still
going and will supersede it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MJ84Feep79Hhm3E4zZJmnB
This commit is contained in:
Claude 2026-08-26 16:46:59 +00:00
parent 189efdbfc7
commit 02967d5de7
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

@ -1,3 +1,5 @@
programme,seed,mode,urb_hard,urb_soft,urb_total,own_hard,own_soft,own_total,elapsed_s
harbor-house,0,urb,16,39,55,16,39,55,80.2
harbor-house,1,urb,22,45,67,22,45,67,88.7
harbor-house,2,urb,22,40,62,22,40,62,79.8
harbor-house,0,floor,16,38,54,16,38,54,78.9

1 programme seed mode urb_hard urb_soft urb_total own_hard own_soft own_total elapsed_s
2 harbor-house 0 urb 16 39 55 16 39 55 80.2
3 harbor-house 1 urb 22 45 67 22 45 67 88.7
4 harbor-house 2 urb 22 40 62 22 40 62 79.8
5 harbor-house 0 floor 16 38 54 16 38 54 78.9

View file

@ -472,8 +472,7 @@ class Fitness:
which is the intended reading: a corridor or a covered courtyard is not
failing when it has no daylit wall.
"""
from . import programme as _pr
return self.usage_of(leaf) in _pr.DAYLIGHT_USAGES
return self.usage_of(leaf) in _programme.DAYLIGHT_USAGES
# ------------------------------------------------------------------ #
# Type superposition + collapse (homemaker-py-9o5)