Skip to content

chore(compat): enforce shared tolerance and warmup policy#11

Merged
TDamiao merged 3 commits intomainfrom
feat/issue-3-compat-policy-proof
Feb 26, 2026
Merged

chore(compat): enforce shared tolerance and warmup policy#11
TDamiao merged 3 commits intomainfrom
feat/issue-3-compat-policy-proof

Conversation

@TDamiao
Copy link
Owner

@TDamiao TDamiao commented Feb 26, 2026

Summary

  • add a single compatibility policy source in scripts/compat-policy.json
  • move per-indicator tolerance and burn-in config out of scripts into that shared policy
  • make JS and Python comparators consume the same policy
  • include policy snapshot in generated compat vectors metadata for reproducibility
  • document indicator-level policy and warmup/alignment rules in README
  • improve TA-Lib missing dependency error messaging in Python compat script

Validation

  • npm.cmd run test:compat:technicalindicators (PASS)
  • npm.cmd run test:compat:python -> explicit dependency failure on local env:
    • TA-Lib unavailable: No module named 'talib'
    • install requirements: pip install -r scripts/requirements-compat.txt

Notes

Refs #3

@TDamiao TDamiao changed the base branch from feat/issue-2-streaming-stateful-api to main February 26, 2026 18:57
@TDamiao TDamiao merged commit b2352fc into main Feb 26, 2026
4 checks passed
@TDamiao TDamiao deleted the feat/issue-3-compat-policy-proof branch February 26, 2026 18: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