Skip to content

Fix precalculated extrema history clock#79

Merged
luisleo526 merged 1 commit into
mainfrom
fix/precalculated-ta-history-clock
Jul 18, 2026
Merged

Fix precalculated extrema history clock#79
luisleo526 merged 1 commit into
mainfrom
fix/precalculated-ta-history-clock

Conversation

@luisleo526

Copy link
Copy Markdown
Contributor

Summary

  • read direct ta.highest/lowest(...)[k] history from the chart-clock precalc vector when that exact static TA site is already precalculated
  • preserve Pine v6 lazy boolean evaluation and the existing evaluation-clock fallback for dynamic, UDF-owned, and other non-precalculated sites
  • reject invalid history offsets before bounded size_t subtraction and preserve fallback expression order

Validation

  • full Python test suite passes
  • Pyodide differential gate passes all 277 fixtures
  • literal and dynamic history-offset C++ compile smoke passes against current engine headers
  • authoritative Filter V2: 153/153 TV-window matches, 100% exact prices, engine 154, Weak 88.3 to Excellent 100.0
  • related Sniper 70: 157/157 TV-window matches, 100% exact prices, engine 158, Weak to Excellent
  • final forced-no-cache community gate: 412/412 accounted, 405 OK, stable 7 expected errors, 0 unresolved timeout, 0 DOWN; board 349 Excellent / 47 Strong / 4 Moderate / 3 Weak

Independent cold review: GO after offset-overflow and non-precalc-extrema guard follow-ups.

@luisleo526
luisleo526 merged commit c5dc699 into main Jul 18, 2026
9 checks passed
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