Skip to content

prompt: hand the Clipper phase-2 campaign over to a GPU session - #191

Merged
Jammy2211 merged 1 commit into
mainfrom
claude/clipper-phase2-gpu-handover
Aug 16, 2026
Merged

prompt: hand the Clipper phase-2 campaign over to a GPU session#191
Jammy2211 merged 1 commit into
mainfrom
claude/clipper-phase2-gpu-handover

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

A cloud CPU session did everything the phase-2 campaign needs except run it. This carries the handover.

Written into the campaign prompt itself, not a separate handover doc — so the context travels with the file a GPU session will actually open. That is the same property #188 was merged to preserve, and a handover note nobody opens is worth nothing.

What it carries

The three PyAutoFit changes that landed after phase 1, each clearing a trap this prompt used to work around:

PR merge effect on the campaign
#1477 1f4b66a phase 1 — the Clipper itself
#1478 bbceff6 n_clipped_lane_steps + n_constrained_lane_steps now in search.summary
#1479 b6e89cd NumpyEncoder — the float32 save_json crash is fixed
#1480 in flight atomic writes + corrupt-resume recovery — the poisoned-rerun trap is fixed

All four are unreleased. The task must run against a PyAutoFit checkout at or after b6e89cd with autofit.__file__ verified to resolve there — a PyPI wheel has none of it.

Which traps are now belt-and-braces rather than live — and why the mitigations stay anyway. The step-count assertion catches every no-op cause, not just the float32 one, so it is not retired along with the bug that motivated it.

The clip count is now a validity check, not a statistic. A ClipperPriorBox arm reporting zero clips has not exercised the clipper, and its "no change" result is meaningless — a broken arm, not a null result. That is the cheapest way to catch a mis-wired arm before reading anything into it.

A seconds-long smoke test, found while verifying #1478. The autolens_profiling#128 mechanism reproduces on a toy 3-parameter Gaussian — unclipped Value-NaN Lane-Steps = 378 (94.5%), clipped 0, with Clipped Lane-Steps = 414 at rate 0.958. Worth running before spending GPU time on imaging/mge, to confirm the clipper is wired up and firing at all.

What else wants the same session: the mge-lane-death GPU/float64/multi-seed confirmation and the owed hazard-index entry, both of which share these arms.

Sequencing: this campaign, then ell_comps_trapping_unmasked.md on the same arms — which must take n_constrained_lane_steps from the clipped run and explicitly must not re-derive the 27.79% from the prior-neutered diagnostic arm.

Bookkeeping

lifecycle.py check OK; dashboard.md regenerated.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FzF2XmKQaqZRWZfZMxvTNR


Generated by Claude Code

The cloud session did everything this campaign needs except run it. Adds a
SESSION HANDOVER block to the campaign prompt itself rather than a separate
handover doc, so the context travels with the file a GPU session will actually
open -- the same property #188 was merged to preserve.

What it carries:

- The three PyAutoFit changes that landed AFTER phase 1 (#1478 clip count in
  search.summary, #1479 NumpyEncoder, #1480 atomic writes), and the fact that
  all four are UNRELEASED. The task must run against a checkout at or after
  b6e89cd with autofit.__file__ verified, never a PyPI wheel.
- Which of this prompt's traps are now fixed rather than live -- and why the
  mitigations stay anyway: the step-count assertion catches every no-op cause,
  not only the float32 one.
- That the clip count is now a VALIDITY CHECK, not a statistic. A
  ClipperPriorBox arm reporting zero clips has not exercised the clipper and
  its "no change" result is meaningless -- a broken arm, not a null result.
- A seconds-long smoke test discovered while verifying #1478: the #128
  mechanism reproduces on a toy 3-parameter Gaussian (378 value-NaN lane-steps
  unclipped, 0 clipped, 414 clips at rate 0.958). Cheap way to confirm the
  clipper is wired up and firing before spending GPU time on imaging/mge.
- The mge-lane-death GPU/float64/multi-seed confirmation and the owed
  hazard-index entry, which want the same session and share these arms.
- Sequencing: this campaign, then ell_comps_trapping_unmasked.md on the same
  arms, which must not re-derive 27.79% from the prior-neutered arm.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FzF2XmKQaqZRWZfZMxvTNR
@Jammy2211
Jammy2211 merged commit 411baf7 into main Aug 16, 2026
1 check passed
@Jammy2211
Jammy2211 deleted the claude/clipper-phase2-gpu-handover branch August 17, 2026 20:58
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.

2 participants