Skip to content

Commit ce2217c

Browse files
committed
prompt: ship smoke-gate-slowest-scripts (#267) → complete
1 parent b985a42 commit ce2217c

3 files changed

Lines changed: 46 additions & 12 deletions

File tree

active.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,3 @@
1313
- registered: 2026-08-19 by the wake_up session — the issuing session (claude/autofit-priors-messages-audit-ylvenv)
1414
filed the prompt + issue but not this entry, tripping Lifecycle Drift on main.
1515
- repos-none-claimed: this entry claims NO repos — one line deliberately, not 2-space bullets.
16-
17-
## smoke-gate-slowest-scripts
18-
- issue: https://github.com/PyAutoLabs/autolens_workspace_test/issues/267 (issued 2026-08-23)
19-
- issued: 2026-08-23
20-
- prompt: active/slowest_smoke_gate_scripts.md
21-
- pr: https://github.com/PyAutoLabs/autolens_workspace_test/pull/269 (opened 2026-08-23, awaiting CI + human merge)
22-
- status: workspace-dev — PR open
23-
- worktree: n/a — remote session (branch feature/smoke-gate-slowest-scripts in autolens_workspace_test;
24-
Mind/Brain session branch claude/slowest-smoke-gate-perf-ovsuay)
25-
- repos:
26-
- autolens_workspace_test (feature/smoke-gate-slowest-scripts)

active/slowest_smoke_gate_scripts.md renamed to complete/2026/08/smoke-gate-slowest-scripts.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,47 @@
1+
Cut the per-PR smoke gate's three slowest entries: py3.12 leg 553.0s → 301.3s
2+
(5m01s, 22/22), py3.13 351.1s — acceptance (<~6 min) met with margin and
3+
without demoting point.py. Decisions were measurement-driven (CI-equivalent
4+
env rebuilt in-session: py3.12 venv, source-chain install, smoke-profile env).
5+
6+
- issue: https://github.com/PyAutoLabs/autolens_workspace_test/issues/267
7+
(CLOSED completed 2026-08-23 on merge)
8+
- workspace-pr: autolens_workspace_test#269 (MERGED 2026-08-23, merge a6965a5,
9+
single commit a9f9c27; 5 files, +230/−160)
10+
- per script: imaging/subhalo_recovery.py 120.7→13.2s CI (split — one-shot
11+
stays on the gate; warm-started iterative-LM leg → new
12+
subhalo_recovery_iterative.py, weekly/release only, and the unasserted ~18s
13+
iter_fit.log_evidence() print was dropped in the move); misc/database/scrape/
14+
general.py 63.4s → demoted (smoke_tests.txt comment names weekly
15+
workspace-smoke.yml + release-integrate; the misc/aggregator trio keeps the
16+
scrape/aggregator API on the gate under test-mode fixtures);
17+
point_source/jax_likelihood/point.py 47.7→22.7s (FitPositionsImagePairAllSolved
18+
block removed — image_plane.py pins the same coverage on the weekly channel;
19+
base literal untouched, no re-pins).
20+
- why the split was safe: phase-timed the script — the iterative leg was ~81%
21+
of runtime and reproduced the one-shot dkappa metrics to 3 d.p. (corr 0.8233
22+
vs 0.8228, same 0.06" peak dist) — a stationarity confirmation, not
23+
independent discrimination; the iterative engine class stays PR-gated via
24+
interferometer/subhalo_recovery_interferometer.py (n_iter=5 cold start).
25+
- measured dead ends (don't re-derive): sim grid 120→100 leaves the S/N-driven
26+
arc mask at ~5860 px (no gain); dpsi mesh factor 2→3 and arc-mask threshold
27+
3→4 change nothing — the cost is the dense data x source algebra, not the
28+
dpsi dimension. point.py is compile-dominated (44s of 55s XLA; likelihood
29+
evals 0.03s) and 10x looser solver precision bought only ~15% — XLA cost is
30+
a per-program floor, not refinement depth.
31+
- discrimination demos (constraint 1, recorded on the PR): no-subhalo
32+
simulation → corr −0.017 vs the 0.5 threshold (AssertionError);
33+
pixel_scale_precision 0.001→0.01 → likelihood −83.5433 vs pinned −83.3805,
34+
rel 2.0e-3 vs rtol 1e-4 (AssertionError).
35+
- notes: gate is 22 entries now; new slowest is imaging/jax_likelihood/
36+
rectangular.py at 31.8s (the flat tail the prompt says not to chase). The
37+
sibling gate-frequency prompt (draft/test/pyautoheart/smoke_relevance_gate.md)
38+
is untouched and separate. Remote session (no worktree); implementation
39+
delegated to an execution-tier subagent, reviewed before push; remote
40+
feature branch feature/smoke-gate-slowest-scripts not deleted (post-merge
41+
cleanup pending, /repo_cleanup).
42+
43+
## Original prompt
44+
145
# Speed up the three slowest autolens_workspace_test smoke-gate scripts
246

347
Type: test

complete/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Token-light navigation over the finished-work records (schema:
66
only then grep a dated bucket. Curators: edit the band between the CURATED
77
markers; everything below GENERATED is rebuilt.
88

9-
1085 records across 7 buckets.
9+
1086 records across 7 buckets.
1010

1111
<!-- CURATED:START -->
1212
## Highlights
@@ -186,6 +186,7 @@ _(curate hard-won records here — survives regeneration.)_
186186
- [small-datasets-loader-pixel-scales](2026/08/small-datasets-loader-pixel-scales.md)
187187
- [small-datasets-regime-stamp](2026/08/small-datasets-regime-stamp.md)
188188
- [small-datasets-rmtree-committed-data](2026/08/small-datasets-rmtree-committed-data.md)
189+
- [smoke-gate-slowest-scripts](2026/08/smoke-gate-slowest-scripts.md)
189190
- [smoke-runner-jupyter-guard](2026/08/smoke-runner-jupyter-guard.md)
190191
- [spawn-autonomy-log-generated](2026/08/spawn-autonomy-log-generated.md)
191192
- [spawn-drift-self-heal](2026/08/spawn-drift-self-heal.md)

0 commit comments

Comments
 (0)