{
  "schema_version": "fwdvar_diagnostics_v4",
  "issues": [
    {
      "code": "sparse_chain",
      "scope": "expiry",
      "severity": "INFO",
      "expiry_dt": "2026-05-05",
      "interval_from": null,
      "interval_to": null,
      "strike": null,
      "target_key": "2026-05-05",
      "message_short": "Sparse chain",
      "message_long": "Option chain is sparse (fewer strikes than normal)",
      "metrics": {
        "n_pairs_atm": 4,
        "min_pairs_required": 5
      }
    },
    {
      "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-04-13",
      "interval_to": "2026-04-21",
      "strike": null,
      "target_key": "04-13\u219204-21",
      "message_short": "LOW confidence",
      "message_long": "Event confidence: LOW (baseline not robust)",
      "metrics": {
        "confidence": "LOW"
      }
    },
    {
      "code": "baseline_thin",
      "scope": "interval",
      "severity": "INFO",
      "expiry_dt": null,
      "interval_from": "2026-04-21",
      "interval_to": "2026-04-28",
      "strike": null,
      "target_key": "04-21\u219204-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-04-21",
      "interval_to": "2026-04-28",
      "strike": null,
      "target_key": "04-21\u219204-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-04-28",
      "interval_to": "2026-05-05",
      "strike": null,
      "target_key": "04-28\u219205-05",
      "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-04-13",
      "interval_to": "2026-04-21",
      "strike": null,
      "target_key": "04-13\u219204-21",
      "message_short": "Elevated fwd vol (45.6%)",
      "message_long": "Forward volatility: 45.6% (threshold: 30%)",
      "metrics": {
        "fwd_vol": 0.45600827830659413,
        "threshold": 0.3
      }
    },
    {
      "code": "elevated_fwdvol",
      "scope": "interval",
      "severity": "WARN",
      "expiry_dt": null,
      "interval_from": "2026-04-21",
      "interval_to": "2026-04-28",
      "strike": null,
      "target_key": "04-21\u219204-28",
      "message_short": "Elevated fwd vol (42.9%)",
      "message_long": "Forward volatility: 42.9% (threshold: 30%)",
      "metrics": {
        "fwd_vol": 0.4285401263721667,
        "threshold": 0.3
      }
    },
    {
      "code": "elevated_fwdvol",
      "scope": "interval",
      "severity": "WARN",
      "expiry_dt": null,
      "interval_from": "2026-05-05",
      "interval_to": "2026-05-26",
      "strike": null,
      "target_key": "05-05\u219205-26",
      "message_short": "Elevated fwd vol (38.3%)",
      "message_long": "Forward volatility: 38.3% (threshold: 30%)",
      "metrics": {
        "fwd_vol": 0.38322569518279126,
        "threshold": 0.3
      }
    },
    {
      "code": "elevated_fwdvol",
      "scope": "interval",
      "severity": "WARN",
      "expiry_dt": null,
      "interval_from": "2026-05-26",
      "interval_to": "2026-06-30",
      "strike": null,
      "target_key": "05-26\u219206-30",
      "message_short": "Elevated fwd vol (30.5%)",
      "message_long": "Forward volatility: 30.5% (threshold: 30%)",
      "metrics": {
        "fwd_vol": 0.30452809741721015,
        "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 (33%)",
      "message_long": "Weighted-mid coverage: 33.2% (threshold: 50%)",
      "metrics": {
        "avg_coverage": 33.19530710835058,
        "threshold": 50.0
      }
    }
  ],
  "summary": {
    "total": 12,
    "fail_count": 0,
    "warn_count": 9,
    "info_count": 3
  },
  "derived": {
    "structure_summary": {
      "iv_7d": {
        "pct": 52.566127989734746,
        "pct_cal": 30.479824455886085,
        "actual_dte": 6,
        "expiry_date": "2026-04-13",
        "tau_eff": 0.005753072278236651,
        "tau_cal": 0.01711145280344513,
        "tau_ratio": 2.974315631002273
      },
      "iv_30d": {
        "pct": 43.651143545843105,
        "pct_cal": 24.352966572026,
        "actual_dte": 28,
        "expiry_date": "2026-05-05",
        "tau_eff": 0.024073546672151926,
        "tau_cal": 0.07734417012035136,
        "tau_ratio": 3.212828220688497
      },
      "iv_90d": {
        "pct": 37.323393697283436,
        "pct_cal": 20.799637086772833,
        "actual_dte": 84,
        "expiry_date": "2026-06-30",
        "tau_eff": 0.07163557187124761,
        "tau_cal": 0.23066381419974902,
        "tau_ratio": 3.219961929170145
      },
      "front_slope_pct": -8.914984443891644,
      "back_slope_pct": -6.327749848559666,
      "max_fwd_vol_pct": 45.60082783065941,
      "max_fwd_vol_interval": {
        "from": "2026-04-13",
        "to": "2026-04-21"
      },
      "max_fwd_vol_dte_range": {
        "start_dte": 6,
        "end_dte": 14
      },
      "neg_interval_count": 0,
      "clock_primary": "variance_time",
      "clock_secondary": "calendar",
      "vt_vintage": "202603",
      "beta_on": 0.12931315994459922,
      "beta_we": 0.19024823173932068,
      "quote_context_dt": "2026-04-07T09:30:03.617010+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-04-13",
          "to": "2026-04-21",
          "start_dte": 6,
          "end_dte": 14,
          "forward_vol": 0.45600827830659413,
          "forward_variance": 0.2079435498841442
        },
        {
          "from": "2026-04-21",
          "to": "2026-04-28",
          "start_dte": 14,
          "end_dte": 21,
          "forward_vol": 0.4285401263721667,
          "forward_variance": 0.18364663991107263
        },
        {
          "from": "2026-05-05",
          "to": "2026-05-26",
          "start_dte": 28,
          "end_dte": 49,
          "forward_vol": 0.38322569518279126,
          "forward_variance": 0.14686193344833362
        },
        {
          "from": "2026-05-26",
          "to": "2026-06-30",
          "start_dte": 49,
          "end_dte": 84,
          "forward_vol": 0.30452809741721015,
          "forward_variance": 0.09273736211654585
        },
        {
          "from": "2026-04-28",
          "to": "2026-05-05",
          "start_dte": 21,
          "end_dte": 28,
          "forward_vol": 0.29813092036594213,
          "forward_variance": 0.08888204567824373
        }
      ],
      "lowest": [
        {
          "from": "2026-09-29",
          "to": "2026-12-29",
          "start_dte": 175,
          "end_dte": 266,
          "forward_vol": 0.23281628580630412,
          "forward_variance": 0.05420342293664268
        },
        {
          "from": "2026-06-30",
          "to": "2026-09-29",
          "start_dte": 84,
          "end_dte": 175,
          "forward_vol": 0.23307716647322752,
          "forward_variance": 0.05432496553118861
        },
        {
          "from": "2026-04-28",
          "to": "2026-05-05",
          "start_dte": 21,
          "end_dte": 28,
          "forward_vol": 0.29813092036594213,
          "forward_variance": 0.08888204567824373
        },
        {
          "from": "2026-05-26",
          "to": "2026-06-30",
          "start_dte": 49,
          "end_dte": 84,
          "forward_vol": 0.30452809741721015,
          "forward_variance": 0.09273736211654585
        },
        {
          "from": "2026-05-05",
          "to": "2026-05-26",
          "start_dte": 28,
          "end_dte": 49,
          "forward_vol": 0.38322569518279126,
          "forward_variance": 0.14686193344833362
        }
      ],
      "neg_intervals": []
    },
    "forward_volatility_matrix": {
      "schema_version": "fwdvol_matrix_v2",
      "status": "available",
      "expiry_filter_policy_version": "usable_expiries_v1",
      "expiry_dates": [
        "2026-04-13",
        "2026-04-21",
        "2026-04-28",
        "2026-05-05",
        "2026-05-26",
        "2026-06-30",
        "2026-09-29",
        "2026-12-29"
      ],
      "dte_days": [
        6,
        14,
        21,
        28,
        49,
        84,
        175,
        266
      ],
      "matrix_fwdvol_pct": [
        [
          null,
          45.60082783065941,
          44.31818647323253,
          40.448239467556526,
          39.405289383772214,
          35.68457293267514,
          29.61957044654944,
          27.574992939590526
        ],
        [
          null,
          null,
          42.85401263721667,
          37.1637834673265,
          37.8738877159473,
          34.38486990293998,
          28.614068933806752,
          26.818611807890093
        ],
        [
          null,
          null,
          null,
          29.813092036594213,
          36.49654371296549,
          33.28575551786891,
          27.783249053903692,
          26.20755776743813
        ],
        [
          null,
          null,
          null,
          null,
          38.322569518279124,
          33.67032720336167,
          27.689518036913817,
          26.101132980188176
        ],
        [
          null,
          null,
          null,
          null,
          null,
          30.452809741721016,
          25.463233764791415,
          24.57571285313678
        ],
        [
          null,
          null,
          null,
          null,
          null,
          null,
          23.307716647322753,
          23.294759657575852
        ],
        [
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          23.28162858063041
        ],
        [
          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": 23.299294603987267,
        "vmax": 43.805725630626974
      },
      "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": 357,
          "reject_reason": "insufficient_strikes",
          "accept_tier": null,
          "why": "insufficient_strikes"
        }
      ]
    },
    "build_metadata": {
      "git_commit": "e88dc459",
      "build_timestamp": "2026-04-07T04:00:08.585217+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": 1,
      "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-04-07T04:00:08.593867+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": 9
      }
    },
    "ui_presets": {
      "schema_version": "ui_presets_v1",
      "generated_at_utc": "2026-04-07T04:00:08.596685+00:00",
      "asof_iso": "2026-04-07T09:30:03.617010+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": [
        {
          "id": "RBI_MPC_202604",
          "name": "RBI MPC \u2013 Apr 2026 policy",
          "start_iso": "2026-04-09T09:15:00+05:30",
          "end_iso": "2026-04-09T15:30:00+05:30",
          "category": "macro",
          "tags": [
            "rbi_mpc",
            "india"
          ],
          "certainty": "scheduled",
          "template": "full_session",
          "importance": null
        }
      ]
    }
  }
}