{
  "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: pass2_failed",
      "message_long": "Expiry rejected: pass2_failed",
      "metrics": {
        "reject_reason": "pass2_failed"
      }
    },
    {
      "code": "rejected",
      "scope": "expiry",
      "severity": "INFO",
      "expiry_dt": "2026-12-29",
      "interval_from": null,
      "interval_to": null,
      "strike": null,
      "target_key": "2026-12-29",
      "message_short": "Rejected: pass2_failed",
      "message_long": "Expiry rejected: pass2_failed",
      "metrics": {
        "reject_reason": "pass2_failed"
      }
    },
    {
      "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.0021",
      "metrics": {
        "fwd_var": -0.0020998778363907375,
        "near_var": 0.0021215528155099183,
        "far_var": 0.0021088624445730875,
        "ba_age_near": null,
        "ba_age_far": null
      }
    },
    {
      "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 (32.9%)",
      "message_long": "Forward volatility: 32.9% (threshold: 30%)",
      "metrics": {
        "fwd_vol": 0.32924174785921906,
        "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 (31.1%)",
      "message_long": "Forward volatility: 31.1% (threshold: 30%)",
      "metrics": {
        "fwd_vol": 0.3113848085754117,
        "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 (37.5%)",
      "message_long": "Forward volatility: 37.5% (threshold: 30%)",
      "metrics": {
        "fwd_vol": 0.37496063998862256,
        "threshold": 0.3
      }
    }
  ],
  "summary": {
    "total": 6,
    "fail_count": 0,
    "warn_count": 3,
    "info_count": 3
  },
  "derived": {
    "structure_summary": {
      "iv_7d": {
        "pct": 36.394440076207715,
        "pct_cal": 20.60281647676521,
        "actual_dte": 8,
        "expiry_date": "2026-04-28",
        "tau_eff": 0.007019123211871589,
        "tau_cal": 0.02190280629705681,
        "tau_ratio": 3.1204476165929296
      },
      "iv_30d": {
        "pct": 29.222641845977222,
        "pct_cal": 16.29747185683253,
        "actual_dte": 29,
        "expiry_date": "2026-05-19",
        "tau_eff": 0.02469501544235209,
        "tau_cal": 0.07939767282683094,
        "tau_ratio": 3.2151295070933013
      },
      "iv_90d": {
        "pct": 28.589082366289304,
        "pct_cal": 15.90585920338275,
        "actual_dte": 71,
        "expiry_date": "2026-06-30",
        "tau_eff": 0.060170269957070255,
        "tau_cal": 0.1943874058863792,
        "tau_ratio": 3.2306221332407015
      },
      "front_slope_pct": -7.1717982302304915,
      "back_slope_pct": -0.6335594796879174,
      "max_fwd_vol_pct": 37.496063998862255,
      "max_fwd_vol_interval": {
        "from": "2026-05-19",
        "to": "2026-05-26"
      },
      "max_fwd_vol_dte_range": {
        "start_dte": 29,
        "end_dte": 36
      },
      "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-20T15:30:00+05:30",
      "effective_quote_policy": "ltp",
      "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": 29,
          "end_dte": 36,
          "forward_vol": 0.37496063998862256,
          "forward_variance": 0.14059548154067741
        },
        {
          "from": "2026-04-28",
          "to": "2026-05-05",
          "start_dte": 8,
          "end_dte": 15,
          "forward_vol": 0.32924174785921906,
          "forward_variance": 0.10840012853339358
        },
        {
          "from": "2026-05-05",
          "to": "2026-05-12",
          "start_dte": 15,
          "end_dte": 22,
          "forward_vol": 0.3113848085754117,
          "forward_variance": 0.09696049901154578
        },
        {
          "from": "2026-05-26",
          "to": "2026-06-30",
          "start_dte": 36,
          "end_dte": 71,
          "forward_vol": 0.2580192591779358,
          "forward_variance": 0.0665739381067308
        }
      ],
      "lowest": [
        {
          "from": "2026-05-26",
          "to": "2026-06-30",
          "start_dte": 36,
          "end_dte": 71,
          "forward_vol": 0.2580192591779358,
          "forward_variance": 0.0665739381067308
        },
        {
          "from": "2026-05-05",
          "to": "2026-05-12",
          "start_dte": 15,
          "end_dte": 22,
          "forward_vol": 0.3113848085754117,
          "forward_variance": 0.09696049901154578
        },
        {
          "from": "2026-04-28",
          "to": "2026-05-05",
          "start_dte": 8,
          "end_dte": 15,
          "forward_vol": 0.32924174785921906,
          "forward_variance": 0.10840012853339358
        },
        {
          "from": "2026-05-19",
          "to": "2026-05-26",
          "start_dte": 29,
          "end_dte": 36,
          "forward_vol": 0.37496063998862256,
          "forward_variance": 0.14059548154067741
        }
      ],
      "neg_intervals": [
        {
          "from": "2026-05-12",
          "to": "2026-05-19",
          "forward_variance": -0.0020998778363907375,
          "notes": "NEG_FWDVAR",
          "debug": {
            "quote_age_near": "nans",
            "pricing_mode": "ltp_fallback"
          }
        }
      ]
    },
    "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"
      ],
      "dte_days": [
        8,
        15,
        22,
        29,
        36,
        71
      ],
      "matrix_fwdvol_pct": [
        [
          null,
          32.924174785921906,
          32.008896876400854,
          25.82808205767238,
          29.246259516634293,
          27.392560478404963
        ],
        [
          null,
          null,
          31.13848085754117,
          21.778501001578945,
          28.01524006178497,
          26.66729322772923
        ],
        [
          null,
          null,
          null,
          null,
          26.314977076209534,
          25.952330257173234
        ],
        [
          null,
          null,
          null,
          null,
          37.496063998862255,
          28.1396294778483
        ],
        [
          null,
          null,
          null,
          null,
          null,
          25.80192591779358
        ],
        [
          null,
          null,
          null,
          null,
          null,
          null
        ]
      ],
      "neg_mask": [
        [
          false,
          false,
          false,
          false,
          false,
          false
        ],
        [
          false,
          false,
          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
        ]
      ],
      "clip": {
        "method": "percentile",
        "p_lo": 5,
        "p_hi": 95,
        "vmin": 24.39372719711846,
        "vmax": 34.52433601045102
      },
      "usable_count": 6,
      "excluded": []
    },
    "expiry_quality_summary": {
      "schema_version": "expiry_quality_summary_v1",
      "filter_policy_version": "usable_expiries_v1",
      "total_count": 8,
      "usable_count": 6,
      "excluded": [
        {
          "expiry_date": "2026-09-29",
          "dte_days": 162,
          "reject_reason": "pass2_failed",
          "accept_tier": null,
          "why": "pass2_failed"
        },
        {
          "expiry_date": "2026-12-29",
          "dte_days": 253,
          "reject_reason": "pass2_failed",
          "accept_tier": null,
          "why": "pass2_failed"
        }
      ]
    },
    "build_metadata": {
      "git_commit": "f4c2661e",
      "build_timestamp": "2026-04-20T14:52:30.590750+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-20T14:52:30.591153+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": 6,
        "excluded_expiries": 2,
        "neg_cells": 1,
        "issues_fail": 0,
        "issues_warn": 3
      }
    },
    "ui_presets": {
      "schema_version": "ui_presets_v1",
      "generated_at_utc": "2026-04-20T14:52:30.594050+00:00",
      "asof_iso": "2026-04-20T15:30:00+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": []
    }
  }
}