8000 fuzz(datalog_eval): count partial bindings in the join guard (#597) by adityamukho · Pull Request #600 · project-minigraf/minigraf · GitHub
[go: up one dir, main page]

Skip to content

fuzz(datalog_eval): count partial bindings in the join guard (#597) - #600

Merged
adityamukho merged 1 commit into
mainfrom
fuzz/597-guard-main
Oct 15, 2026
Merged

adityamukho merged 1 commit into
mainfrom
fuzz/597-guard-main

Conversation

@adityamukho
Copy link
Copy Markdown
Collaborator

This brings the datalog_eval harness change from #599 (v3) to main. Only the fuzz crate changes; the library is untouched.

The guard skipped inputs whose patterns join to more than 50,000 rows, but it counted only the rows after the last pattern. A not-join body runs on the executor pattern by pattern in text order. The nightly's 120-pattern body built hundreds of thousands of partial bindings before its last pattern matched nothing, and timed out after 60 s. That is the known #575 limit, not a new bug. The guard now counts the bindings after every pattern. Coverage on the v3 corpus goes from 9,719 to 9,712 edges over 4,783 inputs. The input is added as a seed and runs in about 145 ms on main.

Refs #597

🤖 Generated with Claude Code

https://claude.ai/code/session_014v6aUco55yj3UScjL28mUP

The guard skipped inputs whose patterns join to more than 50,000 rows but
counted only the rows after the last pattern. A not-join body still runs
on the executor pattern by pattern in text order, so the nightly's
120-pattern body built hundreds of thousands of partial bindings before
its last pattern matched nothing, and timed out after 60 s. That is the
known #575 limit (streaming engine, #546 for negation), not a new bug.

The guard now counts the bindings after every pattern. On the v3 corpus
(4,783 inputs) coverage drops from 9,719 to 9,712 edges. The input is
added as a seed.

Refs #597

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014v6aUco55yj3UScjL28mUP
@codecov
codecov Bot commented Oct 15, 2026
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@adityamukho
adityamukho merged commit b848f39 into main Oct 15, 2026
22 checks passed
@adityamukho
7FB0 adityamukho deleted the fuzz/597-guard-main branch October 15, 2026 03:47
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

0