Context
generate_predictions_seasonal() in sampler.rs generates post-period counterfactual predictions with seasonal state propagation. It has zero Rust unit tests.
Proposed tests
test_generate_predictions_seasonal_output_len — output length equals post_len
test_generate_predictions_seasonal_propagates_pattern — with sigma2=0, predictions reproduce known seasonal pattern
test_generate_predictions_seasonal_season_boundary_correct — season_duration=2 fires transitions at correct timesteps
test_generate_predictions_seasonal_finite_output — all predictions finite with realistic noise
Context
generate_predictions_seasonal()insampler.rsgenerates post-period counterfactual predictions with seasonal state propagation. It has zero Rust unit tests.Proposed tests
test_generate_predictions_seasonal_output_len— output length equals post_lentest_generate_predictions_seasonal_propagates_pattern— with sigma2=0, predictions reproduce known seasonal patterntest_generate_predictions_seasonal_season_boundary_correct— season_duration=2 fires transitions at correct timestepstest_generate_predictions_seasonal_finite_output— all predictions finite with realistic noise