From 7008f4484c7a5a5f60303a27a19e2667c49fbaf1 Mon Sep 17 00:00:00 2001 From: gravermistakes Date: Mon, 19 Oct 2026 19:55:44 -0700 Subject: [PATCH] test: require M3b horizon-sensitive bounds --- core/src/economy/sims/sociological/test.ecl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/core/src/economy/sims/sociological/test.ecl b/core/src/economy/sims/sociological/test.ecl index 99ad07c..b42541d 100644 --- a/core/src/economy/sims/sociological/test.ecl +++ b/core/src/economy/sims/sociological/test.ecl @@ -172,4 +172,20 @@ run_tests :- NL =< NV, NV =< NU, NLabel = bullish)), + + must(multi_horizon_uncertainty_widens, + (HState=state( + 0.40,0.15,0.03,0.45,0.50, + [0.45,0.20,0.15,0.15,0.05], + [0.80,0.10,0.10], + 0.85, + [0.35,0.40,0.45,0.50] + ), + sociological_prediction(sentiment_index,HState,hourly,HV,HL,HU,_), + sociological_prediction(sentiment_index,HState,five_year,FV,FL,FU,_), + approx(HV,FV,1.0e-9), + HWidth is HU-HL, + FWidth is FU-FL, + FWidth > HWidth)), + writeln("SOCIOLOGICAL TESTS PASSED").