{
  "run_type": "forecast_csv",
  "backend_selected": "stats_ets",
  "candidate_backends": [
    "stats_ets",
    "ml_ridge",
    "seasonal_naive",
    "moving_average",
    "naive",
    "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": "monthly_car_sales",
    "horizon": 12,
    "strategy": "fast",
    "source": "/home/runner/work/AgentForecast/AgentForecast/agentforecast/package_data/public_examples/monthly_car_sales.csv",
    "date_col": "ds",
    "value_col": "y",
    "series_kind": "price",
    "strict_mode": false,
    "lookback": null,
    "max_history": null,
    "feature_preset": null,
    "candidate_backends": [
      "naive",
      "seasonal_naive",
      "moving_average",
      "stream_ewm",
      "ml_ridge",
      "stats_ets"
    ],
    "routing": {
      "profile": "fast",
      "history_len": 108,
      "horizon": 12,
      "candidate_backends": [
        "naive",
        "seasonal_naive",
        "moving_average",
        "stream_ewm",
        "ml_ridge",
        "stats_ets"
      ],
      "missing_backends": [],
      "recommended_extras": [],
      "reason": "default_fast_path"
    },
    "csv_path": "/home/runner/work/AgentForecast/AgentForecast/agentforecast/package_data/public_examples/monthly_car_sales.csv"
  },
  "summary": {
    "headline": "monthly_car_sales: stats_ets won the backend comparison and produced a publishable pack.",
    "latest_observed": 14577.0,
    "projected_end": 17099.57181137848,
    "artifact_count": 10,
    "narrative": "Compared 6 backend(s) and routed the series to 'stats_ets'. Exported CSV, chart, card, markdown, and JSON artifacts.",
    "conformal_method": "residual_heuristic",
    "routing_reason": "default_fast_path"
  },
  "diagnostics": {
    "leaderboard": [
      {
        "backend_id": "stats_ets",
        "mae": 1324.976171,
        "rmse": 1691.031884,
        "mape": 7.211514,
        "smape": 7.493542,
        "coverage_80": 1.0,
        "avg_width_80": 10266.516651,
        "wnc_80": 1.775497,
        "coverage_90": 1.0,
        "avg_width_90": 13176.804962,
        "wnc_90": 1.383353,
        "backtest_horizon": 12
      },
      {
        "backend_id": "ml_ridge",
        "mae": 1706.528926,
        "rmse": 2073.438587,
        "mape": 9.164544,
        "smape": 8.976373,
        "coverage_80": 1.0,
        "avg_width_80": 12559.140384,
        "wnc_80": 1.451386,
        "coverage_90": 1.0,
        "avg_width_90": 16119.327417,
        "wnc_90": 1.130827,
        "backtest_horizon": 12
      },
      {
        "backend_id": "seasonal_naive",
        "mae": 1959.5,
        "rmse": 2290.827252,
        "mape": 10.832418,
        "smape": 11.667141,
        "coverage_80": 1.0,
        "avg_width_80": 10746.499621,
        "wnc_80": 1.696196,
        "coverage_90": 1.0,
        "avg_width_90": 13792.85052,
        "wnc_90": 1.321566,
        "backtest_horizon": 12
      },
      {
        "backend_id": "moving_average",
        "mae": 3567.904762,
        "rmse": 4479.059687,
        "mape": 17.854834,
        "smape": 19.742866,
        "coverage_80": 1.0,
        "avg_width_80": 26157.614268,
        "wnc_80": 0.696859,
        "coverage_90": 1.0,
        "avg_width_90": 33572.612133,
        "wnc_90": 0.542948,
        "backtest_horizon": 12
      },
      {
        "backend_id": "naive",
        "mae": 4599.0,
        "rmse": 5865.37383,
        "mape": 22.268844,
        "smape": 26.596471,
        "coverage_80": 0.916667,
        "avg_width_80": 26157.614268,
        "wnc_80": 0.638787,
        "coverage_90": 1.0,
        "avg_width_90": 33572.612133,
        "wnc_90": 0.542948,
        "backtest_horizon": 12
      },
      {
        "backend_id": "stream_ewm",
        "mae": 5123.309501,
        "rmse": 6107.26662,
        "mape": 25.693011,
        "smape": 30.533922,
        "coverage_80": 0.916667,
        "avg_width_80": 25988.408279,
        "wnc_80": 0.642946,
        "coverage_90": 1.0,
        "avg_width_90": 33355.440683,
        "wnc_90": 0.546483,
        "backtest_horizon": 12
      }
    ],
    "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": 12,
      "native_levels": [],
      "fallback_reason": null,
      "backend_id": "stats_ets",
      "coverage_backtest": {
        "80": 1.0,
        "90": 1.0
      },
      "mean_interval_width": {
        "80": 10266.516651,
        "90": 13176.804962
      },
      "width_normalized_coverage": {
        "80": 1.775497,
        "90": 1.383353
      },
      "backend_tags": [
        "accurate",
        "long_horizon"
      ]
    },
    "conformal_by_backend": {
      "naive": {
        "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": 12,
        "native_levels": [],
        "fallback_reason": null,
        "backend_id": "naive",
        "coverage_backtest": {
          "80": 0.916667,
          "90": 1.0
        },
        "mean_interval_width": {
          "80": 26157.614268,
          "90": 33572.612133
        },
        "width_normalized_coverage": {
          "80": 0.638787,
          "90": 0.542948
        },
        "backend_tags": [
          "fast",
          "low_data"
        ]
      },
      "seasonal_naive": {
        "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": 12,
        "native_levels": [],
        "fallback_reason": null,
        "backend_id": "seasonal_naive",
        "coverage_backtest": {
          "80": 1.0,
          "90": 1.0
        },
        "mean_interval_width": {
          "80": 10746.499621,
          "90": 13792.85052
        },
        "width_normalized_coverage": {
          "80": 1.696196,
          "90": 1.321566
        },
        "backend_tags": [
          "fast",
          "long_horizon"
        ]
      },
      "moving_average": {
        "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": 12,
        "native_levels": [],
        "fallback_reason": null,
        "backend_id": "moving_average",
        "coverage_backtest": {
          "80": 1.0,
          "90": 1.0
        },
        "mean_interval_width": {
          "80": 26157.614268,
          "90": 33572.612133
        },
        "width_normalized_coverage": {
          "80": 0.696859,
          "90": 0.542948
        },
        "backend_tags": [
          "fast"
        ]
      },
      "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": 12,
        "native_levels": [],
        "fallback_reason": null,
        "backend_id": "stream_ewm",
        "coverage_backtest": {
          "80": 0.916667,
          "90": 1.0
        },
        "mean_interval_width": {
          "80": 25988.408279,
          "90": 33355.440683
        },
        "width_normalized_coverage": {
          "80": 0.642946,
          "90": 0.546483
        },
        "backend_tags": [
          "streaming",
          "fast",
          "low_data"
        ]
      },
      "ml_ridge": {
        "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": 12,
        "native_levels": [],
        "fallback_reason": null,
        "backend_id": "ml_ridge",
        "coverage_backtest": {
          "80": 1.0,
          "90": 1.0
        },
        "mean_interval_width": {
          "80": 12559.140384,
          "90": 16119.327417
        },
        "width_normalized_coverage": {
          "80": 1.451386,
          "90": 1.130827
        },
        "backend_tags": [
          "fast",
          "low_data",
          "tabular"
        ]
      },
      "stats_ets": {
        "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": 12,
        "native_levels": [],
        "fallback_reason": null,
        "backend_id": "stats_ets",
        "coverage_backtest": {
          "80": 1.0,
          "90": 1.0
        },
        "mean_interval_width": {
          "80": 10266.516651,
          "90": 13176.804962
        },
        "width_normalized_coverage": {
          "80": 1.775497,
          "90": 1.383353
        },
        "backend_tags": [
          "accurate",
          "long_horizon"
        ]
      }
    },
    "cleanup": {
      "cleanup_applied": false,
      "missing_points_filled": 0,
      "duplicate_timestamps_merged": 0,
      "history_values_filled": 0,
      "exogenous_values_filled": 0,
      "history_truncated": 0,
      "history_rows_retained": 108,
      "inferred_frequency": "MS",
      "step_seconds": 2678400.0,
      "exogenous_cols": [],
      "future_feature_policy": "use_provided_then_carry_last",
      "strict_mode": false,
      "invalid_timestamps_dropped": 0
    },
    "routing": {
      "profile": "fast",
      "history_len": 108,
      "horizon": 12,
      "candidate_backends": [
        "naive",
        "seasonal_naive",
        "moving_average",
        "stream_ewm",
        "ml_ridge",
        "stats_ets"
      ],
      "missing_backends": [],
      "recommended_extras": [],
      "reason": "default_fast_path"
    }
  },
  "metrics": {
    "backend_id": "stats_ets",
    "mae": 1324.976171,
    "rmse": 1691.031884,
    "mape": 7.211514,
    "smape": 7.493542,
    "coverage_80": 1.0,
    "avg_width_80": 10266.516651,
    "wnc_80": 1.775497,
    "coverage_90": 1.0,
    "avg_width_90": 13176.804962,
    "wnc_90": 1.383353,
    "backtest_horizon": 12.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"
    }
  ],
  "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"
}