Skip to content

docs: drop the resolved TEST_MODE rationale from the single-trap convention - #17

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/testmode-assertion-note-removal
Aug 24, 2026
Merged

docs: drop the resolved TEST_MODE rationale from the single-trap convention#17
Jammy2211 merged 1 commit into
mainfrom
feature/testmode-assertion-note-removal

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

The ## Conventions bullet justified keeping integration scripts single-trap by citing the PYAUTO_TEST_MODE=2 bypass tying identical-prior ordered-trap models at the prior medians — "a filed autofit issue; avoid the pattern here". That issue is fixed: PyAutoFit#1520 (merged 438f56fac, 2026-08-24) makes the bypass select a deterministic assertion-valid point instead, at mode 2 and mode 3.

Only the rationale is removed; the single-trap convention itself is left standing. Whether integration scripts still need to be single-trap is a test-design call for a maintainer, not something a doc-truth fix should decide — see below.

Scripts Changed

None — AGENTS.md prose only. smoke_tests.txt is untouched.

Test Plan

  • Nothing to execute — documentation only.
  • grep -rni "assertion\|prior median\|tie at\|release_timescale" --include=*.md over this repo returns no hits after the change.

Worth a maintainer's decision

The convention now reads:

  • Integration scripts are self-contained (simulate their own data, small shapes) and single-trap.

with no stated reason. If single-trap existed only to dodge the bypass crash, the constraint can now be dropped and multi-trap ordered models exercised here — which is arguably better coverage, since ordered traps are the realistic CTI case. If it also exists for runtime or simplicity, the bullet deserves that reason written in. I did not guess between those; deciding it is a separate change.

Companion PRs

Same issue, one PR per repo, no dependency between them:

  • PyAutoLabs/autocti_workspace — removes the standalone artifact note from AGENTS.md (the primary; carries the issue).
  • PyAutoLabs/autocti_assistant — removes the artifact sentence from skills/ac_fit_cti_model.md.

Refs PyAutoLabs/autocti_workspace#24

Generated by the PyAutoLabs agent workflow.


Generated by Claude Code

…ention

The Conventions bullet justified keeping integration scripts single-trap by
citing the PYAUTO_TEST_MODE=2 bypass tying identical-prior ordered-trap models
at the prior medians ("a filed autofit issue; avoid the pattern here"). That
issue is fixed — PyAutoFit#1520 (merged 438f56fac) makes the bypass select a
deterministic assertion-valid point instead, at mode 2 and mode 3.

Only the rationale was stale, so only the rationale is removed; the single-trap
convention itself is left standing. Whether integration scripts still need to be
single-trap is a test-design call for a maintainer, not something a doc-truth
fix should decide — flagged on the issue so it can be revisited deliberately.

Refs PyAutoLabs/autocti_workspace#24
@Jammy2211
Jammy2211 merged commit bfdb876 into main Aug 24, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/testmode-assertion-note-removal branch August 25, 2026 19:01
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