Repository navigation
Description
Overview
PyAutoArray#632 replaced the fixed interferometer_numba_nnz_per_source_max: 60 gate with a two-constant cost model (predicted t_fft vs t_dc). This task re-measures the routing table on both Aris masks (125×125 and 512×512) with the default settings. For each cell it records the chosen route, nnz/col and the predicted t_fft / t_dc. It also records the campaign's owed log-det after-measurement: numba vs JAX log_det_regularization_matrix_term after #631. The result goes into a results note in the #226 bake-off format.
Plan
- Run the six Aris cells (125: 1,405 / 2,947 / 5,526 vertices; 512: 1,459 / 2,577 / 5,746) on the laptop with default settings (cost model, no explicit gate) on PyAutoArray main 17caf228.
- Per cell, record the route the factory chose, nnz/col, and the cost model's predicted t_fft and t_dc.
- Per cell, record numba vs JAX
log_det_regularization_matrix_termat one fixed parameter vector. Also record the 125×125 original-vector pair (before the fix: numba 2443.22 vs JAX 2561.98). - Carry s/call from the prior laptop measurement (PROGRESS4 / step7). It is not re-timed because the laptop is shared (load 2–14).
- Write
results/notes/interferometer_route_gate_aris_2026_10.mdand point theinterferometer_likelihoodcampaign wiki at it, saying the numba kill-gate question is now answered by the cost model. - Do not touch the three scripts that set the gate explicitly.
Tier: glance — merge mode: auto-merge on green if the Witness passes, post-merge summary. Under --auto at effective level supervised, the ship checkpoint resolves to decide-and-flag. A decision-taken PR is never auto-merged, so this run ends at PR-open and the merge is a human /prm.
Detailed implementation plan
Affected Repositories
- autolens_profiling (primary; workspace)
Branch Survey
| Repository | Current Branch | Dirty? |
|---|---|---|
| ./autolens_profiling | main | dataset/abell_1201/ untracked (not ours) |
| ./PyAutoArray (read-only) | main @ 17caf228 = origin/main | — |
Suggested branch: feature/interferometer-route-gate-phase2
Implementation Steps
- Copy the earlier Aris bench harnesses (step7 for 125×125, step8 for 512×512) into a session scratch dir and adapt them there. Do not set
interferometer_numba_nnz_per_source_max. Print the inversion class, nnz/col andinversion_interferometer_numba_util.curvature_route_seconds_from(S, nnz, mask.shape_native_masked_pixels). - Run
--checkwithCOMPONENTS=1for the numba and JAX (jit) log-det components at one fixed vector per cell. For 512 at 5,746 vertices, checkfree -gfirst and abort over 9 GB RSS. - Reproduce the 125 original vector (vec0) and the after value, expected ≈ 2468.446 on both backends.
- Write the results note: a six-cell table, the vec0 pair before and after, the SHA, the settings, and links to #628/#632, #627/#631, #626/#630 and PyAutoPulse#62.
- Update the
wiki/campaigns/interferometer_likelihood.mdrow and section. - Run
ruff check ./ruff format --check .(no .py is added); lychee link sanity.
Key Files
results/notes/interferometer_route_gate_aris_2026_10.md(new)wiki/campaigns/interferometer_likelihood.md
Heart RED development override
Heart was RED at launch (2026-10-15): Heart: RED — Release RED; monitoring RED · 10/100 · 415 unresolved; [red] release validation FAILED (stage integrate); [red] PyAutoHands/workflows/Python Version Matrix: failure; [red] PyAutoHeart/workflows/Release Integrate: failure; [red] PyAutoMind/workflows/Lifecycle Drift: failure; [red] PyAutoArray/Tests: red; [red] autofit_workspace_test/Smoke Tests: red; [red] autogalaxy_workspace_test/Smoke Tests: red; [red] autolens_workspace_test/Smoke Tests: red; [red] CI wall-clock: 26 gates · slowest PyAutoBrain Nightly Release 63m · 5 hang events; [red] Release readiness: release validation FAILED (stage integrate); [red] autofit_test: red; [red] Release validation: NOT release_ready — v2026.10.15.1.dev81701 profile=release; [red] validation_report/stages/integrate: fail; [red] PyAutoArray: red; [red] autolens_inference: red; [red] autolens_profiling: red; [red] Worktree drift: 5 orphan / 0 missing / 4 dirty; [red] euclid_strong_lens_modeling_pipeline: red.
The live human authorized the development-only override in session 3e3dea38 (AskUserQuestion answer: "Yes, override for both (Recommended)"). Compute decision: "Laptop, routing + log-det only". Permitted: commit, push, PR-open behind the autonomous-ship gate (tests, smoke and review must still pass). Merge stays a separate human act. Heart remains RED for release purposes. Launched --auto.
Original Prompt
Click to expand starting prompt
Interferometer route gate phase 2: re-measure the Aris routing table with the default cost model
Type: feature
Target: autolens_profiling
Repos:
-
autolens_profiling
Difficulty: small
Autonomy: supervised
Priority: normal
Consequence: glance
Status: formalised
Issued: 2026-10-15
Compute: laptop; routing + log-det only; timings not re-measured -
Status: split out of
interferometer-numba-route-gateat close-out — the library
phase shipped incomplete/2026/10/interferometer-numba-route-gate.md
(feat: scale the interferometer numba route gate with mask size PyAutoArray#628,
feat: route interferometer numba vs FFT curvature by a cost model PyAutoArray#632); this is the workspace record that remains.
PyAutoArray#632 replaced the fixed interferometer_numba_nnz_per_source_max: 60 gate with a
two-constant cost model (t_fft = c_fft·S·pocketfft-work(padded 2ny×2nx),
t_dc = c_dc·nnz·ny·nx, c_fft 7.62e-10, c_dc 1.77e-09). The packaged default is now null
(cost model); a positive value is a hard gate, 0 turns numba off, and a new
interferometer_route setting forces a route.
Re-measure both Aris masks' routing table (125x125, extent 83²; 512x512, extent 341²) with the
default cost model at the campaign's vertex counts (125: 1,405 / 2,947 / 5,526; 512: 1,459 /
2,577 / 5,746), recording for each cell the chosen route, both measured timings and the
predicted t_fft / t_dc. Record the table in the campaign results/wiki in the
autolens_profiling#226 bake-off format, and link #628 / #632 and
PyAutoLabs/PyAutoPulse#62 (task interferometer_large_mask_aris).
This also supplies the campaign's owed Aris after-measurements.
Note: the three autolens_profiling scripts that set
interferometer_numba_nnz_per_source_max explicitly keep hard-gate meaning — leave them
unchanged unless the re-measurement is meant to exercise the default (then drop the explicit
value in the run, not in the committed script).
- The record ALSO carries the campaign's owed Aris log-det after-measurement: for each cell,
log_det_regularization_matrix_termon numba vs JAX at the same parameter vector on
PyAutoArray main ≥ 17caf228 (post-#631), plus the 125×125 figure at the original vector
(pre-fix numba 2443.22 vs JAX 2561.98). Timings (s/call) are carried from the prior laptop
measurement (PROGRESS4 table), not re-timed — the laptop is shared (load 2–14).
Activity
Jammy2211 commentedon Oct 15, 2026
Workspace PR Created
#420 (branch
feature/interferometer-route-gate-phase2, commits 8e8fd8e + 3237286). Results noteresults/notes/interferometer_route_gate_aris_2026_10.md+ campaign wiki update.17caf228), the factory picks the faster measured arm in 6/6 Aris cells. The 512 timing pairs are calibration points of the model (in-sample); the 125 FFT arm is compared against a JAX proxy./prm.Merge pull request #420 from PyAutoLabs/feature/interferometer-route-…
Jammy2211 commentedon Oct 15, 2026
Shipped — 2026-10-15
PRs
33779e46)Upstream PR
PyAutoLabs/PyAutoArray#632 (
17caf228); also #631, #630Summary
This adds the Aris routing table on both masks, re-measured under PyAutoArray#632's default cost model:
results/notes/interferometer_route_gate_aris_2026_10.mdplus a campaign wiki update. No scripts changed.Session Notes
/prm.draft/docs/autolens_profiling/decision_matrix_note_gate_wording.md: the 2026-09 decision-matrix note may still call gate 60 current. That draft also links the wiki to PyAutoPulse's task Knowledge section and its decision records.complete/2026/10/interferometer-route-gate-phase2.md.