{
  "run_type": "forecast_stream_csv",
  "backend_selected": "stream_ewm",
  "candidate_backends": [
    "stream_ewm"
  ],
  "feature_spec": {
    "mode": "auto",
    "lags": [
      1,
      2,
      3,
      7,
      14,
      21,
      28
    ],
    "lag_points": [],
    "lag_step": null,
    "lag_count": null,
    "rolling_windows": [
      3,
      7,
      14
    ],
    "lookback": null,
    "feature_preset": null,
    "include_calendar": true,
    "calendar_features": [
      "dayofweek",
      "month",
      "day",
      "dayofyear",
      "is_month_start",
      "is_month_end",
      "ordinal",
      "sin_dayofyear",
      "cos_dayofyear"
    ],
    "include_tsfresh": false,
    "tsfresh_window": 30,
    "tsfresh_features": [],
    "include_exogenous": true,
    "exogenous_cols": [],
    "carry_forward_exog": true
  },
  "inputs": {
    "name": "daily_min_temperatures",
    "horizon": 14,
    "strategy": "streaming",
    "source": "/home/runner/work/AgentForecast/AgentForecast/agentforecast/package_data/public_examples/daily_min_temperatures.csv",
    "date_col": "ds",
    "value_col": "y",
    "series_kind": "price",
    "strict_mode": false,
    "lookback": null,
    "max_history": null,
    "feature_preset": null,
    "candidate_backends": [
      "stream_ewm"
    ],
    "csv_path": "/home/runner/work/AgentForecast/AgentForecast/agentforecast/package_data/public_examples/daily_min_temperatures.csv"
  },
  "summary": {
    "headline": "daily_min_temperatures: stream_ewm won the backend comparison and produced a publishable pack.",
    "latest_observed": 13.0,
    "projected_end": 14.375550641029267,
    "artifact_count": 10,
    "narrative": "Compared 1 backend(s) and routed the series to 'stream_ewm'. Exported CSV, chart, card, markdown, and JSON artifacts.",
    "conformal_method": "residual_heuristic",
    "routing_reason": "explicit_backend_selected"
  },
  "diagnostics": {
    "leaderboard": [
      {
        "backend_id": "stream_ewm",
        "mae": 2.433887,
        "rmse": 2.674885,
        "mape": 17.11209,
        "smape": 18.742742,
        "coverage_80": 1.0,
        "avg_width_80": 28.783069,
        "wnc_80": 0.483419,
        "coverage_90": 1.0,
        "avg_width_90": 36.942315,
        "wnc_90": 0.376649,
        "backtest_horizon": 14
      }
    ],
    "conformal": {
      "enabled": false,
      "requested_method": "auto",
      "method": "residual_heuristic",
      "levels": [
        80,
        90
      ],
      "calibration_window": 200,
      "warmup_min": 40,
      "symmetric": true,
      "horizon_aware": true,
      "effective_horizon_aware": false,
      "calibration_size": 14,
      "native_levels": [],
      "fallback_reason": null,
      "backend_id": "stream_ewm",
      "coverage_backtest": {
        "80": 1.0,
        "90": 1.0
      },
      "mean_interval_width": {
        "80": 28.783069,
        "90": 36.942315
      },
      "width_normalized_coverage": {
        "80": 0.483419,
        "90": 0.376649
      },
      "backend_tags": [
        "streaming",
        "fast",
        "low_data"
      ]
    },
    "conformal_by_backend": {
      "stream_ewm": {
        "enabled": false,
        "requested_method": "auto",
        "method": "residual_heuristic",
        "levels": [
          80,
          90
        ],
        "calibration_window": 200,
        "warmup_min": 40,
        "symmetric": true,
        "horizon_aware": true,
        "effective_horizon_aware": false,
        "calibration_size": 14,
        "native_levels": [],
        "fallback_reason": null,
        "backend_id": "stream_ewm",
        "coverage_backtest": {
          "80": 1.0,
          "90": 1.0
        },
        "mean_interval_width": {
          "80": 28.783069,
          "90": 36.942315
        },
        "width_normalized_coverage": {
          "80": 0.483419,
          "90": 0.376649
        },
        "backend_tags": [
          "streaming",
          "fast",
          "low_data"
        ]
      }
    },
    "cleanup": {
      "cleanup_applied": true,
      "missing_points_filled": 1,
      "duplicate_timestamps_merged": 0,
      "history_values_filled": 1,
      "exogenous_values_filled": 0,
      "history_truncated": 0,
      "history_rows_retained": 1096,
      "inferred_frequency": "D",
      "step_seconds": 86400.0,
      "exogenous_cols": [],
      "future_feature_policy": "use_provided_then_carry_last",
      "strict_mode": false,
      "invalid_timestamps_dropped": 0
    },
    "routing": {
      "profile": "explicit",
      "history_len": 1096,
      "horizon": 14,
      "candidate_backends": [
        "stream_ewm"
      ],
      "missing_backends": [],
      "recommended_extras": [],
      "reason": "explicit_backend_selected"
    },
    "streaming": {
      "backend_family": "streaming",
      "rolling_mae_last_5": 1.181695992370738,
      "baseline_mae_first_5": 2.02061634686176,
      "drift_ratio": 0.5848195745847756,
      "drift_alert": false
    }
  },
  "metrics": {
    "backend_id": "stream_ewm",
    "mae": 2.433887,
    "rmse": 2.674885,
    "mape": 17.11209,
    "smape": 18.742742,
    "coverage_80": 1.0,
    "avg_width_80": 28.783069,
    "wnc_80": 0.483419,
    "coverage_90": 1.0,
    "avg_width_90": 36.942315,
    "wnc_90": 0.376649,
    "backtest_horizon": 14.0
  },
  "artifacts": [
    {
      "kind": "history_csv",
      "path": "data/history.csv",
      "media_type": "text/csv",
      "description": "Normalized history"
    },
    {
      "kind": "forecast_csv",
      "path": "data/forecast.csv",
      "media_type": "text/csv",
      "description": "Winner backend forecast"
    },
    {
      "kind": "leaderboard_csv",
      "path": "data/leaderboard.csv",
      "media_type": "text/csv",
      "description": "Backend comparison leaderboard"
    },
    {
      "kind": "forecast_png",
      "path": "plots/forecast.png",
      "media_type": "image/png",
      "description": "Forecast chart"
    },
    {
      "kind": "forecast_card_png",
      "path": "plots/forecast_card.png",
      "media_type": "image/png",
      "description": "Shareable forecast card"
    },
    {
      "kind": "comparison_png",
      "path": "plots/backend_comparison.png",
      "media_type": "image/png",
      "description": "Backend comparison chart"
    },
    {
      "kind": "leaderboard_card_png",
      "path": "plots/leaderboard_card.png",
      "media_type": "image/png",
      "description": "Leaderboard card"
    },
    {
      "kind": "delta_card_png",
      "path": "plots/winner_vs_runnerup_delta.png",
      "media_type": "image/png",
      "description": "Winner vs runner-up delta card"
    },
    {
      "kind": "summary_markdown",
      "path": "reports/summary.md",
      "media_type": "text/markdown",
      "description": "Human-readable report"
    },
    {
      "kind": "metadata_json",
      "path": "meta/metadata.json",
      "media_type": "application/json",
      "description": "Structured compare result"
    },
    {
      "kind": "drift_alert_card_png",
      "path": "plots/drift_alert_card.png",
      "media_type": "image/png",
      "description": "Streaming drift alert card"
    }
  ],
  "warnings": [],
  "used_live_data": false,
  "kind": "agentforecast.run_result",
  "schema_version": "1.0.0",
  "schema_ref": "package://agentforecast/package_data/schemas/run_result.schema.json",
  "tool_version": "1.7.0"
}