Visitar URL original
make_2610_stages: --rep-pass N runs reps 1..N of each cell's declared REPS (N=3 first, the rest later) by tae898 · Pull Request #224 · humemai/arcadedb-embedded-python · GitHub
Skip to content

make_2610_stages: --rep-pass N runs reps 1..N of each cell's declared REPS (N=3 first, the rest later) - #224

Merged
tae898 merged 1 commit into
mainfrom
rep-passes
Oct 6, 2026
Merged

tae898 merged 1 commit into
mainfrom
rep-passes

Conversation

@tae898

@tae898 tae898 commented Oct 6, 2026

Copy link
Copy Markdown

Closes #223.

DECISIONS #164: the user's plan to run every arm's reps 1 to 3 first and reps 4 and 5 in a later pass.

--rep-pass N makes each stage run reps 1..N of the REPS it declares. --reps stays the declared total in every runner call and --only-reps names the pass, so no repetition changes what it measures, only when it runs. A cell that declares fewer reps than the pass (the image-defaults arm, REPS=3) runs its own; rep 1 still goes first and a failed rep 1 still ends the arm; the multipass overlay follows the same rule. Stage ids take the prefix qP, because a killed stage writes ALL-DONE through its EXIT trap and a chain reusing earlier ids would start every stage at once. Without the option the generated scripts are byte-for-byte the ones now running (checked by diffing a regenerated stage against the launched one).

Tests: test_stage_rep_pass.py runs the generated run_cell and run_overlay for real against a stub runner (reps 1 then 2,3 with the declared total 5; REPS=2, 3 and 1; a failed rep 1 ends the arm; the overlay; a pass outside 1 to 5 is refused). queue_lint.py passes on all 37 generated scripts.

PROTOCOL.md says how a table landed between the passes discloses n=3. The pass-2 generator (roster from the rows) is a later change.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Ubz3m6QXHESerCkehC1qgi

… REPS, so N=3 goes first and the rest later (#223)

DECISIONS #164, the user's plan. --reps stays the declared total, --only-reps names the pass; a cell declaring fewer reps runs its own;
the overlay follows the rule; ids take the prefix qP; without the option the scripts are byte-identical. The shell functions are tested
against a stub runner.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ubz3m6QXHESerCkehC1qgi
@tae898
tae898 merged commit e1b44e8 into main Oct 6, 2026
2 checks passed
@tae898
tae898 deleted the rep-passes branch October 6, 2026 12:04
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.

The 26.10.1 stages run their repetitions in two passes: reps 1 to 3 first, 4 and 5 later

1 participant