{
  "schema_version": "fwdvar_diagnostics_v4",
  "issues": [
    {
      "code": "rejected",
      "scope": "expiry",
      "severity": "INFO",
      "expiry_dt": "2027-03-30",
      "interval_from": null,
      "interval_to": null,
      "strike": null,
      "target_key": "2027-03-30",
      "message_short": "Rejected: insufficient_strikes",
      "message_long": "Expiry rejected: insufficient_strikes",
      "metrics": {
        "reject_reason": "insufficient_strikes"
      }
    },
    {
      "code": "baseline_thin",
      "scope": "interval",
      "severity": "INFO",
      "expiry_dt": null,
      "interval_from": "2026-05-19",
      "interval_to": "2026-05-26",
      "strike": null,
      "target_key": "05-19\u219205-26",
      "message_short": "Thin baseline",
      "message_long": "Baseline quality: THIN (few neighbors: 1)",
      "metrics": {
        "baseline_n": 1
      }
    },
    {
      "code": "low_source",
      "scope": "interval",
      "severity": "WARN",
      "expiry_dt": null,
      "interval_from": "2026-05-19",
      "interval_to": "2026-05-26",
      "strike": null,
      "target_key": "05-19\u219205-26",
      "message_short": "LOW confidence",
      "message_long": "Event confidence: LOW (baseline not robust)",
      "metrics": {
        "confidence": "LOW"
      }
    },
    {
      "code": "low_source",
      "scope": "interval",
      "severity": "WARN",
      "expiry_dt": null,
      "interval_from": "2026-05-26",
      "interval_to": "2026-06-02",
      "strike": null,
      "target_key": "05-26\u219206-02",
      "message_short": "LOW confidence",
      "message_long": "Event confidence: LOW (baseline not robust)",
      "metrics": {
        "confidence": "LOW"
      }
    },
    {
      "code": "baseline_fallback",
      "scope": "interval",
      "severity": "WARN",
      "expiry_dt": null,
      "interval_from": "2026-06-02",
      "interval_to": "2026-06-09",
      "strike": null,
      "target_key": "06-02\u219206-09",
      "message_short": "Baseline fallback",
      "message_long": "Baseline quality: FALLBACK (edge case)",
      "metrics": {
        "baseline_n": 0
      }
    },
    {
      "code": "low_source",
      "scope": "interval",
      "severity": "WARN",
      "expiry_dt": null,
      "interval_from": "2026-06-09",
      "interval_to": "2026-06-30",
      "strike": null,
      "target_key": "06-09\u219206-30",
      "message_short": "LOW confidence",
      "message_long": "Event confidence: LOW (baseline not robust)",
      "metrics": {
        "confidence": "LOW"
      }
    },
    {
      "code": "low_source",
      "scope": "interval",
      "severity": "WARN",
      "expiry_dt": null,
      "interval_from": "2026-06-30",
      "interval_to": "2026-07-28",
      "strike": null,
      "target_key": "06-30\u219207-28",
      "message_short": "LOW confidence",
      "message_long": "Event confidence: LOW (baseline not robust)",
      "metrics": {
        "confidence": "LOW"
      }
    },
    {
      "code": "low_source",
      "scope": "interval",
      "severity": "WARN",
      "expiry_dt": null,
      "interval_from": "2026-09-29",
      "interval_to": "2026-12-29",
      "strike": null,
      "target_key": "09-29\u219212-29",
      "message_short": "LOW confidence",
      "message_long": "Event confidence: LOW (baseline not robust)",
      "metrics": {
        "confidence": "LOW"
      }
    },
    {
      "code": "elevated_fwdvol",
      "scope": "interval",
      "severity": "WARN",
      "expiry_dt": null,
      "interval_from": "2026-05-19",
      "interval_to": "2026-05-26",
      "strike": null,
      "target_key": "05-19\u219205-26",
      "message_short": "Elevated fwd vol (33.4%)",
      "message_long": "Forward volatility: 33.4% (threshold: 30%)",
      "metrics": {
        "fwd_vol": 0.33405627469478905,
        "threshold": 0.3
      }
    },
    {
      "code": "elevated_fwdvol",
      "scope": "interval",
      "severity": "WARN",
      "expiry_dt": null,
      "interval_from": "2026-05-26",
      "interval_to": "2026-06-02",
      "strike": null,
      "target_key": "05-26\u219206-02",
      "message_short": "Elevated fwd vol (31.5%)",
      "message_long": "Forward volatility: 31.5% (threshold: 30%)",
      "metrics": {
        "fwd_vol": 0.3146073773230007,
        "threshold": 0.3
      }
    },
    {
      "code": "elevated_fwdvol",
      "scope": "interval",
      "severity": "WARN",
      "expiry_dt": null,
      "interval_from": "2026-06-02",
      "interval_to": "2026-06-09",
      "strike": null,
      "target_key": "06-02\u219206-09",
      "message_short": "Elevated fwd vol (30.5%)",
      "message_long": "Forward volatility: 30.5% (threshold: 30%)",
      "metrics": {
        "fwd_vol": 0.3052670342667101,
        "threshold": 0.3
      }
    },
    {
      "code": "low_coverage",
      "scope": "run",
      "severity": "WARN",
      "expiry_dt": null,
      "interval_from": null,
      "interval_to": null,
      "strike": null,
      "target_key": "run",
      "message_short": "Low coverage (41%)",
      "message_long": "Weighted-mid coverage: 41.1% (threshold: 50%)",
      "metrics": {
        "avg_coverage": 41.14583333333333,
        "threshold": 50.0
      }
    }
  ],
  "summary": {
    "total": 12,
    "fail_count": 0,
    "warn_count": 10,
    "info_count": 2
  },
  "derived": {
    "structure_summary": {
      "iv_7d": {
        "pct": 32.427271990982156,
        "pct_cal": 18.406367638239978,
        "actual_dte": 6,
        "expiry_date": "2026-05-19",
        "tau_eff": 0.005384519987346942,
        "tau_cal": 0.016712123555213322,
        "tau_ratio": 3.103735076568582
      },
      "iv_30d": {
        "pct": 31.96792278620233,
        "pct_cal": 17.90362051577546,
        "actual_dte": 27,
        "expiry_date": "2026-06-09",
        "tau_eff": 0.023275429800759462,
        "tau_cal": 0.07420699008498745,
        "tau_ratio": 3.1882113765549507
      },
      "iv_90d": {
        "pct": 29.463788429988973,
        "pct_cal": 16.516053239125565,
        "actual_dte": 76,
        "expiry_date": "2026-07-28",
        "tau_eff": 0.0654716402362618,
        "tau_cal": 0.20836167865446042,
        "tau_ratio": 3.1824722567292314
      },
      "front_slope_pct": -0.45934920477982977,
      "back_slope_pct": -2.5041343562133553,
      "max_fwd_vol_pct": 33.4056274694789,
      "max_fwd_vol_interval": {
        "from": "2026-05-19",
        "to": "2026-05-26"
      },
      "max_fwd_vol_dte_range": {
        "start_dte": 6,
        "end_dte": 13
      },
      "neg_interval_count": 0,
      "clock_primary": "variance_time",
      "clock_secondary": "calendar",
      "vt_vintage": "202604",
      "beta_on": 0.14112572167590545,
      "beta_we": 0.18483076859226696,
      "quote_context_dt": "2026-05-13T13:00:05.489694+05:30",
      "effective_quote_policy": "weighted_mid",
      "tau_mode_math": "variance_time",
      "rr_25d": null,
      "fly_25d": null,
      "put_iv_25d": null,
      "call_iv_25d": null,
      "rr_fly_diagnostics": null
    },
    "interval_leaderboard": {
      "highest": [
        {
          "from": "2026-05-19",
          "to": "2026-05-26",
          "start_dte": 6,
          "end_dte": 13,
          "forward_vol": 0.33405627469478905,
          "forward_variance": 0.11159359466296036
        },
        {
          "from": "2026-05-26",
          "to": "2026-06-02",
          "start_dte": 13,
          "end_dte": 20,
          "forward_vol": 0.3146073773230007,
          "forward_variance": 0.09897780186605694
        },
        {
          "from": "2026-06-02",
          "to": "2026-06-09",
          "start_dte": 20,
          "end_dte": 27,
          "forward_vol": 0.3052670342667101,
          "forward_variance": 0.09318796220999274
        },
        {
          "from": "2026-06-09",
          "to": "2026-06-30",
          "start_dte": 27,
          "end_dte": 48,
          "forward_vol": 0.2927955685315846,
          "forward_variance": 0.08572924495173387
        },
        {
          "from": "2026-06-30",
          "to": "2026-07-28",
          "start_dte": 48,
          "end_dte": 76,
          "forward_vol": 0.270043085729516,
          "forward_variance": 0.07292326815031874
        }
      ],
      "lowest": [
        {
          "from": "2026-09-29",
          "to": "2026-12-29",
          "start_dte": 139,
          "end_dte": 230,
          "forward_vol": 0.2074201142259452,
          "forward_variance": 0.04302310378550415
        },
        {
          "from": "2026-07-28",
          "to": "2026-09-29",
          "start_dte": 76,
          "end_dte": 139,
          "forward_vol": 0.25105740400989046,
          "forward_variance": 0.06302982010818536
        },
        {
          "from": "2026-06-30",
          "to": "2026-07-28",
          "start_dte": 48,
          "end_dte": 76,
          "forward_vol": 0.270043085729516,
          "forward_variance": 0.07292326815031874
        },
        {
          "from": "2026-06-09",
          "to": "2026-06-30",
          "start_dte": 27,
          "end_dte": 48,
          "forward_vol": 0.2927955685315846,
          "forward_variance": 0.08572924495173387
        },
        {
          "from": "2026-06-02",
          "to": "2026-06-09",
          "start_dte": 20,
          "end_dte": 27,
          "forward_vol": 0.3052670342667101,
          "forward_variance": 0.09318796220999274
        }
      ],
      "neg_intervals": []
    },
    "forward_volatility_matrix": {
      "schema_version": "fwdvol_matrix_v2",
      "status": "available",
      "expiry_filter_policy_version": "usable_expiries_v1",
      "expiry_dates": [
        "2026-05-19",
        "2026-05-26",
        "2026-06-02",
        "2026-06-09",
        "2026-06-30",
        "2026-07-28",
        "2026-09-29",
        "2026-12-29"
      ],
      "dte_days": [
        6,
        13,
        20,
        27,
        48,
        76,
        139,
        230
      ],
      "matrix_fwdvol_pct": [
        [
          null,
          33.4056274694789,
          32.481080755594554,
          31.828377392886825,
          30.583692484577153,
          29.183536999477884,
          27.322042276529256,
          24.874694428047583
        ],
        [
          null,
          null,
          31.46073773230007,
          30.981217786959505,
          29.969188334069962,
          28.667556717802146,
          26.938932901433045,
          24.54475637557075
        ],
        [
          null,
          null,
          null,
          30.52670342667101,
          29.60276846393682,
          28.320089376447033,
          26.66577336275104,
          24.29424293246657
        ],
        [
          null,
          null,
          null,
          null,
          29.27955685315846,
          27.98678978982322,
          26.40305975908265,
          24.046754261368164
        ],
        [
          null,
          null,
          null,
          null,
          null,
          27.0043085729516,
          25.708560420441152,
          23.37682056660725
        ],
        [
          null,
          null,
          null,
          null,
          null,
          null,
          25.105740400989045,
          22.642733347563087
        ],
        [
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          20.74201142259452
        ],
        [
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null
        ]
      ],
      "neg_mask": [
        [
          false,
          false,
          false,
          false,
          false,
          false,
          false,
          false
        ],
        [
          false,
          false,
          false,
          false,
          false,
          false,
          false,
          false
        ],
        [
          false,
          false,
          false,
          false,
          false,
          false,
          false,
          false
        ],
        [
          false,
          false,
          false,
          false,
          false,
          false,
          false,
          false
        ],
        [
          false,
          false,
          false,
          false,
          false,
          false,
          false,
          false
        ],
        [
          false,
          false,
          false,
          false,
          false,
          false,
          false,
          false
        ],
        [
          false,
          false,
          false,
          false,
          false,
          false,
          false,
          false
        ],
        [
          false,
          false,
          false,
          false,
          false,
          false,
          false,
          false
        ]
      ],
      "clip": {
        "method": "percentile",
        "p_lo": 5,
        "p_hi": 95,
        "vmin": 22.899663874228544,
        "vmax": 32.25263457864685
      },
      "usable_count": 8,
      "excluded": []
    },
    "expiry_quality_summary": {
      "schema_version": "expiry_quality_summary_v1",
      "filter_policy_version": "usable_expiries_v1",
      "total_count": 9,
      "usable_count": 8,
      "excluded": [
        {
          "expiry_date": "2027-03-30",
          "dte_days": 321,
          "reject_reason": "insufficient_strikes",
          "accept_tier": null,
          "why": "insufficient_strikes"
        }
      ]
    },
    "build_metadata": {
      "git_commit": "03335c95",
      "build_timestamp": "2026-05-13T07:30:10.944421+00:00",
      "python_version": "3.13"
    },
    "request_echo": {
      "event_windows_requested": false,
      "sliding_windows_requested": false,
      "diagnostics_level": "lite",
      "tau_mode": "variance_time",
      "event_windows_exported": false,
      "event_windows_count": 0,
      "sliding_windows_exported": false,
      "ui_presets_exported": true,
      "ui_presets_events_count": 0,
      "ui_presets_missing_reason": null,
      "required_iv_tenors": []
    },
    "ui_limits": {
      "max_horizon_days": 56,
      "max_horizon_label": "8w_liquid",
      "min_horizon_days": 0,
      "tz": "Asia/Kolkata",
      "notes": "UI clamps horizon; avoid LEAPS/illiquid expiries beyond 8 weeks"
    },
    "ui_capabilities": {
      "schema_version": "ui_capabilities_v1",
      "generated_at_utc": "2026-05-13T07:30:10.945403+00:00",
      "source": "volstrats.analytics.ui_capabilities.build_ui_capabilities",
      "filter_policy": {
        "name": "UI_GRADE",
        "version": "usable_expiries_v1"
      },
      "missing_reason": null,
      "features": {
        "forward_matrix_json": false,
        "quote_cards_html": false,
        "event_window_tool": false,
        "sliding_windows": false,
        "smile_density_plots": false,
        "chain_snapshots": false,
        "carry_data": true
      },
      "counts": {
        "usable_expiries": 8,
        "excluded_expiries": 1,
        "neg_cells": 0,
        "issues_fail": 0,
        "issues_warn": 10
      }
    },
    "ui_presets": {
      "schema_version": "ui_presets_v1",
      "generated_at_utc": "2026-05-13T07:30:10.950342+00:00",
      "asof_iso": "2026-05-13T13:00:05.489694+05:30",
      "asof_source": "structure_summary.quote_context_dt",
      "horizon_days": 56,
      "tz": "Asia/Kolkata",
      "source": "market_calendar.list_upcoming_events",
      "id_namespace": "market_calendar",
      "id_format": "CATEGORY_YYYYMM",
      "events": []
    }
  }
}