Skip to content

studiobench: step back over a gap the completeness traversal skipped - #17581

Merged
danielhanchen merged 1 commit into
mainfrom
studiobench-traversal-backtrack
Nov 12, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
studiobench-traversal-backtrack

Conversation

@danielhanchen

@danielhanchen danielhanchen commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Summary

Follow-up to #17577. That change capped the completeness traversal's upward step at 3/4 of the viewport. On #17580 three of the four windowed cells now reach full coverage, but one still came back unmeasured. That was enough to fail Parity verdict, scored against the null again:

COMPLETENESS NOT ESTABLISHED: the head of the thread mounted, but coverage of the middle was NOT ESTABLISHED: 1 of 18 ordinals never mounted, but consecutive stops of the gesture did not overlap
outputs/parity-result: TOO LITTLE COMPARED: 12 of 32 pair(s) carry a verdict, below the floor of 16.

The run's payload shows the cap was applied (traverse_step_px: 720 on a 960px viewport) and the walk still skipped ordinal 13. So even a step shorter than the viewport can carry past a row. The likely cause is the windowed list re-anchoring scrollTop when rows above it mount at their real height rather than their estimate, which moves the viewport further than the step asked for. The payload does not record per-stop spans, so this is inferred rather than observed. Either way, no fixed step size can rule the gap out, so the walk now checks for it and closes it.

Change

TRAVERSE_JS in tests/studio/studiobench/runtime/readiness.py:

  • After each upward step, if the rows mounted at the new stop do not touch the previous stop's rows, the walk steps back down in half steps until the rows in between have mounted (at most 16 tries), then returns to where the step landed and carries on. A thread with no such jump never takes this path.
  • sweep_continuous is now judged on the union of every stop's mounted span, so those extra stops count. The meaning is the same as before: no gap in the sweep where a row could hide. An ordinal still missing from a continuous sweep is still reported as lost, and a hole inside one stop's own window is still reported as a missing middle.

No app code changes.

Guard

  • New fixture mode windowed_anchor_jump in thread_fixture.js: once, halfway up, the viewport jumps 600px further than the step, as a re-anchoring list does. With the 300px capped step, that skips one row.
  • New test_a_scroll_anchor_jump_does_not_leave_coverage_unmeasured: the sweep must stay continuous and coverage complete. With the step-back disabled, it fails (sweep_continuous is False), the same shape as the CI cell.

Testing

  • tests/studio/studiobench/runtime/selftest/ (including all live browser cases), test_studiobench_thread_reopen_gate.py, test_studiobench_windowed_parity.py: 412 passed, 1 skipped.
  • This PR's own studiobench-ui-parity and studiobench CI runs are the end-to-end check.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T08:52:02.399664Z 295104c Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-12T08:50:40.652899Z
We couldn’t complete this review. Comment @codex review to try again.
295104c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Breezy!

Reviewed commit: 295104c134

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danielhanchen
danielhanchen merged commit 13ef434 into main Nov 12, 2026
@danielhanchen
danielhanchen deleted the studiobench-traversal-backtrack branch November 12, 2026 09: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