{
  "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.31869198764910006,
        "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 (30.6%)",
      "message_long": "Forward volatility: 30.6% (threshold: 30%)",
      "metrics": {
        "fwd_vol": 0.30649545326711397,
        "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 (30.8%)",
      "message_long": "Forward volatility: 30.8% (threshold: 30%)",
      "metrics": {
        "fwd_vol": 0.30832937762047724,
        "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 (30%)",
      "message_long": "Weighted-mid coverage: 30.3% (threshold: 50%)",
      "metrics": {
        "avg_coverage": 30.3125,
        "threshold": 50.0
      }
    }
  ],
  "summary": {
    "total": 12,
    "fail_count": 0,
    "warn_count": 9,
    "info_count": 3
  },
  "derived": {
    "structure_summary": {
      "iv_7d": {
        "pct": 28.85644451437102,
        "pct_cal": 16.532127312275502,
        "actual_dte": 7,
        "expiry_date": "2026-05-12",
        "tau_eff": 0.006383982018539302,
        "tau_cal": 0.019450009226810654,
        "tau_ratio": 3.0466892247389112
      },
      "iv_30d": {
        "pct": 30.54725623744381,
        "pct_cal": 17.157776574181227,
        "actual_dte": 28,
        "expiry_date": "2026-06-02",
        "tau_eff": 0.02427489183195182,
        "tau_cal": 0.07694487575658478,
        "tau_ratio": 3.169730942129518
      },
      "iv_90d": {
        "pct": 28.167094809835135,
        "pct_cal": 15.81269187585269,
        "actual_dte": 84,
        "expiry_date": "2026-07-28",
        "tau_eff": 0.07256956682279511,
        "tau_cal": 0.23026451983598248,
        "tau_ratio": 3.17301769760121
      },
      "front_slope_pct": 1.6908117230727882,
      "back_slope_pct": -2.3801614276086736,
      "max_fwd_vol_pct": 31.869198764910006,
      "max_fwd_vol_interval": {
        "from": "2026-05-12",
        "to": "2026-05-19"
      },
      "max_fwd_vol_dte_range": {
        "start_dte": 7,
        "end_dte": 14
      },
      "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-05T13:00:04.388824+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-12",
          "to": "2026-05-19",
          "start_dte": 7,
          "end_dte": 14,
          "forward_vol": 0.31869198764910006,
          "forward_variance": 0.10156458299173414
        },
        {
          "from": "2026-05-26",
          "to": "2026-06-02",
          "start_dte": 21,
          "end_dte": 28,
          "forward_vol": 0.30832937762047724,
          "forward_variance": 0.09506700510383084
        },
        {
          "from": "2026-05-19",
          "to": "2026-05-26",
          "start_dte": 14,
          "end_dte": 21,
          "forward_vol": 0.30649545326711397,
          "forward_variance": 0.09393946287341365
        },
        {
          "from": "2026-06-02",
          "to": "2026-06-30",
          "start_dte": 28,
          "end_dte": 56,
          "forward_vol": 0.2808872445474202,
          "forward_variance": 0.07889764414944224
        },
        {
          "from": "2026-06-30",
          "to": "2026-07-28",
          "start_dte": 56,
          "end_dte": 84,
          "forward_vol": 0.2566392060274698,
          "forward_variance": 0.0658636820704101
        }
      ],
      "lowest": [
        {
          "from": "2026-07-28",
          "to": "2026-12-29",
          "start_dte": 84,
          "end_dte": 238,
          "forward_vol": 0.2353788765063537,
          "forward_variance": 0.05540321550539331
        },
        {
          "from": "2026-06-30",
          "to": "2026-07-28",
          "start_dte": 56,
          "end_dte": 84,
          "forward_vol": 0.2566392060274698,
          "forward_variance": 0.0658636820704101
        },
        {
          "from": "2026-06-02",
          "to": "2026-06-30",
          "start_dte": 28,
          "end_dte": 56,
          "forward_vol": 0.2808872445474202,
          "forward_variance": 0.07889764414944224
        },
        {
          "from": "2026-05-19",
          "to": "2026-05-26",
          "start_dte": 14,
          "end_dte": 21,
          "forward_vol": 0.30649545326711397,
          "forward_variance": 0.09393946287341365
        },
        {
          "from": "2026-05-26",
          "to": "2026-06-02",
          "start_dte": 21,
          "end_dte": 28,
          "forward_vol": 0.30832937762047724,
          "forward_variance": 0.09506700510383084
        }
      ],
      "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.869198764910006,
          31.265319914015578,
          31.12836105467914,
          29.428442237755647,
          28.099708796546825,
          25.153785606430546
        ],
        [
          null,
          null,
          30.649545326711397,
          30.738232951308525,
          28.99087377143746,
          27.68845895384724,
          24.91090730922062
        ],
        [
          null,
          null,
          null,
          30.832937762047724,
          28.63714324570232,
          27.33382359787878,
          24.700137657526845
        ],
        [
          null,
          null,
          null,
          null,
          28.08872445474202,
          26.891286897440686,
          24.48140090012766
        ],
        [
          null,
          null,
          null,
          null,
          null,
          25.66392060274698,
          23.882034298364417
        ],
        [
          null,
          null,
          null,
          null,
          null,
          null,
          23.53788765063537
        ],
        [
          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.882034298364417,
        "vmax": 31.265319914015578
      },
      "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": "b6e5af72",
      "build_timestamp": "2026-05-05T07:30:09.229330+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-05T07:30:09.229954+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": 9
      }
    },
    "ui_presets": {
      "schema_version": "ui_presets_v1",
      "generated_at_utc": "2026-05-05T07:30:09.233430+00:00",
      "asof_iso": "2026-05-05T13:00:04.388824+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": []
    }
  }
}