{
  "scope": "Hand-set 168-point daily teaching signal; actual fitted forest, not an external benchmark. Calendar known, observations available without delay.",
  "versions": {
    "python": "3.10.12",
    "numpy": "1.26.3",
    "pandas": "2.2.2",
    "sklearn": "1.5.1"
  },
  "series": [
    43.0,
    47.1,
    51.2,
    52.3,
    54.4,
    60.5,
    58.6,
    45.7,
    47.8,
    49.9,
    52.0,
    56.1,
    63.2,
    59.3,
    44.4,
    47.5,
    51.6,
    54.7,
    56.8,
    61.9,
    59.0,
    46.1,
    50.2,
    52.3,
    53.4,
    56.5,
    63.6,
    61.7,
    46.8,
    48.9,
    52.0,
    55.1,
    59.2,
    64.3,
    60.4,
    46.5,
    50.6,
    54.7,
    55.8,
    57.9,
    64.0,
    62.1,
    49.2,
    51.3,
    53.4,
    55.5,
    59.6,
    66.7,
    62.8,
    47.9,
    51.0,
    55.1,
    58.2,
    60.3,
    65.4,
    62.5,
    49.6,
    53.7,
    55.8,
    56.9,
    60.0,
    67.1,
    65.2,
    50.3,
    52.4,
    55.5,
    58.6,
    62.7,
    67.8,
    63.9,
    50.0,
    54.1,
    58.2,
    59.3,
    61.4,
    67.5,
    65.6,
    52.7,
    54.8,
    56.9,
    59.0,
    63.1,
    70.2,
    66.3,
    51.4,
    54.5,
    58.6,
    61.7,
    63.8,
    68.9,
    66.0,
    53.1,
    57.2,
    59.3,
    60.4,
    63.5,
    70.6,
    68.7,
    53.8,
    55.9,
    59.0,
    62.1,
    66.2,
    71.3,
    67.4,
    53.5,
    57.6,
    61.7,
    62.8,
    64.9,
    71.0,
    69.1,
    56.2,
    58.3,
    60.4,
    62.5,
    66.6,
    73.7,
    69.8,
    54.9,
    58.0,
    62.1,
    65.2,
    67.3,
    72.4,
    69.5,
    56.6,
    60.7,
    62.8,
    63.9,
    67.0,
    74.1,
    72.2,
    57.3,
    59.4,
    62.5,
    65.6,
    69.7,
    74.8,
    70.9,
    57.0,
    61.1,
    65.2,
    66.3,
    68.4,
    74.5,
    72.6,
    59.7,
    61.8,
    63.9,
    66.0,
    70.1,
    77.2,
    73.3,
    58.4,
    61.5,
    65.6,
    68.7,
    70.8,
    75.9,
    73.0,
    60.1,
    64.2,
    66.3,
    67.4,
    70.5,
    77.6,
    75.7
  ],
  "features": [
    "lag1",
    "lag7",
    "rolling7",
    "weekday0",
    "weekday1",
    "weekday2",
    "weekday3",
    "weekday4",
    "weekday5",
    "weekday6"
  ],
  "first_three_training_rows": [
    {
      "target_index": 7,
      "target": 45.7,
      "lag1": 58.6,
      "lag7": 43.0,
      "rolling7": 52.44285714285714,
      "weekday0": 1,
      "weekday1": 0,
      "weekday2": 0,
      "weekday3": 0,
      "weekday4": 0,
      "weekday5": 0,
      "weekday6": 0
    },
    {
      "target_index": 8,
      "target": 47.8,
      "lag1": 45.7,
      "lag7": 47.1,
      "rolling7": 52.82857142857143,
      "weekday0": 0,
      "weekday1": 1,
      "weekday2": 0,
      "weekday3": 0,
      "weekday4": 0,
      "weekday5": 0,
      "weekday6": 0
    },
    {
      "target_index": 9,
      "target": 49.9,
      "lag1": 47.8,
      "lag7": 51.2,
      "rolling7": 52.92857142857143,
      "weekday0": 0,
      "weekday1": 0,
      "weekday2": 1,
      "weekday3": 0,
      "weekday4": 0,
      "weekday5": 0,
      "weekday6": 0
    }
  ],
  "feature_alignment_max_error": 1.4210854715202004e-14,
  "target_perturbation_check": {
    "index": 10,
    "target_increase": 70,
    "shifted_features_unchanged": true,
    "unshifted_rolling_mean_change": 10.0
  },
  "validation": [
    {
      "origin": 126,
      "training_target_indices": [
        7,
        125
      ],
      "forecast_indices": [
        126,
        139
      ],
      "model": "seasonal_naive",
      "prediction": [
        54.9,
        58.0,
        62.1,
        65.2,
        67.3,
        72.4,
        69.5,
        54.9,
        58.0,
        62.1,
        65.2,
        67.3,
        72.4,
        69.5
      ],
      "truth": [
        56.6,
        60.7,
        62.8,
        63.9,
        67.0,
        74.1,
        72.2,
        57.3,
        59.4,
        62.5,
        65.6,
        69.7,
        74.8,
        70.9
      ],
      "MAE": 1.5642857142857127
    },
    {
      "origin": 126,
      "training_target_indices": [
        7,
        125
      ],
      "forecast_indices": [
        126,
        139
      ],
      "model": "random_forest",
      "prediction": [
        55.96122421,
        58.02466071,
        62.81136346,
        66.0811875,
        68.73958631,
        71.44639538,
        70.18074603,
        57.2105873,
        58.18235714,
        62.84207774,
        66.64527381,
        69.1625506,
        71.40552038,
        70.25174603
      ],
      "truth": [
        56.6,
        60.7,
        62.8,
        63.9,
        67.0,
        74.1,
        72.2,
        57.3,
        59.4,
        62.5,
        65.6,
        69.7,
        74.8,
        70.9
      ],
      "MAE": 1.3709786448670396
    },
    {
      "origin": 140,
      "training_target_indices": [
        7,
        139
      ],
      "forecast_indices": [
        140,
        153
      ],
      "model": "seasonal_naive",
      "prediction": [
        57.3,
        59.4,
        62.5,
        65.6,
        69.7,
        74.8,
        70.9,
        57.3,
        59.4,
        62.5,
        65.6,
        69.7,
        74.8,
        70.9
      ],
      "truth": [
        57.0,
        61.1,
        65.2,
        66.3,
        68.4,
        74.5,
        72.6,
        59.7,
        61.8,
        63.9,
        66.0,
        70.1,
        77.2,
        73.3
      ],
      "MAE": 1.4642857142857133
    },
    {
      "origin": 140,
      "training_target_indices": [
        7,
        139
      ],
      "forecast_indices": [
        140,
        153
      ],
      "model": "random_forest",
      "prediction": [
        57.98348259,
        60.53769345,
        62.70518056,
        66.86566766,
        71.05737798,
        72.71586607,
        71.97471131,
        58.50150045,
        62.03689087,
        63.34913591,
        68.47044643,
        72.19340179,
        72.71586607,
        72.26736012
      ],
      "truth": [
        57.0,
        61.1,
        65.2,
        66.3,
        68.4,
        74.5,
        72.6,
        59.7,
        61.8,
        63.9,
        66.0,
        70.1,
        77.2,
        73.3
      ],
      "MAE": 1.5528538123582756
    }
  ],
  "mean_validation_MAE": {
    "seasonal_naive": 1.514285714285713,
    "random_forest": 1.4619162286126577
  },
  "selected_before_final_evaluation": "random_forest",
  "final_fixed_origin": {
    "origin": 154,
    "training_target_indices": [
      7,
      153
    ],
    "forecast_indices": [
      154,
      167
    ],
    "horizon": 14,
    "results": [
      {
        "model": "seasonal_naive",
        "selected_using_validation_only": false,
        "prediction": [
          59.7,
          61.8,
          63.9,
          66.0,
          70.1,
          77.2,
          73.3,
          59.7,
          61.8,
          63.9,
          66.0,
          70.1,
          77.2,
          73.3
        ],
        "truth": [
          58.4,
          61.5,
          65.6,
          68.7,
          70.8,
          75.9,
          73.0,
          60.1,
          64.2,
          66.3,
          67.4,
          70.5,
          77.6,
          75.7
        ],
        "MAE": 1.2928571428571414
      },
      {
        "model": "random_forest",
        "selected_using_validation_only": true,
        "prediction": [
          61.26204699,
          61.38887897,
          65.00724197,
          66.57380961,
          70.15813781,
          74.43146528,
          73.92347123,
          61.84505096,
          61.76380096,
          64.60148016,
          66.55389782,
          70.15813781,
          74.43146528,
          74.37985813
        ],
        "truth": [
          58.4,
          61.5,
          65.6,
          68.7,
          70.8,
          75.9,
          73.0,
          60.1,
          64.2,
          66.3,
          67.4,
          70.5,
          77.6,
          75.7
        ],
        "MAE": 1.4487425273139531
      }
    ]
  },
  "different_one_step_observed_history_protocol": {
    "refit": false,
    "predictions": [
      61.26204699,
      61.14606647,
      65.00724197,
      66.57380961,
      70.13242352,
      74.43146528,
      73.92347123,
      58.87141459,
      61.67100334,
      66.28377985,
      69.52257639,
      71.97756548,
      74.43146528,
      73.92347123
    ],
    "MAE": 1.5223942099567083,
    "scope": "Each prediction gets actual observations through t-1. Not available to the fixed-origin 14-day forecast; not a rival model score."
  },
  "limits": [
    "The pattern, candidate hyperparameters and folds were fixed for teaching.",
    "Validation training prefixes overlap; folds are not independent samples.",
    "No random-split comparison, prediction intervals or general model ranking.",
    "Tree forecasts can fail under extrapolation or distribution shift.",
    "Real panels require grouping; delayed values require availability-time handling."
  ]
}
