KLKLine FrontendDashboard · Preview · Embed shell

contract QA

KLine data quality audit

این صفحه normalizerهای فرانت را با سناریوهای مهم دیتای کندل تست می‌کند: ترتیب صعودی، تبدیل seconds به milliseconds، replace شدن duplicate timestamp، رد شدن order غلط، رد شدن OHLC خراب و empty payload.

all scenarios pass

Checked at: 7/15/2026, 6:33:07 AM

pass

Ascending millisecond timestamps

Normalizer accepted the payload and returned runtime-safe candles.

Candles: 2

  • timestamps stay in milliseconds
  • candles are ascending before runtime
pass

Seconds timestamp normalization

Normalizer accepted the payload and returned runtime-safe candles.

Candles: 2

  • seconds timestamps convert to milliseconds
  • compact backend aliases are accepted
pass

Duplicate timestamp replacement

Normalizer accepted the payload and returned runtime-safe candles.

Candles: 2

  • same timestamp replaces latest candle
  • duplicates do not reach chart runtime
pass

Invalid order is rejected

Rejected as expected with BARS_INVALID_ORDER.

  • backend must sort ascending
  • client refuses descending candle arrays
pass

Invalid OHLC is rejected

Rejected as expected with BARS_EMPTY.

  • high/low consistency check
  • bad candles become controlled data errors
pass

Empty payload is rejected

Rejected as expected with BARS_EMPTY.

  • empty bars show empty/error UI
  • runtime is not initialized with blank bad data