Skip to content
This repository was archived by the owner on Nov 21, 2026. It is now read-only.

benchmarks: cell_cost_check scores only the stage's own engines - #325

Merged
tae898 merged 1 commit into
mainfrom
fix/cell-cost-check-stage-backends
Oct 17, 2026
Merged

tae898 merged 1 commit into
mainfrom
fix/cell-cost-check-stage-backends

Conversation

@tae898

@tae898 tae898 commented Oct 17, 2026

Copy link
Copy Markdown

What

cell_cost_check.py gets --backends: it scores only the engines a stage runs. Both stage generators (make_october_stages.py, and the 26.10 profile in make_2610_stages.py) now pass each stage's BACKENDS to both cost-check calls.

Why

On 2026-10-17 at 08:10Z, mini's qP22 (documents OLTP, one engine: arcadedb_imgdefaults_server) aborted before running anything. The check scored every engine in the l1tpc lane at tpch10 and stopped on MongoDB and SurrealDB served, which qP22 does not run. The ArcadeDB arms project well under the cap. qP23 to qP34 wait for qP22's ALL-DONE marker, so the whole chain stalled.

Effect on existing rows and running stages

None on rows. Without --backends the tool behaves as before, so stage scripts already running are unaffected. Stage files regenerated from this branch differ from the ones on mini in exactly the two cost-check lines per stage (qP22 to qP34; diffed against main's generator output, which reproduces mini's files byte for byte apart from the wheel hash). A stage whose OWN engines project over the cap still stops, as before.

Checks run

uv run --no-project --with pytest python -m pytest test_cell_cost_backends.py test_stage_generator_after.py test_stage_tiers.py test_stage_rep_pass.py test_stage_top_up.py -q in benchmarks/experiments: 61 passed (5 new in test_cell_cost_backends.py).

🤖 Generated with Claude Code

https://claude.ai/code/session_01Q8bTVHrrsuZDoTAQgQbLBS

…ckends)

qP22, a one-engine ArcadeDB stage (arcadedb_imgdefaults_server), aborted on
2026-10-17 because the check scored the whole l1tpc lane and found MongoDB
and SurrealDB, which it does not run, over the cap at tpch10; every later
stage waits for its ALL-DONE marker, so the chain stopped with it.

The generators now pass each stage's BACKENDS to both cell_cost_check calls.
Without --backends the tool behaves as before, so rows and running stage
scripts are unaffected. Regenerated qP22..qP34 differ from the files on mini
in exactly those two lines each.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q8bTVHrrsuZDoTAQgQbLBS
@tae898
tae898 merged commit 9d65902 into main Oct 17, 2026
3 checks passed
@tae898
tae898 deleted the fix/cell-cost-check-stage-backends branch October 17, 2026 08:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant