Skip to content

Add recurse fuzz subexpression map - #474

Draft
prozacchiwawa wants to merge 4 commits into
20260512-fuzz-variationfrom
cursor/fuzz-recurse-subexpression-map-7c95
Draft

Add recurse fuzz subexpression map#474
prozacchiwawa wants to merge 4 commits into
20260512-fuzz-variationfrom
cursor/fuzz-recurse-subexpression-map-7c95

Conversation

@prozacchiwawa

@prozacchiwawa prozacchiwawa commented May 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add JSON resources mapping modern Chialisp subexpressions to classic equivalents for both recurse and assign fuzz regression programs.
  • Wire the resource fuzz test through those maps so each generated modern variation has an analogous classic variation produced from the same placeholder/template expansion.
  • Add map/source validation to ensure mapped forms parse and exist in their expected resource programs.
  • Constrain assign dummy and tail-call fuzz targets so nested strlen arguments and nth indices remain valid while paired variations are generated.

Testing

  • python3 -m json.tool resources/tests/fuzz_test_assign_bug_1_modern_classic_subexpression_map.json >/tmp/assign-map.json && python3 -m json.tool resources/tests/fuzz_test_recurse_bug_0_modern_classic_subexpression_map.json >/tmp/recurse-map.json
  • cargo test fuzz_resource_subexpression_maps_match_sources
  • cargo test fuzz_resource_program_variations_run -- --nocapture
  • cargo test fuzz_resource
Open in Web Open in Cursor 

cursoragent and others added 4 commits May 12, 2026 18:42
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