{
  "schema_version": "fwdvar_diagnostics_v4",
  "issues": [
    {
      "code": "rejected",
      "scope": "expiry",
      "severity": "INFO",
      "expiry_dt": "2026-09-29",
      "interval_from": null,
      "interval_to": null,
      "strike": null,
      "target_key": "2026-09-29",
      "message_short": "Rejected: missing_quotes",
      "message_long": "Expiry rejected: missing_quotes",
      "metrics": {
        "reject_reason": "missing_quotes"
      }
    },
    {
      "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": "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-30",
      "strike": null,
      "target_key": "06-02\u219206-30",
      "message_short": "Baseline fallback",
      "message_long": "Baseline quality: FALLBACK (edge case)",
      "metrics": {
        "baseline_n": 1
      }
    },
    {
      "code": "baseline_thin",
      "scope": "interval",
      "severity": "INFO",
      "expiry_dt": null,
      "interval_from": "2026-06-30",
      "interval_to": "2026-07-28",
      "strike": null,
      "target_key": "06-30\u219207-28",
      "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-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-07-28",
      "interval_to": "2026-12-29",
      "strike": null,
      "target_key": "07-28\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-12",
      "interval_to": "2026-05-19",
      "strike": null,
      "target_key": "05-12\u219205-19",
      "message_short": "Elevated fwd vol (31.9%)",
      "message_long": "Forward volatility: 31.9% (threshold: 30%)",
      "metrics": {
        "fwd_vol": 0.3190298853153669,
        "threshold": 0.3
      }
    },
    {
      "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 (32.4%)",
      "message_long": "Forward volatility: 32.4% (threshold: 30%)",
      "metrics": {
        "fwd_vol": 0.3240692234660553,
        "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 (40%)",
      "message_long": "Weighted-mid coverage: 40.3% (threshold: 50%)",
      "metrics": {
        "avg_coverage": 40.3125,
        "threshold": 50.0
      }
    }
  ],
  "summary": {
    "total": 11,
    "fail_count": 0,
    "warn_count": 8,
    "info_count": 3
  },
  "derived": {
    "structure_summary": {
      "iv_7d": {
        "pct": 31.097163644580235,
        "pct_cal": 18.17924786798471,
        "actual_dte": 7,
        "expiry_date": "2026-05-12",
        "tau_eff": 0.006783514673758734,
        "tau_cal": 0.019849268416831444,
        "tau_ratio": 2.9261038519775178
      },
      "iv_30d": {
        "pct": 30.775282135450073,
        "pct_cal": 17.38248509876439,
        "actual_dte": 28,
        "expiry_date": "2026-06-02",
        "tau_eff": 0.02467442448717125,
        "tau_cal": 0.07734413494660558,
        "tau_ratio": 3.1345871911548904
      },
      "iv_90d": {
        "pct": 28.495921968277553,
        "pct_cal": 16.027378922021914,
        "actual_dte": 84,
        "expiry_date": "2026-07-28",
        "tau_eff": 0.07296909947801454,
        "tau_cal": 0.2306637790260032,
        "tau_ratio": 3.16111587885913
      },
      "front_slope_pct": -0.3218815091301619,
      "back_slope_pct": -2.279360167172517,
      "max_fwd_vol_pct": 32.40692234660553,
      "max_fwd_vol_interval": {
        "from": "2026-05-19",
        "to": "2026-05-26"
      },
      "max_fwd_vol_dte_range": {
        "start_dte": 14,
        "end_dte": 21
      },
      "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-05T09:30:04.727009+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": 14,
          "end_dte": 21,
          "forward_vol": 0.3240692234660553,
          "forward_variance": 0.1050208615978921
        },
        {
          "from": "2026-05-12",
          "to": "2026-05-19",
          "start_dte": 7,
          "end_dte": 14,
          "forward_vol": 0.3190298853153669,
          "forward_variance": 0.10178006772433618
        },
        {
          "from": "2026-06-02",
          "to": "2026-06-30",
          "start_dte": 28,
          "end_dte": 56,
          "forward_vol": 0.2888184063146729,
          "forward_variance": 0.0834160718261475
        },
        {
          "from": "2026-05-26",
          "to": "2026-06-02",
          "start_dte": 21,
          "end_dte": 28,
          "forward_vol": 0.27152788321850874,
          "forward_variance": 0.07372739136512411
        },
        {
          "from": "2026-06-30",
          "to": "2026-07-28",
          "start_dte": 56,
          "end_dte": 84,
          "forward_vol": 0.25566925690974196,
          "forward_variance": 0.06536676892877964
        }
      ],
      "lowest": [
        {
          "from": "2026-07-28",
          "to": "2026-12-29",
          "start_dte": 84,
          "end_dte": 238,
          "forward_vol": 0.23529122543471576,
          "forward_variance": 0.05536196076657023
        },
        {
          "from": "2026-06-30",
          "to": "2026-07-28",
          "start_dte": 56,
          "end_dte": 84,
          "forward_vol": 0.25566925690974196,
          "forward_variance": 0.06536676892877964
        },
        {
          "from": "2026-05-26",
          "to": "2026-06-02",
          "start_dte": 21,
          "end_dte": 28,
          "forward_vol": 0.27152788321850874,
          "forward_variance": 0.07372739136512411
        },
        {
          "from": "2026-06-02",
          "to": "2026-06-30",
          "start_dte": 28,
          "end_dte": 56,
          "forward_vol": 0.2888184063146729,
          "forward_variance": 0.0834160718261475
        },
        {
          "from": "2026-05-12",
          "to": "2026-05-19",
          "start_dte": 7,
          "end_dte": 14,
          "forward_vol": 0.3190298853153669,
          "forward_variance": 0.10178006772433618
        }
      ],
      "neg_intervals": []
    },
    "forward_volatility_matrix": {
      "schema_version": "fwdvol_matrix_v2",
      "status": "available",
      "expiry_filter_policy_version": "usable_expiries_v1",
      "expiry_dates": [
        "2026-05-12",
        "2026-05-19",
        "2026-05-26",
        "2026-06-02",
        "2026-06-30",
        "2026-07-28",
        "2026-12-29"
      ],
      "dte_days": [
        7,
        14,
        21,
        28,
        56,
        84,
        238
      ],
      "matrix_fwdvol_pct": [
        [
          null,
          31.902988531536693,
          32.155942632912215,
          30.65235384189842,
          29.652735733394376,
          28.21576892895181,
          25.19169083849385
        ],
        [
          null,
          null,
          32.40692234660553,
          29.98513189071179,
          29.25095275940825,
          27.814230146048143,
          24.949024688294667
        ],
        [
          null,
          null,
          null,
          27.152788321850874,
          28.557308837090595,
          27.246829497256762,
          24.66628222418051
        ],
        [
          null,
          null,
          null,
          null,
          28.88184063146729,
          27.257895645571413,
          24.583642869129452
        ],
        [
          null,
          null,
          null,
          null,
          null,
          25.566925690974195,
          23.858502482675938
        ],
        [
          null,
          null,
          null,
          null,
          null,
          null,
          23.529122543471576
        ],
        [
          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
        ]
      ],
      "clip": {
        "method": "percentile",
        "p_lo": 5,
        "p_hi": 95,
        "vmin": 23.858502482675938,
        "vmax": 32.155942632912215
      },
      "usable_count": 7,
      "excluded": []
    },
    "expiry_quality_summary": {
      "schema_version": "expiry_quality_summary_v1",
      "filter_policy_version": "usable_expiries_v1",
      "total_count": 9,
      "usable_count": 7,
      "excluded": [
        {
          "expiry_date": "2026-09-29",
          "dte_days": 147,
          "reject_reason": "missing_quotes",
          "accept_tier": null,
          "why": "missing_quotes"
        },
        {
          "expiry_date": "2027-03-30",
          "dte_days": 329,
          "reject_reason": "insufficient_strikes",
          "accept_tier": null,
          "why": "insufficient_strikes"
        }
      ]
    },
    "build_metadata": {
      "git_commit": "a1881370",
      "build_timestamp": "2026-05-05T04:00:09.523092+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-05T04:00:09.523463+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": 7,
        "excluded_expiries": 2,
        "neg_cells": 0,
        "issues_fail": 0,
        "issues_warn": 8
      }
    },
    "ui_presets": {
      "schema_version": "ui_presets_v1",
      "generated_at_utc": "2026-05-05T04:00:09.525861+00:00",
      "asof_iso": "2026-05-05T09:30:04.727009+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": []
    }
  }
}