{
  "schema_version": "1.0",
  "topic_id": "D06-F02-A12",
  "title": "High-Wave Candle",
  "purpose": "machine-readable publication-contract verification",
  "data_class": "synthetic teaching input",
  "selected_formula": "body/range <= tau_small and upper_shadow/body >= k and lower_shadow/body >= k",
  "canonical_question": "Does a small body sit between unusually long two-sided shadows?",
  "input_contract": "one closed OHLC candle, tick size, prior-only reference scales, and optional prior-trend context",
  "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": "The label becomes available only after the final candle in the selected pattern has closed; prior-trend context must use observations available before that close.",
  "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"
}
