Skip to content

Preserve callable history parameter types#92

Merged
luisleo526 merged 1 commit into
mainfrom
codex/fix-int-history-series-types
Jul 20, 2026
Merged

Preserve callable history parameter types#92
luisleo526 merged 1 commit into
mainfrom
codex/fix-int-history-series-types

Conversation

@luisleo526

Copy link
Copy Markdown
Contributor

Summary

  • propagate exact bool, int, int64, and float Series types through callable history reads
  • preserve type and NA width through aliases, wrappers, terminal selections, nz/fixnan, and reassignment
  • fail closed when history use cannot resolve one safe parameter profile
  • add Pine v6 compile/runtime regressions for direct UDFs, methods, nested wrappers, first-bar NA, and mutable aliases

Validation

  • focused native lifecycle probes: 15/15 passed
  • private adversarial probes: 3/3 passed
  • complete native pytest suite: passed
  • Pyodide gate: 277/277 classified, including 263 OK and 14 expected errors
  • frozen exact915: 903 OK and 12 expected errors, zero status drift
  • 186 changed generated outputs: native A/B found zero candidate regressions
  • fresh same-engine Standard A/B: 134/134 tape, tier, metrics, gates, inputs, and source hashes identical
    • all 119 affected Excellent rows were byte-identical
    • all 14 affected graded non-Excellent rows were identical

This is a correctness milestone and intentionally score-neutral: it removes callable history type corruption without changing validated strategy behavior.

@luisleo526
luisleo526 merged commit 9eff12b into main Jul 20, 2026
9 checks passed
@luisleo526
luisleo526 deleted the codex/fix-int-history-series-types branch July 20, 2026 15:44
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