{
  "schema_version": "fwdvar_diagnostics_v4",
  "issues": [
    {
      "code": "low_tier",
      "scope": "expiry",
      "severity": "WARN",
      "expiry_dt": "2026-05-19",
      "interval_from": null,
      "interval_to": null,
      "strike": null,
      "target_key": "2026-05-19",
      "message_short": "LOW tier (direct straddle)",
      "message_long": "Accept tier: LOW (DIRECT_STRADDLE_ONLY path)",
      "metrics": {}
    },
    {
      "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": "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.2314",
      "metrics": {
        "fwd_var": -0.23138997520967022,
        "near_var": 0.001988007780868694,
        "far_var": 0.0005896289963571527,
        "ba_age_near": 2.357613,
        "ba_age_far": 276.687125
      }
    },
    {
      "code": "baseline_thin",
      "scope": "interval",
      "severity": "INFO",
      "expiry_dt": null,
      "interval_from": "2026-06-30",
      "interval_to": "2026-12-29",
      "strike": null,
      "target_key": "06-30\u219212-29",
      "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-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 (30.4%)",
      "message_long": "Forward volatility: 30.4% (threshold: 30%)",
      "metrics": {
        "fwd_vol": 0.3040700414529576,
        "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.6%)",
      "message_long": "Forward volatility: 30.6% (threshold: 30%)",
      "metrics": {
        "fwd_vol": 0.3058575531343056,
        "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 (61.4%)",
      "message_long": "Forward volatility: 61.4% (threshold: 30%)",
      "metrics": {
        "fwd_vol": 0.6141786821405303,
        "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 (37%)",
      "message_long": "Weighted-mid coverage: 37.1% (threshold: 50%)",
      "metrics": {
        "avg_coverage": 37.14285714285714,
        "threshold": 50.0
      }
    }
  ],
  "summary": {
    "total": 10,
    "fail_count": 0,
    "warn_count": 6,
    "info_count": 4
  },
  "derived": {
    "structure_summary": {
      "iv_7d": {
        "pct": 28.04290546713376,
        "pct_cal": 16.16736541056625,
        "actual_dte": 5,
        "expiry_date": "2026-04-21",
        "tau_eff": 0.0047774750337300454,
        "tau_cal": 0.014373612539008035,
        "tau_ratio": 3.0086211728009267
      },
      "iv_30d": {
        "pct": 14.384399303686193,
        "pct_cal": 8.048018243489818,
        "actual_dte": 33,
        "expiry_date": "2026-05-19",
        "tau_eff": 0.028496752606399306,
        "tau_cal": 0.09103343457870687,
        "tau_ratio": 3.1945195944278986
      },
      "iv_90d": {
        "pct": 27.270283012825352,
        "pct_cal": 15.195906176549848,
        "actual_dte": 75,
        "expiry_date": "2026-06-30",
        "tau_eff": 0.06397200712111747,
        "tau_cal": 0.20602316763825512,
        "tau_ratio": 3.2205206137771136
      },
      "front_slope_pct": -13.658506163447568,
      "back_slope_pct": 12.88588370913916,
      "max_fwd_vol_pct": 61.41786821405303,
      "max_fwd_vol_interval": {
        "from": "2026-05-19",
        "to": "2026-05-26"
      },
      "max_fwd_vol_dte_range": {
        "start_dte": 33,
        "end_dte": 40
      },
      "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-16T09:30:03.284939+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": 33,
          "end_dte": 40,
          "forward_vol": 0.6141786821405303,
          "forward_variance": 0.3772154535958785
        },
        {
          "from": "2026-05-05",
          "to": "2026-05-12",
          "start_dte": 19,
          "end_dte": 26,
          "forward_vol": 0.3058575531343056,
          "forward_variance": 0.09354884280930457
        },
        {
          "from": "2026-04-28",
          "to": "2026-05-05",
          "start_dte": 12,
          "end_dte": 19,
          "forward_vol": 0.3040700414529576,
          "forward_variance": 0.09245859010920335
        },
        {
          "from": "2026-04-21",
          "to": "2026-04-28",
          "start_dte": 5,
          "end_dte": 12,
          "forward_vol": 0.2961938380056959,
          "forward_variance": 0.0877307896725444
        },
        {
          "from": "2026-05-26",
          "to": "2026-06-30",
          "start_dte": 40,
          "end_dte": 75,
          "forward_vol": 0.2532821153606462,
          "forward_variance": 0.06415182996156368
        }
      ],
      "lowest": [
        {
          "from": "2026-06-30",
          "to": "2026-12-29",
          "start_dte": 75,
          "end_dte": 257,
          "forward_vol": 0.21199329569077094,
          "forward_variance": 0.044941157417834644
        },
        {
          "from": "2026-05-26",
          "to": "2026-06-30",
          "start_dte": 40,
          "end_dte": 75,
          "forward_vol": 0.2532821153606462,
          "forward_variance": 0.06415182996156368
        },
        {
          "from": "2026-04-21",
          "to": "2026-04-28",
          "start_dte": 5,
          "end_dte": 12,
          "forward_vol": 0.2961938380056959,
          "forward_variance": 0.0877307896725444
        },
        {
          "from": "2026-04-28",
          "to": "2026-05-05",
          "start_dte": 12,
          "end_dte": 19,
          "forward_vol": 0.3040700414529576,
          "forward_variance": 0.09245859010920335
        },
        {
          "from": "2026-05-05",
          "to": "2026-05-12",
          "start_dte": 19,
          "end_dte": 26,
          "forward_vol": 0.3058575531343056,
          "forward_variance": 0.09354884280930457
        }
      ],
      "neg_intervals": [
        {
          "from": "2026-05-12",
          "to": "2026-05-19",
          "forward_variance": -0.23138997520967022,
          "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-21",
        "2026-04-28",
        "2026-05-05",
        "2026-05-12",
        "2026-05-19",
        "2026-05-26",
        "2026-06-30",
        "2026-12-29"
      ],
      "dte_days": [
        5,
        12,
        19,
        26,
        33,
        40,
        75,
        257
      ],
      "matrix_fwdvol_pct": [
        [
          null,
          29.619383800569587,
          30.00039610748921,
          30.201806732903265,
          9.49688648282262,
          28.945173338338563,
          27.206969317989532,
          23.015074974102326
        ],
        [
          null,
          null,
          30.40700414529576,
          30.500000707891672,
          null,
          28.770867212354496,
          26.918988363345157,
          22.79500317776269
        ],
        [
          null,
          null,
          null,
          30.585755313430564,
          null,
          28.247378709980193,
          26.47895182971569,
          22.548848942690174
        ],
        [
          null,
          null,
          null,
          null,
          null,
          27.002359006780136,
          25.826784006546603,
          22.256086453509877
        ],
        [
          null,
          null,
          null,
          null,
          null,
          61.41786821405303,
          34.27590539827703,
          24.173505870408388
        ],
        [
          null,
          null,
          null,
          null,
          null,
          null,
          25.32821153606462,
          21.909598405418993
        ],
        [
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          21.199329569077094
        ],
        [
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null
        ]
      ],
      "neg_mask": [
        [
          false,
          false,
          false,
          false,
          false,
          false,
          false,
          false
        ],
        [
          false,
          false,
          false,
          false,
          true,
          false,
          false,
          false
        ],
        [
          false,
          false,
          false,
          false,
          true,
          false,
          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,
          false,
          false,
          false,
          false
        ]
      ],
      "clip": {
        "method": "percentile",
        "p_lo": 5,
        "p_hi": 95,
        "vmin": 21.341383336345473,
        "vmax": 33.53787538130773
      },
      "usable_count": 8,
      "excluded": []
    },
    "expiry_quality_summary": {
      "schema_version": "expiry_quality_summary_v1",
      "filter_policy_version": "usable_expiries_v1",
      "total_count": 10,
      "usable_count": 8,
      "excluded": [
        {
          "expiry_date": "2026-09-29",
          "dte_days": 166,
          "reject_reason": "missing_quotes",
          "accept_tier": null,
          "why": "missing_quotes"
        },
        {
          "expiry_date": "2027-03-30",
          "dte_days": 348,
          "reject_reason": "insufficient_strikes",
          "accept_tier": null,
          "why": "insufficient_strikes"
        }
      ]
    },
    "build_metadata": {
      "git_commit": "3c481e0f",
      "build_timestamp": "2026-04-16T04:00:08.452997+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-16T04:00:08.461541+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": 2,
        "neg_cells": 1,
        "issues_fail": 0,
        "issues_warn": 6
      }
    },
    "ui_presets": {
      "schema_version": "ui_presets_v1",
      "generated_at_utc": "2026-04-16T04:00:08.463891+00:00",
      "asof_iso": "2026-04-16T09:30:03.284939+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": []
    }
  }
}