Skip to content

prompt: optional-dependency-skip-guards shipped (PyAutoFit#1512) + correct the test_nautilus drift - #260

Merged
Jammy2211 merged 3 commits into
mainfrom
claude/test-nautilus-single-core-builds-35kyot
Aug 22, 2026
Merged

prompt: optional-dependency-skip-guards shipped (PyAutoFit#1512) + correct the test_nautilus drift#260
Jammy2211 merged 3 commits into
mainfrom
claude/test-nautilus-single-core-builds-35kyot

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Mind-side record for PyAutoFit#1511 → #1512 (merged 2026-08-22, 14eb8393).

What landed

  • complete/2026/08/optional-dependency-skip-guards.md — the completion record, written via lifecycle.py record (prompt folded in, active.md section removed, complete/index.md refreshed)
  • Three completion records annotated with a dated ## Correction block rather than rewritten in place, following the prior-support-clipper.md precedent: multistart-gradient-resume-fom-sanity-check, clipper-usage-in-search-summary, uniform-prior-bounds-numpy-path
  • dashboard.md / dashboard.html regenerated

lifecycle.py check: OK.

Why the correction blocks

test_nautilus.py::test__single_core_builds_no_pool was reported as "pre-existing on clean main" in at least six records from 2026-08-16 onward. It never was: the test runs a real search.fit, which imports the optional nautilus sampler, and that ships only in the [optional] extra. CI installs [optional] and the test passed there throughout — main was 2024 passed / 3 skipped / 0 failed the whole time.

Two records already had it right (covariance-interpolator-rng-seed.md named the actual ModuleNotFoundError; prior-support-clipper.md:218 issued the correction) and are left untouched.

The bit worth keeping

The fix was one line per file, and it had already been diagnosed correctly twice — on 08-17 in prior-support-clipper.md, and on 08-18 as follow-up 4 of uniform-prior-bounds-numpy-path.md, which proposed exactly this fix. Both lived only in completion records, which nothing reads on the way into a new task, so the false alarm fired three more times after the right answer was written down.

A follow-up that stays in a record has no owner. That is the finding this record is really for.

🤖 Generated with Claude Code

https://claude.ai/code/session_01F1uQdHt11NPBc5cXA5cvme


Generated by Claude Code

James Nightingale and others added 3 commits August 22, 2026 13:23
…orrect the test_nautilus drift

Files the task that closes follow-up 4 of
complete/2026/08/uniform-prior-bounds-numpy-path.md, filed 2026-08-18 but never
turned into a prompt.

test_nautilus.py::test__single_core_builds_no_pool has been reported as
"pre-existing on clean main" in at least six completion records since
2026-08-16. It is not: the test runs a real search.fit, which imports the
optional `nautilus` sampler, and that ships only in the [optional] extra. CI
installs [optional] and the test passes there (latest main: 2024 passed, 3
skipped, 0 failed). Envs without the extras get a hard ModuleNotFoundError.
Same cause for the astropy collection errors and the nine aggregator errors.

- active/17_optional_dependency_skip_guards.md — the prompt, with the evidence
  from all three envs and the full correction trail across the records
- active.md — registry entry, issue #1511, PR #1512
- three completion records annotated with a dated correction rather than
  rewritten in place, following the prior-support-clipper.md precedent:
  multistart-gradient-resume-fom-sanity-check, clipper-usage-in-search-summary,
  uniform-prior-bounds-numpy-path
- dashboard regenerated (in-flight 2 -> 3)

lifecycle.py check: OK.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01F1uQdHt11NPBc5cXA5cvme
All three legs pass on b814937 (run 32575550710): unittest 3.12, unittest 3.13
and unittest-nojax. PR mergeable state clean, no review comments. Status lines
advanced in active.md and the prompt; dashboard regenerated.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01F1uQdHt11NPBc5cXA5cvme
Shipped 2026-08-22, merge commit 14eb8393. Advances the task to
complete/2026/08/optional-dependency-skip-guards.md via lifecycle.py record:
prompt folded, active.md section removed, index refreshed, dashboard
regenerated.

The record keeps the part worth remembering: the fix was one line per file, but
the diagnosis had already been written down twice (prior-support-clipper.md on
08-17, uniform-prior-bounds-numpy-path.md follow-up 4 on 08-18) and the false
alarm still fired three more times, because a follow-up that lives only in a
completion record has no owner.

lifecycle.py check: OK.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01F1uQdHt11NPBc5cXA5cvme
@Jammy2211
Jammy2211 merged commit fb986c8 into main Aug 22, 2026
1 check passed
Jammy2211 pushed a commit that referenced this pull request Aug 22, 2026
Jammy2211 pushed a commit that referenced this pull request Aug 22, 2026
Jammy2211 added a commit that referenced this pull request Aug 22, 2026
…-hontn3

prompt: jax-grad-local-vs-ci-assertions (#260) — route, root cause, fix
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.

1 participant