{
  "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": "baseline_thin",
      "scope": "interval",
      "severity": "INFO",
      "expiry_dt": null,
      "interval_from": "2026-04-28",
      "interval_to": "2026-05-05",
      "strike": null,
      "target_key": "04-28\u219205-05",
      "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-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": "neg_fwdvar",
      "scope": "interval",
      "severity": "INFO",
      "expiry_dt": null,
      "interval_from": "2026-05-12",
      "interval_to": "2026-05-19",
      "strike": null,
      "target_key": "05-12\u219205-19",
      "message_short": "NEG forward variance",
      "message_long": "Negative forward variance: -0.0921",
      "metrics": {
        "fwd_var": -0.0920508557261841,
        "near_var": 0.0018429355234124175,
        "far_var": 0.0012866367311808644,
        "ba_age_near": 1.645996,
        "ba_age_far": 1.9588809999999999
      }
    },
    {
      "code": "baseline_thin",
      "scope": "interval",
      "severity": "INFO",
      "expiry_dt": null,
      "interval_from": "2026-05-26",
      "interval_to": "2026-06-30",
      "strike": null,
      "target_key": "05-26\u219206-30",
      "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-26",
      "interval_to": "2026-06-30",
      "strike": null,
      "target_key": "05-26\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-12-29",
      "strike": null,
      "target_key": "06-30\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-28",
      "interval_to": "2026-05-05",
      "strike": null,
      "target_key": "04-28\u219205-05",
      "message_short": "Elevated fwd vol (31.8%)",
      "message_long": "Forward volatility: 31.8% (threshold: 30%)",
      "metrics": {
        "fwd_vol": 0.317819063288237,
        "threshold": 0.3
      }
    },
    {
      "code": "elevated_fwdvol",
      "scope": "interval",
      "severity": "WARN",
      "expiry_dt": null,
      "interval_from": "2026-05-05",
      "interval_to": "2026-05-12",
      "strike": null,
      "target_key": "05-05\u219205-12",
      "message_short": "Elevated fwd vol (30.1%)",
      "message_long": "Forward volatility: 30.1% (threshold: 30%)",
      "metrics": {
        "fwd_vol": 0.3008454451982391,
        "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 (46.4%)",
      "message_long": "Forward volatility: 46.4% (threshold: 30%)",
      "metrics": {
        "fwd_vol": 0.4637774091611936,
        "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 (34%)",
      "message_long": "Weighted-mid coverage: 33.5% (threshold: 50%)",
      "metrics": {
        "avg_coverage": 33.529411764705884,
        "threshold": 50.0
      }
    }
  ],
  "summary": {
    "total": 12,
    "fail_count": 0,
    "warn_count": 7,
    "info_count": 5
  },
  "derived": {
    "structure_summary": {
      "iv_7d": {
        "pct": 32.97031164148271,
        "pct_cal": 19.195867654974418,
        "actual_dte": 7,
        "expiry_date": "2026-04-28",
        "tau_eff": 0.006728442366077663,
        "tau_cal": 0.019849297776637007,
        "tau_ratio": 2.950058378549823
      },
      "iv_30d": {
        "pct": 22.96119502755702,
        "pct_cal": 12.897757200908162,
        "actual_dte": 28,
        "expiry_date": "2026-05-19",
        "tau_eff": 0.024404334596558164,
        "tau_cal": 0.07734416430641114,
        "tau_ratio": 3.1692797851296173
      },
      "iv_90d": {
        "pct": 27.34254518987748,
        "pct_cal": 15.256342444350443,
        "actual_dte": 70,
        "expiry_date": "2026-06-30",
        "tau_eff": 0.059879589111276325,
        "tau_cal": 0.1923338973659594,
        "tau_ratio": 3.2120109743662173
      },
      "front_slope_pct": -10.009116613925686,
      "back_slope_pct": 4.3813501623204605,
      "max_fwd_vol_pct": 46.37774091611936,
      "max_fwd_vol_interval": {
        "from": "2026-05-19",
        "to": "2026-05-26"
      },
      "max_fwd_vol_dte_range": {
        "start_dte": 28,
        "end_dte": 35
      },
      "neg_interval_count": 1,
      "clock_primary": "variance_time",
      "clock_secondary": "calendar",
      "vt_vintage": "202603",
      "beta_on": 0.12931315994459922,
      "beta_we": 0.19024823173932068,
      "quote_context_dt": "2026-04-21T09:30:03.800484+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": 28,
          "end_dte": 35,
          "forward_vol": 0.4637774091611936,
          "forward_variance": 0.21508948524826915
        },
        {
          "from": "2026-04-28",
          "to": "2026-05-05",
          "start_dte": 7,
          "end_dte": 14,
          "forward_vol": 0.317819063288237,
          "forward_variance": 0.1010089569894124
        },
        {
          "from": "2026-05-05",
          "to": "2026-05-12",
          "start_dte": 14,
          "end_dte": 21,
          "forward_vol": 0.3008454451982391,
          "forward_variance": 0.09050798189652667
        },
        {
          "from": "2026-05-26",
          "to": "2026-06-30",
          "start_dte": 35,
          "end_dte": 70,
          "forward_vol": 0.25342111472814316,
          "forward_variance": 0.0642222613900547
        },
        {
          "from": "2026-06-30",
          "to": "2026-12-29",
          "start_dte": 70,
          "end_dte": 252,
          "forward_vol": 0.22231874239715677,
          "forward_variance": 0.04942562322105335
        }
      ],
      "lowest": [
        {
          "from": "2026-06-30",
          "to": "2026-12-29",
          "start_dte": 70,
          "end_dte": 252,
          "forward_vol": 0.22231874239715677,
          "forward_variance": 0.04942562322105335
        },
        {
          "from": "2026-05-26",
          "to": "2026-06-30",
          "start_dte": 35,
          "end_dte": 70,
          "forward_vol": 0.25342111472814316,
          "forward_variance": 0.0642222613900547
        },
        {
          "from": "2026-05-05",
          "to": "2026-05-12",
          "start_dte": 14,
          "end_dte": 21,
          "forward_vol": 0.3008454451982391,
          "forward_variance": 0.09050798189652667
        },
        {
          "from": "2026-04-28",
          "to": "2026-05-05",
          "start_dte": 7,
          "end_dte": 14,
          "forward_vol": 0.317819063288237,
          "forward_variance": 0.1010089569894124
        },
        {
          "from": "2026-05-19",
          "to": "2026-05-26",
          "start_dte": 28,
          "end_dte": 35,
          "forward_vol": 0.4637774091611936,
          "forward_variance": 0.21508948524826915
        }
      ],
      "neg_intervals": [
        {
          "from": "2026-05-12",
          "to": "2026-05-19",
          "forward_variance": -0.0920508557261841,
          "notes": "NEG_FWDVAR",
          "debug": {
            "quote_age_near": "2s",
            "pricing_mode": "weighted_mid"
          }
        }
      ]
    },
    "forward_volatility_matrix": {
      "schema_version": "fwdvol_matrix_v2",
      "status": "available",
      "expiry_filter_policy_version": "usable_expiries_v1",
      "expiry_dates": [
        "2026-04-28",
        "2026-05-05",
        "2026-05-12",
        "2026-05-19",
        "2026-05-26",
        "2026-06-30",
        "2026-12-29"
      ],
      "dte_days": [
        7,
        14,
        21,
        28,
        35,
        70,
        252
      ],
      "matrix_fwdvol_pct": [
        [
          null,
          31.781906328823702,
          30.911718069965215,
          17.72330361557098,
          27.966134517149555,
          26.545178618327242,
          23.40770355276915
        ],
        [
          null,
          null,
          30.084544519823908,
          null,
          26.679993217053845,
          25.86026295904842,
          23.13401460739894
        ],
        [
          null,
          null,
          null,
          null,
          24.80308746125017,
          25.18638290923559,
          22.887127412961387
        ],
        [
          null,
          null,
          null,
          null,
          46.37774091611936,
          29.987203993217822,
          23.866118239717434
        ],
        [
          null,
          null,
          null,
          null,
          null,
          25.342111472814317,
          22.75609483556174
        ],
        [
          null,
          null,
          null,
          null,
          null,
          null,
          22.231874239715676
        ],
        [
          null,
          null,
          null,
          null,
          null,
          null,
          null
        ]
      ],
      "neg_mask": [
        [
          false,
          false,
          false,
          false,
          false,
          false,
          false
        ],
        [
          false,
          false,
          false,
          true,
          false,
          false,
          false
        ],
        [
          false,
          false,
          false,
          true,
          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": 21.781017177301205,
        "vmax": 33.241489787553235
      },
      "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": 161,
          "reject_reason": "missing_quotes",
          "accept_tier": null,
          "why": "missing_quotes"
        },
        {
          "expiry_date": "2027-03-30",
          "dte_days": 343,
          "reject_reason": "insufficient_strikes",
          "accept_tier": null,
          "why": "insufficient_strikes"
        }
      ]
    },
    "build_metadata": {
      "git_commit": "009b9143",
      "build_timestamp": "2026-04-21T04:00:08.754930+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-04-21T04:00:08.755606+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": 1,
        "issues_fail": 0,
        "issues_warn": 7
      }
    },
    "ui_presets": {
      "schema_version": "ui_presets_v1",
      "generated_at_utc": "2026-04-21T04:00:08.758441+00:00",
      "asof_iso": "2026-04-21T09:30:03.800484+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": []
    }
  }
}