{
  "schema_version": "1.0",
  "topic_id": "D07-F03-A16",
  "title": "Stochastic Momentum Index",
  "purpose": "machine-readable publication-contract verification",
  "data_class": "synthetic teaching input",
  "selected_formula": "SMI=100*(double-smoothed(C-midpoint_n))/(0.5*double-smoothed(HH_n-LL_n))",
  "canonical_question": "Where does close sit around the range midpoint after double smoothing?",
  "input_contract": "an ordered price or OHLC series, declared lookbacks, smoothing seeds, and denominator policy",
  "scenario_assertions": [
    {
      "name": "canonical",
      "expected_state": "calculated",
      "assertion": "valid and sufficiently warm synthetic input reaches calculation"
    },
    {
      "name": "boundary",
      "expected_state": "waiting",
      "assertion": "one missing observation or unresolved equality is not coerced to zero"
    },
    {
      "name": "failure",
      "expected_state": "invalid",
      "assertion": "non-finite, misordered, future-dated, or basis-mixed input is withheld"
    }
  ],
  "timing_rule": "An output at t may use only finite, basis-consistent observations available through t; chart alignment never moves the information clock backward.",
  "expected_non_claims": [
    "not historical market data",
    "not a forecast",
    "not a trading instruction",
    "not evidence of profitability"
  ],
  "implementation_status": "Python canonical runtime and audited Node/TypeScript adapter released with topic-owned fixtures and tests"
}
