Skip to content

Commit c1e1a12

Browse files
cailmdaleyclaude
andcommitted
felt: ngmix-size-columns fresh-eyes review — verified, closed
All three branches independently re-reviewed and re-tested; no code defects. Report corrected: sp_validation CI is green-but-vacuous on the cs_util.size import (suite never imports galaxy.py, image carries released cs-util 0.1.9), so merge order is discipline-enforced. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent ffb424f commit c1e1a12

2 files changed

Lines changed: 32 additions & 9 deletions

File tree

.felt/shapepipe/ngmix-size-columns/ngmix-size-columns.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
---
22
id: 01KTCQPE4M6S1E4V9WMPCAFCKT
33
name: 'ngmix size columns: honest r50 + cs_util converter web'
4-
status: active
4+
status: closed
55
tags:
66
- constitution
77
- shapepipe
88
- ngmix
99
created-at: 2026-06-05T22:30:50.004535516+02:00
10-
outcome: 'Realized, pending fresh-eyes review: shapepipe fix/ngmix-size-columns (honest r50 + dedupe, pushed), cs_util feat/size-conversions (size web + tests, on cailmdaley fork — no push rights upstream), sp_validation fix/psf-leakage-fwhm (T_to_fwhm bug fixed — moves α(size); pushed). PRs + merge order (cs_util → sp_validation) are Cail''s gesture; see report.html.'
10+
outcome: |-
11+
Realized + fresh-eyes reviewed, no code defects: shapepipe fix/ngmix-size-columns (honest r50 + dedupe, pushed), cs_util feat/size-conversions (size web, 24/24, on cailmdaley fork — no upstream push rights), sp_validation fix/psf-leakage-fwhm (T_to_fwhm bug fixed — moves α(size); pushed). PRs + merge order (cs_util release → sp_validation) are Cail's gesture; caution: sp_validation CI is green-but-vacuous on the cs_util.size import, ordering is discipline-enforced. See report.html.
1112
shuttle:
1213
kind: oneshot
1314
host: candide

.felt/shapepipe/ngmix-size-columns/report.html

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,17 @@ <h1>Honest r50 columns, a shared size web, and the leakage-axis fix.</h1>
7070

7171
<section>
7272
<div class="section-mark">§ Current state</div>
73-
<h2>All three branches landed; PR creation is yours.</h2>
73+
<h2>All three branches landed and fresh-eyes reviewed; PR creation is yours.</h2>
7474

7575
<p>Every piece of the constitution's desired state is implemented, tested, and pushed.
76-
Three branches across three repos, in dependency order:</p>
76+
A second session independently reviewed all three diffs: re-derived both error propagations
77+
(galaxy <code>r50·T_err/2T</code> and PSF <code>√(2ln2)·T_err/(4σ)</code> are the same formula —
78+
consistent), confirmed zero remaining consumers of the retired <code>_psfo_ngmix</code> size
79+
columns (only <code>make_cat</code>, repointed), confirmed the dropped <code>pixel_size</code>
80+
kwarg on <code>sigma_to_fwhm</code> has no callers, re-ran the tests (shapepipe size tests pass
81+
in the dev container; cs_util 24/24; <code>T_to_fwhm(2.0) → 2.35482</code> reproduced in the
82+
sp_validation container against the branch), and verified all three push SHAs. No code defects
83+
found. Three branches across three repos, in dependency order:</p>
7784

7885
<table>
7986
<tr><th>Repo</th><th>Branch</th><th>What it does</th></tr>
@@ -115,8 +122,18 @@ <h2>All three branches landed; PR creation is yours.</h2>
115122

116123
<p><strong>Merge order:</strong> cs_util first (sp_validation's import fails loudly without it —
117124
intentional fail-fast), then sp_validation; the shapepipe branch is independent and can merge any
118-
time. No PRs opened — that's your gesture. cs_util will also need a release (or a git-ref pin) before
119-
sp_validation's CI can pass.</p>
125+
time. No PRs opened — that's your gesture. cs_util needs a release (or a git-ref pin in
126+
sp_validation) before the sp_validation branch is safe to merge.</p>
127+
128+
<div class="flag">
129+
<strong>CI will not police the merge order.</strong> sp_validation's CI is already green on the
130+
pushed branch (run 27248208943) — but vacuously: the image installs <em>released</em>
131+
<code>cs-util 0.1.9</code> (no <code>size</code> module), and the test suite never imports
132+
<code>galaxy.py</code> (tests cover <code>cosmo_val</code>/<code>cosmology</code>/<code>survey</code>/<code>plots</code>
133+
only). Merging sp_validation before the cs_util release would pass CI and then raise
134+
<code>ImportError</code> at runtime, in <code>extract_info.py</code> / the notebooks. The
135+
ordering is enforced by discipline, not automation.
136+
</div>
120137
</section>
121138

122139
<hr class="short">
@@ -150,9 +167,14 @@ <h3>Exact constants over truncated literals</h3>
150167

151168
<h3>Pre-existing test failure, not mine</h3>
152169
<p><code>test_metacal_is_reproducible_with_fixed_seed</code> fails in the local
153-
<code>shapepipe-dev</code> container on clean <code>ngmix_v2.0</code> too (container/ngmix version
154-
skew, most likely) — CI on the pushed branch is the arbiter. The five other tests, including my two
155-
new ones, pass against the branch code.</p>
170+
<code>shapepipe-dev</code> container — reproduced by the review session on clean
171+
<code>ngmix_v2.0</code> with the identical error (<code>ngmix.fitting</code> has no
172+
<code>Fitter</code>: the local container carries an older ngmix than the branch expects). The
173+
other tests, including the two new size tests, pass against the branch code. Note shapepipe's
174+
<code>deploy-image.yml</code> triggers only on PRs/pushes targeting
175+
<code>develop</code>/<code>main</code>/<code>master</code> — so a PR of this branch into
176+
<code>ngmix_v2.0</code> won't run CI by itself; the suite gets arbitrated when the change rides
177+
PR #740's chain toward <code>develop</code>.</p>
156178
</section>
157179

158180
<hr class="short">

0 commit comments

Comments
 (0)