Skip to content

Fill rectdiff gaps across multiple passes using maxGapFillPasses - #133

Merged
0hmX merged 6 commits into
mainfrom
codex/recursive-gap-fill-passes
Jun 24, 2026
Merged

Fill rectdiff gaps across multiple passes using maxGapFillPasses#133
0hmX merged 6 commits into
mainfrom
codex/recursive-gap-fill-passes

Conversation

@0hmX

@0hmX 0hmX commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Run gap filling across repeated find/expand passes until a pass adds no nodes.
  • Cap the gap-fill loop at 4 total passes.
  • Keep expanded-node visualization across all passes.
  • Update SVG snapshots produced by the multi-pass gap fill.

Root Cause

The previous gap fill only expanded once. Small corner-overlap gaps could require newly expanded nodes to participate in a later find/expand pass, leaving visible holes after the first pass.

Repro that got fixed
https://github.com/tscircuit/rectdiff/pull/133/changes#diff-5c564705806d916d0571b38e7be681977131bc6048582367372e594702516047

@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rectdiff Ready Ready Preview, Comment Jun 24, 2026 2:27pm

Request Review

@0hmX 0hmX changed the title [codex] fill rectdiff gaps across multiple passes Fill rectdiff gaps across multiple passes Jun 23, 2026
@0hmX
0hmX marked this pull request as ready for review June 23, 2026 16:46
@0hmX
0hmX changed the base branch from main to codex/srj18-sample002-visual-fixture June 24, 2026 10:47
@0hmX
0hmX force-pushed the codex/recursive-gap-fill-passes branch from e945ed2 to bd2dd7c Compare June 24, 2026 10:52
@0hmX
0hmX changed the base branch from codex/srj18-sample002-visual-fixture to main June 24, 2026 10:52
@0hmX 0hmX changed the title Fill rectdiff gaps across multiple passes Fill rectdiff gaps across multiple passes using maxGapFillPasses Jun 24, 2026
@seveibar

Copy link
Copy Markdown
Contributor

should be benchmark?

@seveibar seveibar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i see the benchmark now

@0hmX
0hmX merged commit aa69ef0 into main Jun 24, 2026
5 checks passed
@tscircuitbot

Copy link
Copy Markdown
Contributor

Thank you for your contribution! 🎉

PR Rating: ⭐⭐⭐
Impact: Major

Track your contributions and see the leaderboard at: tscircuit Contribution Tracker


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.

3 participants