Skip to content

Add CSE logical tree fuzz test - #479

Draft
prozacchiwawa wants to merge 6 commits into
mainfrom
cursor/cse-logical-tree-fuzzer-36a5
Draft

Add CSE logical tree fuzz test#479
prozacchiwawa wants to merge 6 commits into
mainfrom
cursor/cse-logical-tree-fuzzer-36a5

Conversation

@prozacchiwawa

@prozacchiwawa prozacchiwawa commented May 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a deterministic CSE fuzz test that generates logical tree specifications with Scalar and Condition entries.
  • Render guarded Chialisp retrieval programs with randomized if/let/let*/assign wrapper stacks up to depth 6.
  • Construct matching argument trees from satisfied specs and assert compiled program output matches the generated specification.
  • Define a local lazy and macro for the generated programs so prerequisite guards can be rendered as requested.
  • Keep generated program sizes and default iteration count bounded while preserving depth-6 wrapper stacks.

Testing

  • cargo test test_cse_logical_tree_fuzz -- --nocapture
Open in Web Open in Cursor 

cursoragent and others added 6 commits May 13, 2026 17:52
Co-authored-by: arty <prozacchiwawa@users.noreply.github.com>
Co-authored-by: arty <prozacchiwawa@users.noreply.github.com>
Co-authored-by: arty <prozacchiwawa@users.noreply.github.com>
Co-authored-by: arty <prozacchiwawa@users.noreply.github.com>
Co-authored-by: arty <prozacchiwawa@users.noreply.github.com>
Co-authored-by: arty <prozacchiwawa@users.noreply.github.com>
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.

2 participants