Skip to content

fix(codegen): harden validation edge cases#28

Merged
luisleo526 merged 1 commit into
mainfrom
fix/validation-codegen-gaps
Jun 29, 2026
Merged

fix(codegen): harden validation edge cases#28
luisleo526 merged 1 commit into
mainfrom
fix/validation-codegen-gaps

Conversation

@luisleo526

Copy link
Copy Markdown
Contributor

Summary

  • support typed drawing array constructors and drawing-handle na defaults
  • improve function parameter/return/type inference for validation strategies
  • add function-scoped var one-shot initialization
  • reject mixed-callsite UDF request.security timeframe params instead of silently miscompiling

Verification

  • python3 -m pytest tests/ -q
  • pinescript-scrapper targeted validations
  • broad pinescript-scrapper baseline: 100 exported strategies, ok=86, no-trades=3, transpile-error=11, compile-error=0
  • engine corpus after paired engine test PR: 252 strategies, excellent=251, anomaly=1, fail=0

@luisleo526 luisleo526 merged commit d35f720 into main Jun 29, 2026
9 checks passed
@luisleo526 luisleo526 deleted the fix/validation-codegen-gaps branch June 29, 2026 17:57
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