Skip to content

Turn any AI agent into an AI Scientist. The #1 Agent Skills library for science, used by 250,000+ scientists worldwide. 177 ready-to-use validated skills plus 100+ scientific databases covering biology, chemistry, medicine, and drug discovery. Compatible with Cursor, Claude Code, Codex, Pi, Antigravity, and the open Agent Skills standard.

feat(example): add interactive forecast animation with slider

Clayton Young1506a6099388
diff --git a/scientific-skills/timesfm-forecasting/examples/global-temperature/animation_data.json b/scientific-skills/timesfm-forecasting/examples/global-temperature/animation_data.json
new file mode 100644
index 00000000..df151722
--- /dev/null
+++ b/scientific-skills/timesfm-forecasting/examples/global-temperature/animation_data.json
@@ -0,0 +1,3615 @@
+{
+ "metadata": {
+ "model": "TimesFM 1.0 (200M) PyTorch",
+ "total_steps": 25,
+ "min_context": 12,
+ "horizon": 12,
+ "data_source": "NOAA GISTEMP Global Temperature Anomaly",
+ "full_date_range": "2022-01 to 2024-12"
+ },
+ "actual_data": {
+ "dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12",
+ "2023-01",
+ "2023-02",
+ "2023-03",
+ "2023-04",
+ "2023-05",
+ "2023-06",
+ "2023-07",
+ "2023-08",
+ "2023-09",
+ "2023-10",
+ "2023-11",
+ "2023-12",
+ "2024-01",
+ "2024-02",
+ "2024-03",
+ "2024-04",
+ "2024-05",
+ "2024-06",
+ "2024-07",
+ "2024-08",
+ "2024-09",
+ "2024-10",
+ "2024-11",
+ "2024-12"
+ ],
+ "values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705,
+ 0.8700000047683716,
+ 0.9800000190734863,
+ 1.2100000381469727,
+ 1.0,
+ 0.9399999976158142,
+ 1.0800000429153442,
+ 1.1799999475479126,
+ 1.2400000095367432,
+ 1.4700000286102295,
+ 1.3200000524520874,
+ 1.1799999475479126,
+ 1.159999966621399,
+ 1.2200000286102295,
+ 1.350000023841858,
+ 1.340000033378601,
+ 1.2599999904632568,
+ 1.149999976158142,
+ 1.2000000476837158,
+ 1.2400000095367432,
+ 1.2999999523162842,
+ 1.2799999713897705,
+ 1.2699999809265137,
+ 1.2200000286102295,
+ 1.2000000476837158
+ ]
+ },
+ "animation_steps": [
+ {
+ "step": 1,
+ "n_points": 12,
+ "last_historical_date": "2022-12",
+ "historical_dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12"
+ ],
+ "historical_values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705
+ ],
+ "forecast_dates": [
+ "2023-01",
+ "2023-02",
+ "2023-03",
+ "2023-04",
+ "2023-05",
+ "2023-06",
+ "2023-07",
+ "2023-08",
+ "2023-09",
+ "2023-10",
+ "2023-11",
+ "2023-12"
+ ],
+ "point_forecast": [
+ 0.825579047203064,
+ 0.8330779075622559,
+ 0.8368334174156189,
+ 0.8413563370704651,
+ 0.8546873331069946,
+ 0.8463932275772095,
+ 0.852830708026886,
+ 0.8635484576225281,
+ 0.873649001121521,
+ 0.8784391283988953,
+ 0.8793435096740723,
+ 0.886539101600647
+ ],
+ "q10": [
+ 0.8354606032371521,
+ 0.8444467782974243,
+ 0.8485234975814819,
+ 0.8526979088783264,
+ 0.8648908138275146,
+ 0.8568621277809143,
+ 0.863645076751709,
+ 0.872414231300354,
+ 0.8817781209945679,
+ 0.8863298892974854,
+ 0.8866963982582092,
+ 0.8946276903152466
+ ],
+ "q20": [
+ 0.7518579959869385,
+ 0.752423882484436,
+ 0.7527720928192139,
+ 0.7547875642776489,
+ 0.7639567852020264,
+ 0.7600989937782288,
+ 0.7671870589256287,
+ 0.7746827006340027,
+ 0.783061146736145,
+ 0.7859532237052917,
+ 0.7876774072647095,
+ 0.7946517467498779
+ ],
+ "q80": [
+ 0.8621454238891602,
+ 0.8726990222930908,
+ 0.8780758380889893,
+ 0.8830247521400452,
+ 0.895999014377594,
+ 0.8877173066139221,
+ 0.8932443261146545,
+ 0.9029491543769836,
+ 0.9142329096794128,
+ 0.918304979801178,
+ 0.9192531704902649,
+ 0.9270545244216919
+ ],
+ "q90": [
+ 0.8872727155685425,
+ 0.8990722298622131,
+ 0.9044539928436279,
+ 0.9107659459114075,
+ 0.9254093170166016,
+ 0.9146999716758728,
+ 0.9196149706840515,
+ 0.9299551844596863,
+ 0.941527783870697,
+ 0.9455176591873169,
+ 0.9463357925415039,
+ 0.9539710283279419
+ ]
+ },
+ {
+ "step": 2,
+ "n_points": 13,
+ "last_historical_date": "2023-01",
+ "historical_dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12",
+ "2023-01"
+ ],
+ "historical_values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705,
+ 0.8700000047683716
+ ],
+ "forecast_dates": [
+ "2023-02",
+ "2023-03",
+ "2023-04",
+ "2023-05",
+ "2023-06",
+ "2023-07",
+ "2023-08",
+ "2023-09",
+ "2023-10",
+ "2023-11",
+ "2023-12",
+ "2024-01"
+ ],
+ "point_forecast": [
+ 0.8590402007102966,
+ 0.8596092462539673,
+ 0.864223062992096,
+ 0.8694167733192444,
+ 0.8599939346313477,
+ 0.8577529191970825,
+ 0.8670657873153687,
+ 0.8746083378791809,
+ 0.8758000731468201,
+ 0.8808236718177795,
+ 0.8853851556777954,
+ 0.8753982186317444
+ ],
+ "q10": [
+ 0.8657022714614868,
+ 0.867158055305481,
+ 0.8720226287841797,
+ 0.8764638900756836,
+ 0.8662244081497192,
+ 0.8640622496604919,
+ 0.873618483543396,
+ 0.8803330063819885,
+ 0.8822183609008789,
+ 0.8867899775505066,
+ 0.8920900821685791,
+ 0.8817423582077026
+ ],
+ "q20": [
+ 0.779899537563324,
+ 0.7763701677322388,
+ 0.7775852680206299,
+ 0.7800794839859009,
+ 0.7750610113143921,
+ 0.7753159403800964,
+ 0.7829091548919678,
+ 0.7884992957115173,
+ 0.7900261878967285,
+ 0.7911601066589355,
+ 0.7951517105102539,
+ 0.7891175746917725
+ ],
+ "q80": [
+ 0.8950973153114319,
+ 0.8978567719459534,
+ 0.9036805033683777,
+ 0.9098731875419617,
+ 0.8973860144615173,
+ 0.8958126306533813,
+ 0.9049636125564575,
+ 0.9123932123184204,
+ 0.9138861298561096,
+ 0.9191209077835083,
+ 0.9256614446640015,
+ 0.9137347936630249
+ ],
+ "q90": [
+ 0.9195939302444458,
+ 0.9236188530921936,
+ 0.9301517605781555,
+ 0.9359439611434937,
+ 0.9242846369743347,
+ 0.9196143746376038,
+ 0.9301571846008301,
+ 0.9382931590080261,
+ 0.9394593238830566,
+ 0.9451783895492554,
+ 0.9518223404884338,
+ 0.9389423131942749
+ ]
+ },
+ {
+ "step": 3,
+ "n_points": 14,
+ "last_historical_date": "2023-02",
+ "historical_dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12",
+ "2023-01",
+ "2023-02"
+ ],
+ "historical_values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705,
+ 0.8700000047683716,
+ 0.9800000190734863
+ ],
+ "forecast_dates": [
+ "2023-03",
+ "2023-04",
+ "2023-05",
+ "2023-06",
+ "2023-07",
+ "2023-08",
+ "2023-09",
+ "2023-10",
+ "2023-11",
+ "2023-12",
+ "2024-01",
+ "2024-02"
+ ],
+ "point_forecast": [
+ 0.8962793350219727,
+ 0.8913998007774353,
+ 0.8914807438850403,
+ 0.871181845664978,
+ 0.8662641644477844,
+ 0.8797636032104492,
+ 0.8862841129302979,
+ 0.884779691696167,
+ 0.8836072087287903,
+ 0.8898857235908508,
+ 0.8741991519927979,
+ 0.8697925806045532
+ ],
+ "q10": [
+ 0.9006780982017517,
+ 0.8960930705070496,
+ 0.8975709676742554,
+ 0.8764383792877197,
+ 0.8719356060028076,
+ 0.8863880038261414,
+ 0.8936481475830078,
+ 0.891782283782959,
+ 0.8906540274620056,
+ 0.8970102667808533,
+ 0.8820476531982422,
+ 0.8772810101509094
+ ],
+ "q20": [
+ 0.8080285787582397,
+ 0.8004014492034912,
+ 0.7992052435874939,
+ 0.7845293879508972,
+ 0.7833878993988037,
+ 0.7934101819992065,
+ 0.798040509223938,
+ 0.7972208261489868,
+ 0.7961648106575012,
+ 0.7998728156089783,
+ 0.789516031742096,
+ 0.785558819770813
+ ],
+ "q80": [
+ 0.9340344071388245,
+ 0.9310296177864075,
+ 0.931887149810791,
+ 0.9107009768486023,
+ 0.9042311310768127,
+ 0.9196222424507141,
+ 0.9265503287315369,
+ 0.9255625605583191,
+ 0.9238306283950806,
+ 0.9304555058479309,
+ 0.913487434387207,
+ 0.9083813428878784
+ ],
+ "q90": [
+ 0.9600221514701843,
+ 0.9573583006858826,
+ 0.9588406682014465,
+ 0.9357264041900635,
+ 0.9300737380981445,
+ 0.9452965259552002,
+ 0.953380823135376,
+ 0.9521129727363586,
+ 0.9504246711730957,
+ 0.9578516483306885,
+ 0.9395800828933716,
+ 0.9347273707389832
+ ]
+ },
+ {
+ "step": 4,
+ "n_points": 15,
+ "last_historical_date": "2023-03",
+ "historical_dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12",
+ "2023-01",
+ "2023-02",
+ "2023-03"
+ ],
+ "historical_values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705,
+ 0.8700000047683716,
+ 0.9800000190734863,
+ 1.2100000381469727
+ ],
+ "forecast_dates": [
+ "2023-04",
+ "2023-05",
+ "2023-06",
+ "2023-07",
+ "2023-08",
+ "2023-09",
+ "2023-10",
+ "2023-11",
+ "2023-12",
+ "2024-01",
+ "2024-02",
+ "2024-03"
+ ],
+ "point_forecast": [
+ 1.011451005935669,
+ 0.9553948640823364,
+ 0.9197208285331726,
+ 0.9124891757965088,
+ 0.9261340498924255,
+ 0.9234520792961121,
+ 0.9108935594558716,
+ 0.8969470858573914,
+ 0.8980726599693298,
+ 0.8982804417610168,
+ 0.8991943001747131,
+ 0.9119693636894226
+ ],
+ "q10": [
+ 1.028891921043396,
+ 0.9745897650718689,
+ 0.9376441240310669,
+ 0.9297030568122864,
+ 0.9439254403114319,
+ 0.943497896194458,
+ 0.9286640286445618,
+ 0.9142505526542664,
+ 0.9157885313034058,
+ 0.9157061576843262,
+ 0.9165257215499878,
+ 0.929168164730072
+ ],
+ "q20": [
+ 0.8432373404502869,
+ 0.8032699823379517,
+ 0.7799109220504761,
+ 0.7799201011657715,
+ 0.7939504981040955,
+ 0.7942459583282471,
+ 0.7866204380989075,
+ 0.7787443399429321,
+ 0.7860440611839294,
+ 0.7884118556976318,
+ 0.7909562587738037,
+ 0.7990366220474243
+ ],
+ "q80": [
+ 1.0893518924713135,
+ 1.031952142715454,
+ 0.9909453392028809,
+ 0.9802313446998596,
+ 0.9924889802932739,
+ 0.9901573657989502,
+ 0.973213791847229,
+ 0.9567193984985352,
+ 0.9561106562614441,
+ 0.9526670575141907,
+ 0.9554384350776672,
+ 0.966469407081604
+ ],
+ "q90": [
+ 1.143047571182251,
+ 1.0867642164230347,
+ 1.0392613410949707,
+ 1.0258489847183228,
+ 1.0397703647613525,
+ 1.035668134689331,
+ 1.0181812047958374,
+ 0.9991654753684998,
+ 0.9964229464530945,
+ 0.9952237606048584,
+ 0.994753360748291,
+ 1.0074013471603394
+ ]
+ },
+ {
+ "step": 5,
+ "n_points": 16,
+ "last_historical_date": "2023-04",
+ "historical_dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12",
+ "2023-01",
+ "2023-02",
+ "2023-03",
+ "2023-04"
+ ],
+ "historical_values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705,
+ 0.8700000047683716,
+ 0.9800000190734863,
+ 1.2100000381469727,
+ 1.0
+ ],
+ "forecast_dates": [
+ "2023-05",
+ "2023-06",
+ "2023-07",
+ "2023-08",
+ "2023-09",
+ "2023-10",
+ "2023-11",
+ "2023-12",
+ "2024-01",
+ "2024-02",
+ "2024-03",
+ "2024-04"
+ ],
+ "point_forecast": [
+ 0.9379441142082214,
+ 0.9161815047264099,
+ 0.9183650612831116,
+ 0.9345710277557373,
+ 0.9429481625556946,
+ 0.9236418008804321,
+ 0.9020940065383911,
+ 0.8962475657463074,
+ 0.8969618678092957,
+ 0.9029411673545837,
+ 0.9058347344398499,
+ 0.9071778059005737
+ ],
+ "q10": [
+ 0.9455586075782776,
+ 0.9275433421134949,
+ 0.9313569068908691,
+ 0.9499651789665222,
+ 0.957696259021759,
+ 0.9388371706008911,
+ 0.9148422479629517,
+ 0.9104428887367249,
+ 0.9122737646102905,
+ 0.9160297513008118,
+ 0.9193358421325684,
+ 0.9216225147247314
+ ],
+ "q20": [
+ 0.8105636239051819,
+ 0.7875122427940369,
+ 0.787703812122345,
+ 0.8008798360824585,
+ 0.8086710572242737,
+ 0.7946160435676575,
+ 0.7819311022758484,
+ 0.7810927629470825,
+ 0.7885390520095825,
+ 0.7923018336296082,
+ 0.7944296002388,
+ 0.793520987033844
+ ],
+ "q80": [
+ 0.9937812685966492,
+ 0.9760434627532959,
+ 0.9809014797210693,
+ 0.9971702098846436,
+ 1.0051108598709106,
+ 0.985238790512085,
+ 0.9596951007843018,
+ 0.9502063989639282,
+ 0.9515751004219055,
+ 0.9542210102081299,
+ 0.9595392346382141,
+ 0.9599698185920715
+ ],
+ "q90": [
+ 1.0336796045303345,
+ 1.0175514221191406,
+ 1.021440029144287,
+ 1.0401356220245361,
+ 1.0489550828933716,
+ 1.0270309448242188,
+ 0.9989587068557739,
+ 0.9885305166244507,
+ 0.9877901077270508,
+ 0.9937816262245178,
+ 0.996868908405304,
+ 0.9987958073616028
+ ]
+ },
+ {
+ "step": 6,
+ "n_points": 17,
+ "last_historical_date": "2023-05",
+ "historical_dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12",
+ "2023-01",
+ "2023-02",
+ "2023-03",
+ "2023-04",
+ "2023-05"
+ ],
+ "historical_values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705,
+ 0.8700000047683716,
+ 0.9800000190734863,
+ 1.2100000381469727,
+ 1.0,
+ 0.9399999976158142
+ ],
+ "forecast_dates": [
+ "2023-06",
+ "2023-07",
+ "2023-08",
+ "2023-09",
+ "2023-10",
+ "2023-11",
+ "2023-12",
+ "2024-01",
+ "2024-02",
+ "2024-03",
+ "2024-04",
+ "2024-05"
+ ],
+ "point_forecast": [
+ 0.9097275137901306,
+ 0.9010418057441711,
+ 0.9079869985580444,
+ 0.9222638010978699,
+ 0.932843029499054,
+ 0.9133341312408447,
+ 0.8972155451774597,
+ 0.8887625336647034,
+ 0.8941851854324341,
+ 0.9068790674209595,
+ 0.9091910123825073,
+ 0.9068935513496399
+ ],
+ "q10": [
+ 0.9192558526992798,
+ 0.9128602147102356,
+ 0.9227687120437622,
+ 0.9362373352050781,
+ 0.9478849172592163,
+ 0.9271639585494995,
+ 0.910339891910553,
+ 0.9013872146606445,
+ 0.908535897731781,
+ 0.9196968078613281,
+ 0.9216489791870117,
+ 0.9205824136734009
+ ],
+ "q20": [
+ 0.7991487383842468,
+ 0.7880749702453613,
+ 0.7902460098266602,
+ 0.8014485239982605,
+ 0.8115598559379578,
+ 0.7963781952857971,
+ 0.7883695960044861,
+ 0.7836517691612244,
+ 0.7910313606262207,
+ 0.799010694026947,
+ 0.8031657934188843,
+ 0.8004167675971985
+ ],
+ "q80": [
+ 0.9585660099983215,
+ 0.9542173743247986,
+ 0.9642703533172607,
+ 0.9804073572158813,
+ 0.9885033965110779,
+ 0.9688029289245605,
+ 0.949183464050293,
+ 0.9374165534973145,
+ 0.9444000124931335,
+ 0.9574207663536072,
+ 0.9588959217071533,
+ 0.9561213254928589
+ ],
+ "q90": [
+ 0.994154691696167,
+ 0.9911658763885498,
+ 1.0009171962738037,
+ 1.0182007551193237,
+ 1.0296927690505981,
+ 1.0062158107757568,
+ 0.985028862953186,
+ 0.9721169471740723,
+ 0.9787886142730713,
+ 0.9931607246398926,
+ 0.9947684407234192,
+ 0.9917771220207214
+ ]
+ },
+ {
+ "step": 7,
+ "n_points": 18,
+ "last_historical_date": "2023-06",
+ "historical_dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12",
+ "2023-01",
+ "2023-02",
+ "2023-03",
+ "2023-04",
+ "2023-05",
+ "2023-06"
+ ],
+ "historical_values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705,
+ 0.8700000047683716,
+ 0.9800000190734863,
+ 1.2100000381469727,
+ 1.0,
+ 0.9399999976158142,
+ 1.0800000429153442
+ ],
+ "forecast_dates": [
+ "2023-07",
+ "2023-08",
+ "2023-09",
+ "2023-10",
+ "2023-11",
+ "2023-12",
+ "2024-01",
+ "2024-02",
+ "2024-03",
+ "2024-04",
+ "2024-05",
+ "2024-06"
+ ],
+ "point_forecast": [
+ 0.9665141701698303,
+ 0.9519135355949402,
+ 0.9444465637207031,
+ 0.9402952790260315,
+ 0.9306893348693848,
+ 0.9244646430015564,
+ 0.9174035787582397,
+ 0.9139379858970642,
+ 0.9132129549980164,
+ 0.9145187735557556,
+ 0.911784291267395,
+ 0.9093538522720337
+ ],
+ "q10": [
+ 0.9755732417106628,
+ 0.9652556777000427,
+ 0.9605708122253418,
+ 0.9540410041809082,
+ 0.944946825504303,
+ 0.9393219351768494,
+ 0.9324542880058289,
+ 0.9295912981033325,
+ 0.9304096698760986,
+ 0.9316055178642273,
+ 0.9279895424842834,
+ 0.9257113337516785
+ ],
+ "q20": [
+ 0.833349347114563,
+ 0.8175394535064697,
+ 0.8078386783599854,
+ 0.8068903088569641,
+ 0.8031129837036133,
+ 0.801506757736206,
+ 0.7994549870491028,
+ 0.7967816591262817,
+ 0.7986584305763245,
+ 0.7988185882568359,
+ 0.799284040927887,
+ 0.7968909740447998
+ ],
+ "q80": [
+ 1.0251524448394775,
+ 1.015281319618225,
+ 1.0085906982421875,
+ 1.0044453144073486,
+ 0.9904035329818726,
+ 0.9857988953590393,
+ 0.977156400680542,
+ 0.9709676504135132,
+ 0.9726237654685974,
+ 0.9721717238426208,
+ 0.9683824181556702,
+ 0.9648834466934204
+ ],
+ "q90": [
+ 1.0656019449234009,
+ 1.059928059577942,
+ 1.0517113208770752,
+ 1.0461057424545288,
+ 1.035980224609375,
+ 1.0275849103927612,
+ 1.0181881189346313,
+ 1.0124856233596802,
+ 1.0126112699508667,
+ 1.0153447389602661,
+ 1.0106351375579834,
+ 1.0058791637420654
+ ]
+ },
+ {
+ "step": 8,
+ "n_points": 19,
+ "last_historical_date": "2023-07",
+ "historical_dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12",
+ "2023-01",
+ "2023-02",
+ "2023-03",
+ "2023-04",
+ "2023-05",
+ "2023-06",
+ "2023-07"
+ ],
+ "historical_values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705,
+ 0.8700000047683716,
+ 0.9800000190734863,
+ 1.2100000381469727,
+ 1.0,
+ 0.9399999976158142,
+ 1.0800000429153442,
+ 1.1799999475479126
+ ],
+ "forecast_dates": [
+ "2023-08",
+ "2023-09",
+ "2023-10",
+ "2023-11",
+ "2023-12",
+ "2024-01",
+ "2024-02",
+ "2024-03",
+ "2024-04",
+ "2024-05",
+ "2024-06",
+ "2024-07"
+ ],
+ "point_forecast": [
+ 1.0381698608398438,
+ 1.012021780014038,
+ 0.99420565366745,
+ 0.9754087924957275,
+ 0.9563038349151611,
+ 0.9495773315429688,
+ 0.9422544240951538,
+ 0.9361824989318848,
+ 0.9247673749923706,
+ 0.9178153276443481,
+ 0.9097317457199097,
+ 0.901350200176239
+ ],
+ "q10": [
+ 1.0491734743118286,
+ 1.028739333152771,
+ 1.0114028453826904,
+ 0.9906209111213684,
+ 0.971588134765625,
+ 0.9669111371040344,
+ 0.9621954560279846,
+ 0.9568055868148804,
+ 0.9453385472297668,
+ 0.9398422241210938,
+ 0.9300127029418945,
+ 0.922597348690033
+ ],
+ "q20": [
+ 0.8832447528839111,
+ 0.8571564555168152,
+ 0.840262234210968,
+ 0.8279801607131958,
+ 0.8175891637802124,
+ 0.8145928382873535,
+ 0.8104804754257202,
+ 0.8050722479820251,
+ 0.8001488447189331,
+ 0.7951650619506836,
+ 0.7925589084625244,
+ 0.78853440284729
+ ],
+ "q80": [
+ 1.10765540599823,
+ 1.0850690603256226,
+ 1.0677224397659302,
+ 1.0468156337738037,
+ 1.0239413976669312,
+ 1.018355131149292,
+ 1.0108981132507324,
+ 1.0029836893081665,
+ 0.9916971325874329,
+ 0.9822992086410522,
+ 0.9713731408119202,
+ 0.9630072712898254
+ ],
+ "q90": [
+ 1.1553966999053955,
+ 1.137328863143921,
+ 1.1165260076522827,
+ 1.0933233499526978,
+ 1.072894811630249,
+ 1.065496563911438,
+ 1.0601707696914673,
+ 1.0506465435028076,
+ 1.038832187652588,
+ 1.0302690267562866,
+ 1.018511414527893,
+ 1.0077110528945923
+ ]
+ },
+ {
+ "step": 9,
+ "n_points": 20,
+ "last_historical_date": "2023-08",
+ "historical_dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12",
+ "2023-01",
+ "2023-02",
+ "2023-03",
+ "2023-04",
+ "2023-05",
+ "2023-06",
+ "2023-07",
+ "2023-08"
+ ],
+ "historical_values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705,
+ 0.8700000047683716,
+ 0.9800000190734863,
+ 1.2100000381469727,
+ 1.0,
+ 0.9399999976158142,
+ 1.0800000429153442,
+ 1.1799999475479126,
+ 1.2400000095367432
+ ],
+ "forecast_dates": [
+ "2023-09",
+ "2023-10",
+ "2023-11",
+ "2023-12",
+ "2024-01",
+ "2024-02",
+ "2024-03",
+ "2024-04",
+ "2024-05",
+ "2024-06",
+ "2024-07",
+ "2024-08"
+ ],
+ "point_forecast": [
+ 1.1063826084136963,
+ 1.0667672157287598,
+ 1.0312474966049194,
+ 1.0092777013778687,
+ 0.9886403679847717,
+ 0.9805473685264587,
+ 0.96883624792099,
+ 0.9500434994697571,
+ 0.9289879202842712,
+ 0.9156991839408875,
+ 0.9083491563796997,
+ 0.9020676016807556
+ ],
+ "q10": [
+ 1.114622950553894,
+ 1.083889365196228,
+ 1.0484296083450317,
+ 1.0276585817337036,
+ 1.008374571800232,
+ 0.999535322189331,
+ 0.9902844429016113,
+ 0.9757266640663147,
+ 0.9533360600471497,
+ 0.9409008026123047,
+ 0.9341027736663818,
+ 0.9281788468360901
+ ],
+ "q20": [
+ 0.928669810295105,
+ 0.8862699866294861,
+ 0.8555266261100769,
+ 0.8365516662597656,
+ 0.8246086835861206,
+ 0.8187647461891174,
+ 0.8126576542854309,
+ 0.8008460402488708,
+ 0.7927306890487671,
+ 0.7833954095840454,
+ 0.7795919179916382,
+ 0.7797963619232178
+ ],
+ "q80": [
+ 1.1856414079666138,
+ 1.1520715951919556,
+ 1.117408037185669,
+ 1.0936567783355713,
+ 1.0721673965454102,
+ 1.0631694793701172,
+ 1.048310399055481,
+ 1.0276391506195068,
+ 1.0055267810821533,
+ 0.9882948994636536,
+ 0.9792788624763489,
+ 0.9736778736114502
+ ],
+ "q90": [
+ 1.23917818069458,
+ 1.2113547325134277,
+ 1.1742331981658936,
+ 1.151162028312683,
+ 1.1314780712127686,
+ 1.1195954084396362,
+ 1.10871160030365,
+ 1.0842714309692383,
+ 1.0615670680999756,
+ 1.0447986125946045,
+ 1.0315890312194824,
+ 1.024493932723999
+ ]
+ },
+ {
+ "step": 10,
+ "n_points": 21,
+ "last_historical_date": "2023-09",
+ "historical_dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12",
+ "2023-01",
+ "2023-02",
+ "2023-03",
+ "2023-04",
+ "2023-05",
+ "2023-06",
+ "2023-07",
+ "2023-08",
+ "2023-09"
+ ],
+ "historical_values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705,
+ 0.8700000047683716,
+ 0.9800000190734863,
+ 1.2100000381469727,
+ 1.0,
+ 0.9399999976158142,
+ 1.0800000429153442,
+ 1.1799999475479126,
+ 1.2400000095367432,
+ 1.4700000286102295
+ ],
+ "forecast_dates": [
+ "2023-10",
+ "2023-11",
+ "2023-12",
+ "2024-01",
+ "2024-02",
+ "2024-03",
+ "2024-04",
+ "2024-05",
+ "2024-06",
+ "2024-07",
+ "2024-08",
+ "2024-09"
+ ],
+ "point_forecast": [
+ 1.2447655200958252,
+ 1.1675736904144287,
+ 1.1279113292694092,
+ 1.1182188987731934,
+ 1.1093124151229858,
+ 1.082032322883606,
+ 1.038187861442566,
+ 0.9993720650672913,
+ 0.9796157479286194,
+ 0.9642789959907532,
+ 0.9476039409637451,
+ 0.9355512857437134
+ ],
+ "q10": [
+ 1.2715141773223877,
+ 1.2083916664123535,
+ 1.1731905937194824,
+ 1.165351152420044,
+ 1.162253975868225,
+ 1.13302481174469,
+ 1.085452914237976,
+ 1.051274299621582,
+ 1.0313252210617065,
+ 1.0168172121047974,
+ 0.9987383484840393,
+ 0.9869235754013062
+ ],
+ "q20": [
+ 0.9692280888557434,
+ 0.9033447504043579,
+ 0.8709640502929688,
+ 0.8632612824440002,
+ 0.8616656064987183,
+ 0.8437307476997375,
+ 0.8145183324813843,
+ 0.7942112684249878,
+ 0.7919824123382568,
+ 0.7849438190460205,
+ 0.7758752703666687,
+ 0.7725547552108765
+ ],
+ "q80": [
+ 1.3772318363189697,
+ 1.3073946237564087,
+ 1.267617106437683,
+ 1.2576971054077148,
+ 1.2495336532592773,
+ 1.2185810804367065,
+ 1.1627202033996582,
+ 1.1192079782485962,
+ 1.093948483467102,
+ 1.0731803178787231,
+ 1.0513980388641357,
+ 1.0379669666290283
+ ],
+ "q90": [
+ 1.4695751667022705,
+ 1.4090934991836548,
+ 1.3679797649383545,
+ 1.3577240705490112,
+ 1.3525687456130981,
+ 1.315553903579712,
+ 1.2607886791229248,
+ 1.2103060483932495,
+ 1.1827821731567383,
+ 1.1617928743362427,
+ 1.1323959827423096,
+ 1.1176999807357788
+ ]
+ },
+ {
+ "step": 11,
+ "n_points": 22,
+ "last_historical_date": "2023-10",
+ "historical_dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12",
+ "2023-01",
+ "2023-02",
+ "2023-03",
+ "2023-04",
+ "2023-05",
+ "2023-06",
+ "2023-07",
+ "2023-08",
+ "2023-09",
+ "2023-10"
+ ],
+ "historical_values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705,
+ 0.8700000047683716,
+ 0.9800000190734863,
+ 1.2100000381469727,
+ 1.0,
+ 0.9399999976158142,
+ 1.0800000429153442,
+ 1.1799999475479126,
+ 1.2400000095367432,
+ 1.4700000286102295,
+ 1.3200000524520874
+ ],
+ "forecast_dates": [
+ "2023-11",
+ "2023-12",
+ "2024-01",
+ "2024-02",
+ "2024-03",
+ "2024-04",
+ "2024-05",
+ "2024-06",
+ "2024-07",
+ "2024-08",
+ "2024-09",
+ "2024-10"
+ ],
+ "point_forecast": [
+ 1.1978572607040405,
+ 1.1348843574523926,
+ 1.107893705368042,
+ 1.0890357494354248,
+ 1.075318455696106,
+ 1.0392742156982422,
+ 1.0066328048706055,
+ 0.9802011847496033,
+ 0.968873143196106,
+ 0.9584881663322449,
+ 0.9440371990203857,
+ 0.929160475730896
+ ],
+ "q10": [
+ 1.2035126686096191,
+ 1.153576135635376,
+ 1.1352055072784424,
+ 1.1203036308288574,
+ 1.1123145818710327,
+ 1.0742825269699097,
+ 1.0389323234558105,
+ 1.017652988433838,
+ 1.0134992599487305,
+ 1.0038114786148071,
+ 0.9876317381858826,
+ 0.972976565361023
+ ],
+ "q20": [
+ 0.9713577032089233,
+ 0.9063910245895386,
+ 0.8755015134811401,
+ 0.8545557260513306,
+ 0.8455488681793213,
+ 0.8177679777145386,
+ 0.799569845199585,
+ 0.7851544618606567,
+ 0.7884225249290466,
+ 0.7802386283874512,
+ 0.7720929980278015,
+ 0.7622212171554565
+ ],
+ "q80": [
+ 1.2972460985183716,
+ 1.245476484298706,
+ 1.2229666709899902,
+ 1.210435152053833,
+ 1.1973446607589722,
+ 1.157381296157837,
+ 1.1181674003601074,
+ 1.0869324207305908,
+ 1.075097680091858,
+ 1.0632023811340332,
+ 1.0455275774002075,
+ 1.0302590131759644
+ ],
+ "q90": [
+ 1.3638895750045776,
+ 1.323225975036621,
+ 1.304998755455017,
+ 1.2944636344909668,
+ 1.2835395336151123,
+ 1.2412294149398804,
+ 1.1998721361160278,
+ 1.1685125827789307,
+ 1.1557502746582031,
+ 1.1425185203552246,
+ 1.1200439929962158,
+ 1.1038810014724731
+ ]
+ },
+ {
+ "step": 12,
+ "n_points": 23,
+ "last_historical_date": "2023-11",
+ "historical_dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12",
+ "2023-01",
+ "2023-02",
+ "2023-03",
+ "2023-04",
+ "2023-05",
+ "2023-06",
+ "2023-07",
+ "2023-08",
+ "2023-09",
+ "2023-10",
+ "2023-11"
+ ],
+ "historical_values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705,
+ 0.8700000047683716,
+ 0.9800000190734863,
+ 1.2100000381469727,
+ 1.0,
+ 0.9399999976158142,
+ 1.0800000429153442,
+ 1.1799999475479126,
+ 1.2400000095367432,
+ 1.4700000286102295,
+ 1.3200000524520874,
+ 1.1799999475479126
+ ],
+ "forecast_dates": [
+ "2023-12",
+ "2024-01",
+ "2024-02",
+ "2024-03",
+ "2024-04",
+ "2024-05",
+ "2024-06",
+ "2024-07",
+ "2024-08",
+ "2024-09",
+ "2024-10",
+ "2024-11"
+ ],
+ "point_forecast": [
+ 1.1388345956802368,
+ 1.1001060009002686,
+ 1.0774588584899902,
+ 1.0615431070327759,
+ 1.0359764099121094,
+ 1.0100469589233398,
+ 0.9895788431167603,
+ 0.9849971532821655,
+ 0.9746628999710083,
+ 0.9684356451034546,
+ 0.9609130024909973,
+ 0.947131872177124
+ ],
+ "q10": [
+ 1.143956184387207,
+ 1.1164032220840454,
+ 1.0988131761550903,
+ 1.0883313417434692,
+ 1.0633952617645264,
+ 1.0377331972122192,
+ 1.0185223817825317,
+ 1.0154881477355957,
+ 1.0130091905593872,
+ 1.006235957145691,
+ 0.9972001314163208,
+ 0.984115719795227
+ ],
+ "q20": [
+ 0.9558293223381042,
+ 0.9077008962631226,
+ 0.875536322593689,
+ 0.8599477410316467,
+ 0.8395929932594299,
+ 0.820803165435791,
+ 0.8097033500671387,
+ 0.8071569800376892,
+ 0.8063573837280273,
+ 0.7997854351997375,
+ 0.7947160601615906,
+ 0.7840617895126343
+ ],
+ "q80": [
+ 1.2187292575836182,
+ 1.1895191669464111,
+ 1.1730304956436157,
+ 1.1645177602767944,
+ 1.1339150667190552,
+ 1.1082265377044678,
+ 1.0852689743041992,
+ 1.0772539377212524,
+ 1.0709658861160278,
+ 1.0674384832382202,
+ 1.0557781457901,
+ 1.0452414751052856
+ ],
+ "q90": [
+ 1.2729495763778687,
+ 1.2533750534057617,
+ 1.2407320737838745,
+ 1.2354146242141724,
+ 1.2064470052719116,
+ 1.1776363849639893,
+ 1.1529877185821533,
+ 1.1496665477752686,
+ 1.1451096534729004,
+ 1.137753963470459,
+ 1.1235407590866089,
+ 1.1123000383377075
+ ]
+ },
+ {
+ "step": 13,
+ "n_points": 24,
+ "last_historical_date": "2023-12",
+ "historical_dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12",
+ "2023-01",
+ "2023-02",
+ "2023-03",
+ "2023-04",
+ "2023-05",
+ "2023-06",
+ "2023-07",
+ "2023-08",
+ "2023-09",
+ "2023-10",
+ "2023-11",
+ "2023-12"
+ ],
+ "historical_values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705,
+ 0.8700000047683716,
+ 0.9800000190734863,
+ 1.2100000381469727,
+ 1.0,
+ 0.9399999976158142,
+ 1.0800000429153442,
+ 1.1799999475479126,
+ 1.2400000095367432,
+ 1.4700000286102295,
+ 1.3200000524520874,
+ 1.1799999475479126,
+ 1.159999966621399
+ ],
+ "forecast_dates": [
+ "2024-01",
+ "2024-02",
+ "2024-03",
+ "2024-04",
+ "2024-05",
+ "2024-06",
+ "2024-07",
+ "2024-08",
+ "2024-09",
+ "2024-10",
+ "2024-11",
+ "2024-12"
+ ],
+ "point_forecast": [
+ 1.1204800605773926,
+ 1.0831129550933838,
+ 1.0525826215744019,
+ 1.0186809301376343,
+ 0.996323823928833,
+ 0.9761021733283997,
+ 0.966797411441803,
+ 0.9621630311012268,
+ 0.950423002243042,
+ 0.9326475262641907,
+ 0.9303779602050781,
+ 0.9362010955810547
+ ],
+ "q10": [
+ 1.1319338083267212,
+ 1.1058242321014404,
+ 1.0804548263549805,
+ 1.0469233989715576,
+ 1.0246795415878296,
+ 1.0055618286132812,
+ 0.999349057674408,
+ 0.9949856996536255,
+ 0.9896860718727112,
+ 0.9742559194564819,
+ 0.9675081968307495,
+ 0.9734180569648743
+ ],
+ "q20": [
+ 0.9561834335327148,
+ 0.9061079621315002,
+ 0.8687788844108582,
+ 0.8394415378570557,
+ 0.8218992948532104,
+ 0.8107370138168335,
+ 0.8105956315994263,
+ 0.8031740784645081,
+ 0.8004634380340576,
+ 0.7854968309402466,
+ 0.7851479053497314,
+ 0.7882705330848694
+ ],
+ "q80": [
+ 1.19773530960083,
+ 1.1693586111068726,
+ 1.14640212059021,
+ 1.11386239528656,
+ 1.082446813583374,
+ 1.0650819540023804,
+ 1.05680513381958,
+ 1.0481219291687012,
+ 1.0429224967956543,
+ 1.024938702583313,
+ 1.0191327333450317,
+ 1.028489589691162
+ ],
+ "q90": [
+ 1.2482070922851562,
+ 1.229236364364624,
+ 1.210077166557312,
+ 1.18027925491333,
+ 1.1515717506408691,
+ 1.1297614574432373,
+ 1.1205626726150513,
+ 1.1177691221237183,
+ 1.112573504447937,
+ 1.0930581092834473,
+ 1.084266185760498,
+ 1.0912758111953735
+ ]
+ },
+ {
+ "step": 14,
+ "n_points": 25,
+ "last_historical_date": "2024-01",
+ "historical_dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12",
+ "2023-01",
+ "2023-02",
+ "2023-03",
+ "2023-04",
+ "2023-05",
+ "2023-06",
+ "2023-07",
+ "2023-08",
+ "2023-09",
+ "2023-10",
+ "2023-11",
+ "2023-12",
+ "2024-01"
+ ],
+ "historical_values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705,
+ 0.8700000047683716,
+ 0.9800000190734863,
+ 1.2100000381469727,
+ 1.0,
+ 0.9399999976158142,
+ 1.0800000429153442,
+ 1.1799999475479126,
+ 1.2400000095367432,
+ 1.4700000286102295,
+ 1.3200000524520874,
+ 1.1799999475479126,
+ 1.159999966621399,
+ 1.2200000286102295
+ ],
+ "forecast_dates": [
+ "2024-02",
+ "2024-03",
+ "2024-04",
+ "2024-05",
+ "2024-06",
+ "2024-07",
+ "2024-08",
+ "2024-09",
+ "2024-10",
+ "2024-11",
+ "2024-12",
+ "2025-01"
+ ],
+ "point_forecast": [
+ 1.1701693534851074,
+ 1.1349387168884277,
+ 1.0960110425949097,
+ 1.0637617111206055,
+ 1.0402418375015259,
+ 1.0265028476715088,
+ 1.0204156637191772,
+ 1.0119004249572754,
+ 0.9878545999526978,
+ 0.9743345379829407,
+ 0.9826735258102417,
+ 0.9942994117736816
+ ],
+ "q10": [
+ 1.1749104261398315,
+ 1.147524118423462,
+ 1.1174193620681763,
+ 1.086887001991272,
+ 1.0630450248718262,
+ 1.0531063079833984,
+ 1.0497565269470215,
+ 1.042683482170105,
+ 1.0233265161514282,
+ 1.0111165046691895,
+ 1.014377236366272,
+ 1.0274351835250854
+ ],
+ "q20": [
+ 0.9954406023025513,
+ 0.9378616213798523,
+ 0.893646240234375,
+ 0.8610368967056274,
+ 0.8414109945297241,
+ 0.8318982124328613,
+ 0.829987645149231,
+ 0.8171640634536743,
+ 0.8035246729850769,
+ 0.7929065227508545,
+ 0.8037456274032593,
+ 0.8133399486541748
+ ],
+ "q80": [
+ 1.2475481033325195,
+ 1.2218120098114014,
+ 1.1920394897460938,
+ 1.1621203422546387,
+ 1.1338578462600708,
+ 1.1270941495895386,
+ 1.1244370937347412,
+ 1.11036217212677,
+ 1.0929012298583984,
+ 1.0770790576934814,
+ 1.0825059413909912,
+ 1.0962635278701782
+ ],
+ "q90": [
+ 1.2978864908218384,
+ 1.2807369232177734,
+ 1.2577829360961914,
+ 1.2319256067276,
+ 1.2072914838790894,
+ 1.1944835186004639,
+ 1.1949646472930908,
+ 1.1887325048446655,
+ 1.1706409454345703,
+ 1.1535823345184326,
+ 1.1557773351669312,
+ 1.165435791015625
+ ]
+ },
+ {
+ "step": 15,
+ "n_points": 26,
+ "last_historical_date": "2024-02",
+ "historical_dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12",
+ "2023-01",
+ "2023-02",
+ "2023-03",
+ "2023-04",
+ "2023-05",
+ "2023-06",
+ "2023-07",
+ "2023-08",
+ "2023-09",
+ "2023-10",
+ "2023-11",
+ "2023-12",
+ "2024-01",
+ "2024-02"
+ ],
+ "historical_values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705,
+ 0.8700000047683716,
+ 0.9800000190734863,
+ 1.2100000381469727,
+ 1.0,
+ 0.9399999976158142,
+ 1.0800000429153442,
+ 1.1799999475479126,
+ 1.2400000095367432,
+ 1.4700000286102295,
+ 1.3200000524520874,
+ 1.1799999475479126,
+ 1.159999966621399,
+ 1.2200000286102295,
+ 1.350000023841858
+ ],
+ "forecast_dates": [
+ "2024-03",
+ "2024-04",
+ "2024-05",
+ "2024-06",
+ "2024-07",
+ "2024-08",
+ "2024-09",
+ "2024-10",
+ "2024-11",
+ "2024-12",
+ "2025-01",
+ "2025-02"
+ ],
+ "point_forecast": [
+ 1.2504206895828247,
+ 1.2035315036773682,
+ 1.1605435609817505,
+ 1.1372957229614258,
+ 1.1169792413711548,
+ 1.1097407341003418,
+ 1.0960330963134766,
+ 1.0716885328292847,
+ 1.0411385297775269,
+ 1.0377408266067505,
+ 1.06381356716156,
+ 1.09853994846344
+ ],
+ "q10": [
+ 1.253143310546875,
+ 1.2137634754180908,
+ 1.175628900527954,
+ 1.158146858215332,
+ 1.1375560760498047,
+ 1.1330972909927368,
+ 1.1224530935287476,
+ 1.0991952419281006,
+ 1.0732285976409912,
+ 1.069901704788208,
+ 1.0908238887786865,
+ 1.1302318572998047
+ ],
+ "q20": [
+ 1.0437579154968262,
+ 0.9754042625427246,
+ 0.9281424283981323,
+ 0.8999512791633606,
+ 0.8835805058479309,
+ 0.8786535263061523,
+ 0.868209958076477,
+ 0.8477093577384949,
+ 0.8295252919197083,
+ 0.8285472989082336,
+ 0.8487096428871155,
+ 0.8732921481132507
+ ],
+ "q80": [
+ 1.3365967273712158,
+ 1.29902184009552,
+ 1.2669174671173096,
+ 1.2462443113327026,
+ 1.2251611948013306,
+ 1.224426031112671,
+ 1.2126585245132446,
+ 1.1816699504852295,
+ 1.1577259302139282,
+ 1.1497776508331299,
+ 1.1759350299835205,
+ 1.2160439491271973
+ ],
+ "q90": [
+ 1.394209623336792,
+ 1.3661998510360718,
+ 1.3383913040161133,
+ 1.3226557970046997,
+ 1.3062965869903564,
+ 1.3001211881637573,
+ 1.2918630838394165,
+ 1.267607569694519,
+ 1.2428820133209229,
+ 1.2324764728546143,
+ 1.254516839981079,
+ 1.291373372077942
+ ]
+ },
+ {
+ "step": 16,
+ "n_points": 27,
+ "last_historical_date": "2024-03",
+ "historical_dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12",
+ "2023-01",
+ "2023-02",
+ "2023-03",
+ "2023-04",
+ "2023-05",
+ "2023-06",
+ "2023-07",
+ "2023-08",
+ "2023-09",
+ "2023-10",
+ "2023-11",
+ "2023-12",
+ "2024-01",
+ "2024-02",
+ "2024-03"
+ ],
+ "historical_values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705,
+ 0.8700000047683716,
+ 0.9800000190734863,
+ 1.2100000381469727,
+ 1.0,
+ 0.9399999976158142,
+ 1.0800000429153442,
+ 1.1799999475479126,
+ 1.2400000095367432,
+ 1.4700000286102295,
+ 1.3200000524520874,
+ 1.1799999475479126,
+ 1.159999966621399,
+ 1.2200000286102295,
+ 1.350000023841858,
+ 1.340000033378601
+ ],
+ "forecast_dates": [
+ "2024-04",
+ "2024-05",
+ "2024-06",
+ "2024-07",
+ "2024-08",
+ "2024-09",
+ "2024-10",
+ "2024-11",
+ "2024-12",
+ "2025-01",
+ "2025-02",
+ "2025-03"
+ ],
+ "point_forecast": [
+ 1.2523874044418335,
+ 1.2066220045089722,
+ 1.1746571063995361,
+ 1.1765081882476807,
+ 1.1709487438201904,
+ 1.169347882270813,
+ 1.1399660110473633,
+ 1.1141448020935059,
+ 1.094247817993164,
+ 1.0913820266723633,
+ 1.1216974258422852,
+ 1.1433929204940796
+ ],
+ "q10": [
+ 1.2494522333145142,
+ 1.2100024223327637,
+ 1.1815905570983887,
+ 1.184570550918579,
+ 1.181471824645996,
+ 1.1847987174987793,
+ 1.1554681062698364,
+ 1.1273032426834106,
+ 1.1124141216278076,
+ 1.1068137884140015,
+ 1.1349601745605469,
+ 1.160623550415039
+ ],
+ "q20": [
+ 1.0595918893814087,
+ 0.9882703423500061,
+ 0.9449520111083984,
+ 0.9323371648788452,
+ 0.921808123588562,
+ 0.9140236973762512,
+ 0.8879625797271729,
+ 0.8599287271499634,
+ 0.84772127866745,
+ 0.8464851975440979,
+ 0.8668861389160156,
+ 0.8764016032218933
+ ],
+ "q80": [
+ 1.3265814781188965,
+ 1.2932963371276855,
+ 1.2723067998886108,
+ 1.276952862739563,
+ 1.2762058973312378,
+ 1.284961462020874,
+ 1.2592799663543701,
+ 1.2249560356140137,
+ 1.213465929031372,
+ 1.2041243314743042,
+ 1.2399941682815552,
+ 1.2660539150238037
+ ],
+ "q90": [
+ 1.3771872520446777,
+ 1.3524072170257568,
+ 1.3376163244247437,
+ 1.347804307937622,
+ 1.3534436225891113,
+ 1.3581876754760742,
+ 1.3364894390106201,
+ 1.3079556226730347,
+ 1.295357346534729,
+ 1.2872941493988037,
+ 1.3177791833877563,
+ 1.340587854385376
+ ]
+ },
+ {
+ "step": 17,
+ "n_points": 28,
+ "last_historical_date": "2024-04",
+ "historical_dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12",
+ "2023-01",
+ "2023-02",
+ "2023-03",
+ "2023-04",
+ "2023-05",
+ "2023-06",
+ "2023-07",
+ "2023-08",
+ "2023-09",
+ "2023-10",
+ "2023-11",
+ "2023-12",
+ "2024-01",
+ "2024-02",
+ "2024-03",
+ "2024-04"
+ ],
+ "historical_values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705,
+ 0.8700000047683716,
+ 0.9800000190734863,
+ 1.2100000381469727,
+ 1.0,
+ 0.9399999976158142,
+ 1.0800000429153442,
+ 1.1799999475479126,
+ 1.2400000095367432,
+ 1.4700000286102295,
+ 1.3200000524520874,
+ 1.1799999475479126,
+ 1.159999966621399,
+ 1.2200000286102295,
+ 1.350000023841858,
+ 1.340000033378601,
+ 1.2599999904632568
+ ],
+ "forecast_dates": [
+ "2024-05",
+ "2024-06",
+ "2024-07",
+ "2024-08",
+ "2024-09",
+ "2024-10",
+ "2024-11",
+ "2024-12",
+ "2025-01",
+ "2025-02",
+ "2025-03",
+ "2025-04"
+ ],
+ "point_forecast": [
+ 1.2068676948547363,
+ 1.1843211650848389,
+ 1.1752288341522217,
+ 1.17955482006073,
+ 1.1717453002929688,
+ 1.1482445001602173,
+ 1.1248430013656616,
+ 1.1241732835769653,
+ 1.1235134601593018,
+ 1.1300708055496216,
+ 1.1367747783660889,
+ 1.1233289241790771
+ ],
+ "q10": [
+ 1.202960729598999,
+ 1.1801354885101318,
+ 1.1744948625564575,
+ 1.178760290145874,
+ 1.1708077192306519,
+ 1.152012586593628,
+ 1.1264581680297852,
+ 1.1220771074295044,
+ 1.12774658203125,
+ 1.1319509744644165,
+ 1.1353538036346436,
+ 1.1257888078689575
+ ],
+ "q20": [
+ 1.0335861444473267,
+ 0.9781290292739868,
+ 0.948025643825531,
+ 0.937298595905304,
+ 0.9195546507835388,
+ 0.8911022543907166,
+ 0.8684503436088562,
+ 0.8581703901290894,
+ 0.8552865386009216,
+ 0.8566405177116394,
+ 0.8587369918823242,
+ 0.8421598076820374
+ ],
+ "q80": [
+ 1.2702223062515259,
+ 1.2614306211471558,
+ 1.2629116773605347,
+ 1.27401602268219,
+ 1.2682753801345825,
+ 1.253630518913269,
+ 1.23259437084198,
+ 1.2252973318099976,
+ 1.2373583316802979,
+ 1.2451832294464111,
+ 1.2524268627166748,
+ 1.2415071725845337
+ ],
+ "q90": [
+ 1.3145431280136108,
+ 1.313429594039917,
+ 1.3208061456680298,
+ 1.3359402418136597,
+ 1.3367944955825806,
+ 1.3163673877716064,
+ 1.2994139194488525,
+ 1.2974282503128052,
+ 1.3131386041641235,
+ 1.3206769227981567,
+ 1.325730800628662,
+ 1.3097118139266968
+ ]
+ },
+ {
+ "step": 18,
+ "n_points": 29,
+ "last_historical_date": "2024-05",
+ "historical_dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12",
+ "2023-01",
+ "2023-02",
+ "2023-03",
+ "2023-04",
+ "2023-05",
+ "2023-06",
+ "2023-07",
+ "2023-08",
+ "2023-09",
+ "2023-10",
+ "2023-11",
+ "2023-12",
+ "2024-01",
+ "2024-02",
+ "2024-03",
+ "2024-04",
+ "2024-05"
+ ],
+ "historical_values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705,
+ 0.8700000047683716,
+ 0.9800000190734863,
+ 1.2100000381469727,
+ 1.0,
+ 0.9399999976158142,
+ 1.0800000429153442,
+ 1.1799999475479126,
+ 1.2400000095367432,
+ 1.4700000286102295,
+ 1.3200000524520874,
+ 1.1799999475479126,
+ 1.159999966621399,
+ 1.2200000286102295,
+ 1.350000023841858,
+ 1.340000033378601,
+ 1.2599999904632568,
+ 1.149999976158142
+ ],
+ "forecast_dates": [
+ "2024-06",
+ "2024-07",
+ "2024-08",
+ "2024-09",
+ "2024-10",
+ "2024-11",
+ "2024-12",
+ "2025-01",
+ "2025-02",
+ "2025-03",
+ "2025-04",
+ "2025-05"
+ ],
+ "point_forecast": [
+ 1.1386852264404297,
+ 1.1227259635925293,
+ 1.1132360696792603,
+ 1.103696346282959,
+ 1.0890148878097534,
+ 1.0628618001937866,
+ 1.0592650175094604,
+ 1.0809025764465332,
+ 1.1213948726654053,
+ 1.1205977201461792,
+ 1.10319983959198,
+ 1.0873777866363525
+ ],
+ "q10": [
+ 1.1357723474502563,
+ 1.1218345165252686,
+ 1.1151096820831299,
+ 1.1036633253097534,
+ 1.088782787322998,
+ 1.0708427429199219,
+ 1.0614827871322632,
+ 1.0803805589675903,
+ 1.1256681680679321,
+ 1.124110460281372,
+ 1.1017175912857056,
+ 1.0866585969924927
+ ],
+ "q20": [
+ 0.9705875515937805,
+ 0.9261521100997925,
+ 0.9002217650413513,
+ 0.8800909519195557,
+ 0.8597927689552307,
+ 0.837051272392273,
+ 0.8270405530929565,
+ 0.8327914476394653,
+ 0.8583639860153198,
+ 0.8556785583496094,
+ 0.8432221412658691,
+ 0.8295676708221436
+ ],
+ "q80": [
+ 1.2012592554092407,
+ 1.2004612684249878,
+ 1.1944599151611328,
+ 1.1941598653793335,
+ 1.178646206855774,
+ 1.1608107089996338,
+ 1.156977653503418,
+ 1.1782780885696411,
+ 1.2296812534332275,
+ 1.235266089439392,
+ 1.2120579481124878,
+ 1.1956090927124023
+ ],
+ "q90": [
+ 1.2429797649383545,
+ 1.248335599899292,
+ 1.2536859512329102,
+ 1.251412272453308,
+ 1.241403341293335,
+ 1.21868097782135,
+ 1.2173688411712646,
+ 1.244056224822998,
+ 1.3022620677947998,
+ 1.3048560619354248,
+ 1.2794227600097656,
+ 1.25494384765625
+ ]
+ },
+ {
+ "step": 19,
+ "n_points": 30,
+ "last_historical_date": "2024-06",
+ "historical_dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12",
+ "2023-01",
+ "2023-02",
+ "2023-03",
+ "2023-04",
+ "2023-05",
+ "2023-06",
+ "2023-07",
+ "2023-08",
+ "2023-09",
+ "2023-10",
+ "2023-11",
+ "2023-12",
+ "2024-01",
+ "2024-02",
+ "2024-03",
+ "2024-04",
+ "2024-05",
+ "2024-06"
+ ],
+ "historical_values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705,
+ 0.8700000047683716,
+ 0.9800000190734863,
+ 1.2100000381469727,
+ 1.0,
+ 0.9399999976158142,
+ 1.0800000429153442,
+ 1.1799999475479126,
+ 1.2400000095367432,
+ 1.4700000286102295,
+ 1.3200000524520874,
+ 1.1799999475479126,
+ 1.159999966621399,
+ 1.2200000286102295,
+ 1.350000023841858,
+ 1.340000033378601,
+ 1.2599999904632568,
+ 1.149999976158142,
+ 1.2000000476837158
+ ],
+ "forecast_dates": [
+ "2024-07",
+ "2024-08",
+ "2024-09",
+ "2024-10",
+ "2024-11",
+ "2024-12",
+ "2025-01",
+ "2025-02",
+ "2025-03",
+ "2025-04",
+ "2025-05",
+ "2025-06"
+ ],
+ "point_forecast": [
+ 1.1765440702438354,
+ 1.1661514043807983,
+ 1.1520631313323975,
+ 1.1195285320281982,
+ 1.0856300592422485,
+ 1.0768202543258667,
+ 1.0964417457580566,
+ 1.1255871057510376,
+ 1.155031442642212,
+ 1.1183977127075195,
+ 1.1013360023498535,
+ 1.1082254648208618
+ ],
+ "q10": [
+ 1.1751192808151245,
+ 1.1651133298873901,
+ 1.1592530012130737,
+ 1.1195036172866821,
+ 1.084028959274292,
+ 1.0865756273269653,
+ 1.099607229232788,
+ 1.1274793148040771,
+ 1.160447597503662,
+ 1.1203389167785645,
+ 1.0989832878112793,
+ 1.1072871685028076
+ ],
+ "q20": [
+ 1.0206873416900635,
+ 0.9838167428970337,
+ 0.9575520157814026,
+ 0.9151738882064819,
+ 0.8827507495880127,
+ 0.876349151134491,
+ 0.8842628002166748,
+ 0.8949983716011047,
+ 0.9151624441146851,
+ 0.883825421333313,
+ 0.877031147480011,
+ 0.8801717162132263
+ ],
+ "q80": [
+ 1.2346465587615967,
+ 1.238021969795227,
+ 1.2284244298934937,
+ 1.199608564376831,
+ 1.1668167114257812,
+ 1.165637731552124,
+ 1.1883985996246338,
+ 1.2180571556091309,
+ 1.25492525100708,
+ 1.219463586807251,
+ 1.1989303827285767,
+ 1.2049015760421753
+ ],
+ "q90": [
+ 1.2738851308822632,
+ 1.2814069986343384,
+ 1.2860920429229736,
+ 1.251664638519287,
+ 1.2245914936065674,
+ 1.2196787595748901,
+ 1.2461426258087158,
+ 1.2824065685272217,
+ 1.3231412172317505,
+ 1.2859265804290771,
+ 1.2610337734222412,
+ 1.2612855434417725
+ ]
+ },
+ {
+ "step": 20,
+ "n_points": 31,
+ "last_historical_date": "2024-07",
+ "historical_dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12",
+ "2023-01",
+ "2023-02",
+ "2023-03",
+ "2023-04",
+ "2023-05",
+ "2023-06",
+ "2023-07",
+ "2023-08",
+ "2023-09",
+ "2023-10",
+ "2023-11",
+ "2023-12",
+ "2024-01",
+ "2024-02",
+ "2024-03",
+ "2024-04",
+ "2024-05",
+ "2024-06",
+ "2024-07"
+ ],
+ "historical_values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705,
+ 0.8700000047683716,
+ 0.9800000190734863,
+ 1.2100000381469727,
+ 1.0,
+ 0.9399999976158142,
+ 1.0800000429153442,
+ 1.1799999475479126,
+ 1.2400000095367432,
+ 1.4700000286102295,
+ 1.3200000524520874,
+ 1.1799999475479126,
+ 1.159999966621399,
+ 1.2200000286102295,
+ 1.350000023841858,
+ 1.340000033378601,
+ 1.2599999904632568,
+ 1.149999976158142,
+ 1.2000000476837158,
+ 1.2400000095367432
+ ],
+ "forecast_dates": [
+ "2024-08",
+ "2024-09",
+ "2024-10",
+ "2024-11",
+ "2024-12",
+ "2025-01",
+ "2025-02",
+ "2025-03",
+ "2025-04",
+ "2025-05",
+ "2025-06",
+ "2025-07"
+ ],
+ "point_forecast": [
+ 1.2069008350372314,
+ 1.193657636642456,
+ 1.1575161218643188,
+ 1.133849859237671,
+ 1.1235467195510864,
+ 1.1252387762069702,
+ 1.1443586349487305,
+ 1.1506012678146362,
+ 1.134141206741333,
+ 1.1200145483016968,
+ 1.133240818977356,
+ 1.1518402099609375
+ ],
+ "q10": [
+ 1.2029995918273926,
+ 1.1932077407836914,
+ 1.1641241312026978,
+ 1.1338424682617188,
+ 1.12429940700531,
+ 1.1312663555145264,
+ 1.1450644731521606,
+ 1.1525075435638428,
+ 1.1395219564437866,
+ 1.121511697769165,
+ 1.132306456565857,
+ 1.1525789499282837
+ ],
+ "q20": [
+ 1.0395362377166748,
+ 0.9963122606277466,
+ 0.951080322265625,
+ 0.9185925126075745,
+ 0.9062104821205139,
+ 0.9065833687782288,
+ 0.9181973934173584,
+ 0.9136454463005066,
+ 0.9018174409866333,
+ 0.8859837055206299,
+ 0.8985838890075684,
+ 0.9077322483062744
+ ],
+ "q80": [
+ 1.2682971954345703,
+ 1.2702425718307495,
+ 1.239664077758789,
+ 1.2174897193908691,
+ 1.2065781354904175,
+ 1.2155629396438599,
+ 1.2398309707641602,
+ 1.240811824798584,
+ 1.2331410646438599,
+ 1.2164467573165894,
+ 1.2326842546463013,
+ 1.251672387123108
+ ],
+ "q90": [
+ 1.3094301223754883,
+ 1.3151092529296875,
+ 1.2952126264572144,
+ 1.273212194442749,
+ 1.2679336071014404,
+ 1.2713508605957031,
+ 1.2985038757324219,
+ 1.305957555770874,
+ 1.2964022159576416,
+ 1.2809231281280518,
+ 1.2935620546340942,
+ 1.3095386028289795
+ ]
+ },
+ {
+ "step": 21,
+ "n_points": 32,
+ "last_historical_date": "2024-08",
+ "historical_dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12",
+ "2023-01",
+ "2023-02",
+ "2023-03",
+ "2023-04",
+ "2023-05",
+ "2023-06",
+ "2023-07",
+ "2023-08",
+ "2023-09",
+ "2023-10",
+ "2023-11",
+ "2023-12",
+ "2024-01",
+ "2024-02",
+ "2024-03",
+ "2024-04",
+ "2024-05",
+ "2024-06",
+ "2024-07",
+ "2024-08"
+ ],
+ "historical_values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705,
+ 0.8700000047683716,
+ 0.9800000190734863,
+ 1.2100000381469727,
+ 1.0,
+ 0.9399999976158142,
+ 1.0800000429153442,
+ 1.1799999475479126,
+ 1.2400000095367432,
+ 1.4700000286102295,
+ 1.3200000524520874,
+ 1.1799999475479126,
+ 1.159999966621399,
+ 1.2200000286102295,
+ 1.350000023841858,
+ 1.340000033378601,
+ 1.2599999904632568,
+ 1.149999976158142,
+ 1.2000000476837158,
+ 1.2400000095367432,
+ 1.2999999523162842
+ ],
+ "forecast_dates": [
+ "2024-09",
+ "2024-10",
+ "2024-11",
+ "2024-12",
+ "2025-01",
+ "2025-02",
+ "2025-03",
+ "2025-04",
+ "2025-05",
+ "2025-06",
+ "2025-07",
+ "2025-08"
+ ],
+ "point_forecast": [
+ 1.2892454862594604,
+ 1.2497223615646362,
+ 1.2063699960708618,
+ 1.2123697996139526,
+ 1.2295829057693481,
+ 1.2457282543182373,
+ 1.2520256042480469,
+ 1.1976659297943115,
+ 1.1560035943984985,
+ 1.15586519241333,
+ 1.168123483657837,
+ 1.188661813735962
+ ],
+ "q10": [
+ 1.2727627754211426,
+ 1.2367907762527466,
+ 1.1920455694198608,
+ 1.1937742233276367,
+ 1.2203925848007202,
+ 1.2314530611038208,
+ 1.2363964319229126,
+ 1.1829954385757446,
+ 1.1487408876419067,
+ 1.1405112743377686,
+ 1.1547985076904297,
+ 1.1740177869796753
+ ],
+ "q20": [
+ 1.11649489402771,
+ 1.0445278882980347,
+ 0.9846185445785522,
+ 0.9668428897857666,
+ 0.9715695977210999,
+ 0.9662386178970337,
+ 0.9553800821304321,
+ 0.9113569855690002,
+ 0.8853881359100342,
+ 0.8746424913406372,
+ 0.875267505645752,
+ 0.8781014680862427
+ ],
+ "q80": [
+ 1.3429784774780273,
+ 1.3280879259109497,
+ 1.292254090309143,
+ 1.3056862354278564,
+ 1.3293191194534302,
+ 1.352075219154358,
+ 1.3609846830368042,
+ 1.3075883388519287,
+ 1.279836893081665,
+ 1.272203803062439,
+ 1.2965717315673828,
+ 1.3177393674850464
+ ],
+ "q90": [
+ 1.3865525722503662,
+ 1.3712806701660156,
+ 1.3499008417129517,
+ 1.3717585802078247,
+ 1.4015172719955444,
+ 1.4236888885498047,
+ 1.4422738552093506,
+ 1.3891522884368896,
+ 1.3545751571655273,
+ 1.349416732788086,
+ 1.363886833190918,
+ 1.3921372890472412
+ ]
+ },
+ {
+ "step": 22,
+ "n_points": 33,
+ "last_historical_date": "2024-09",
+ "historical_dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12",
+ "2023-01",
+ "2023-02",
+ "2023-03",
+ "2023-04",
+ "2023-05",
+ "2023-06",
+ "2023-07",
+ "2023-08",
+ "2023-09",
+ "2023-10",
+ "2023-11",
+ "2023-12",
+ "2024-01",
+ "2024-02",
+ "2024-03",
+ "2024-04",
+ "2024-05",
+ "2024-06",
+ "2024-07",
+ "2024-08",
+ "2024-09"
+ ],
+ "historical_values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705,
+ 0.8700000047683716,
+ 0.9800000190734863,
+ 1.2100000381469727,
+ 1.0,
+ 0.9399999976158142,
+ 1.0800000429153442,
+ 1.1799999475479126,
+ 1.2400000095367432,
+ 1.4700000286102295,
+ 1.3200000524520874,
+ 1.1799999475479126,
+ 1.159999966621399,
+ 1.2200000286102295,
+ 1.350000023841858,
+ 1.340000033378601,
+ 1.2599999904632568,
+ 1.149999976158142,
+ 1.2000000476837158,
+ 1.2400000095367432,
+ 1.2999999523162842,
+ 1.2799999713897705
+ ],
+ "forecast_dates": [
+ "2024-10",
+ "2024-11",
+ "2024-12",
+ "2025-01",
+ "2025-02",
+ "2025-03",
+ "2025-04",
+ "2025-05",
+ "2025-06",
+ "2025-07",
+ "2025-08",
+ "2025-09"
+ ],
+ "point_forecast": [
+ 1.2395873069763184,
+ 1.192650318145752,
+ 1.1737117767333984,
+ 1.1951370239257812,
+ 1.232491135597229,
+ 1.265418291091919,
+ 1.2109034061431885,
+ 1.1846691370010376,
+ 1.1904014348983765,
+ 1.2089793682098389,
+ 1.2557576894760132,
+ 1.2761039733886719
+ ],
+ "q10": [
+ 1.2416894435882568,
+ 1.1871181726455688,
+ 1.1744379997253418,
+ 1.19320547580719,
+ 1.2350860834121704,
+ 1.2670172452926636,
+ 1.211256980895996,
+ 1.1898648738861084,
+ 1.1905932426452637,
+ 1.1989935636520386,
+ 1.247326135635376,
+ 1.268507480621338
+ ],
+ "q20": [
+ 1.097076654434204,
+ 1.0414971113204956,
+ 1.0175477266311646,
+ 1.0278714895248413,
+ 1.0624254941940308,
+ 1.0802021026611328,
+ 1.0272504091262817,
+ 1.0036317110061646,
+ 1.0009558200836182,
+ 1.001404047012329,
+ 1.0334482192993164,
+ 1.042593240737915
+ ],
+ "q80": [
+ 1.2870674133300781,
+ 1.2494632005691528,
+ 1.2323118448257446,
+ 1.2594434022903442,
+ 1.3010603189468384,
+ 1.3373479843139648,
+ 1.2841951847076416,
+ 1.2637286186218262,
+ 1.2685482501983643,
+ 1.2876002788543701,
+ 1.339444637298584,
+ 1.3590757846832275
+ ],
+ "q90": [
+ 1.3212705850601196,
+ 1.2820069789886475,
+ 1.2749484777450562,
+ 1.2991927862167358,
+ 1.3489611148834229,
+ 1.384088397026062,
+ 1.3305764198303223,
+ 1.3098028898239136,
+ 1.3174644708633423,
+ 1.334850788116455,
+ 1.387671709060669,
+ 1.4108545780181885
+ ]
+ },
+ {
+ "step": 23,
+ "n_points": 34,
+ "last_historical_date": "2024-10",
+ "historical_dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12",
+ "2023-01",
+ "2023-02",
+ "2023-03",
+ "2023-04",
+ "2023-05",
+ "2023-06",
+ "2023-07",
+ "2023-08",
+ "2023-09",
+ "2023-10",
+ "2023-11",
+ "2023-12",
+ "2024-01",
+ "2024-02",
+ "2024-03",
+ "2024-04",
+ "2024-05",
+ "2024-06",
+ "2024-07",
+ "2024-08",
+ "2024-09",
+ "2024-10"
+ ],
+ "historical_values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705,
+ 0.8700000047683716,
+ 0.9800000190734863,
+ 1.2100000381469727,
+ 1.0,
+ 0.9399999976158142,
+ 1.0800000429153442,
+ 1.1799999475479126,
+ 1.2400000095367432,
+ 1.4700000286102295,
+ 1.3200000524520874,
+ 1.1799999475479126,
+ 1.159999966621399,
+ 1.2200000286102295,
+ 1.350000023841858,
+ 1.340000033378601,
+ 1.2599999904632568,
+ 1.149999976158142,
+ 1.2000000476837158,
+ 1.2400000095367432,
+ 1.2999999523162842,
+ 1.2799999713897705,
+ 1.2699999809265137
+ ],
+ "forecast_dates": [
+ "2024-11",
+ "2024-12",
+ "2025-01",
+ "2025-02",
+ "2025-03",
+ "2025-04",
+ "2025-05",
+ "2025-06",
+ "2025-07",
+ "2025-08",
+ "2025-09",
+ "2025-10"
+ ],
+ "point_forecast": [
+ 1.200866460800171,
+ 1.1866711378097534,
+ 1.2232941389083862,
+ 1.2719991207122803,
+ 1.2799842357635498,
+ 1.2515898942947388,
+ 1.1958189010620117,
+ 1.19310462474823,
+ 1.2179431915283203,
+ 1.2518219947814941,
+ 1.2716079950332642,
+ 1.2360819578170776
+ ],
+ "q10": [
+ 1.2021855115890503,
+ 1.1821584701538086,
+ 1.2226784229278564,
+ 1.273689866065979,
+ 1.2845158576965332,
+ 1.2485958337783813,
+ 1.1959373950958252,
+ 1.1964659690856934,
+ 1.2180784940719604,
+ 1.2440263032913208,
+ 1.2621558904647827,
+ 1.2280503511428833
+ ],
+ "q20": [
+ 1.0769736766815186,
+ 1.0466127395629883,
+ 1.0687201023101807,
+ 1.1035237312316895,
+ 1.1067966222763062,
+ 1.0670413970947266,
+ 1.0116249322891235,
+ 1.003699779510498,
+ 1.0221866369247437,
+ 1.0382513999938965,
+ 1.0417994260787964,
+ 1.0053966045379639
+ ],
+ "q80": [
+ 1.2458512783050537,
+ 1.2381772994995117,
+ 1.2802457809448242,
+ 1.3395813703536987,
+ 1.3537287712097168,
+ 1.3230884075164795,
+ 1.2715508937835693,
+ 1.2736643552780151,
+ 1.3004214763641357,
+ 1.338258147239685,
+ 1.3596911430358887,
+ 1.3208271265029907
+ ],
+ "q90": [
+ 1.2776029109954834,
+ 1.2695484161376953,
+ 1.3248724937438965,
+ 1.3829126358032227,
+ 1.4010111093521118,
+ 1.3700647354125977,
+ 1.3196228742599487,
+ 1.3224942684173584,
+ 1.3526369333267212,
+ 1.3852152824401855,
+ 1.4081038236618042,
+ 1.3699979782104492
+ ]
+ },
+ {
+ "step": 24,
+ "n_points": 35,
+ "last_historical_date": "2024-11",
+ "historical_dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12",
+ "2023-01",
+ "2023-02",
+ "2023-03",
+ "2023-04",
+ "2023-05",
+ "2023-06",
+ "2023-07",
+ "2023-08",
+ "2023-09",
+ "2023-10",
+ "2023-11",
+ "2023-12",
+ "2024-01",
+ "2024-02",
+ "2024-03",
+ "2024-04",
+ "2024-05",
+ "2024-06",
+ "2024-07",
+ "2024-08",
+ "2024-09",
+ "2024-10",
+ "2024-11"
+ ],
+ "historical_values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705,
+ 0.8700000047683716,
+ 0.9800000190734863,
+ 1.2100000381469727,
+ 1.0,
+ 0.9399999976158142,
+ 1.0800000429153442,
+ 1.1799999475479126,
+ 1.2400000095367432,
+ 1.4700000286102295,
+ 1.3200000524520874,
+ 1.1799999475479126,
+ 1.159999966621399,
+ 1.2200000286102295,
+ 1.350000023841858,
+ 1.340000033378601,
+ 1.2599999904632568,
+ 1.149999976158142,
+ 1.2000000476837158,
+ 1.2400000095367432,
+ 1.2999999523162842,
+ 1.2799999713897705,
+ 1.2699999809265137,
+ 1.2200000286102295
+ ],
+ "forecast_dates": [
+ "2024-12",
+ "2025-01",
+ "2025-02",
+ "2025-03",
+ "2025-04",
+ "2025-05",
+ "2025-06",
+ "2025-07",
+ "2025-08",
+ "2025-09",
+ "2025-10",
+ "2025-11"
+ ],
+ "point_forecast": [
+ 1.2384696006774902,
+ 1.2530195713043213,
+ 1.3186349868774414,
+ 1.3470391035079956,
+ 1.2608959674835205,
+ 1.1712164878845215,
+ 1.1867536306381226,
+ 1.2420611381530762,
+ 1.26655912399292,
+ 1.2961373329162598,
+ 1.2294163703918457,
+ 1.166834831237793
+ ],
+ "q10": [
+ 1.2286468744277954,
+ 1.2455438375473022,
+ 1.3089576959609985,
+ 1.3339853286743164,
+ 1.2469478845596313,
+ 1.149349570274353,
+ 1.1650605201721191,
+ 1.2206904888153076,
+ 1.2502191066741943,
+ 1.267012357711792,
+ 1.2066657543182373,
+ 1.1346192359924316
+ ],
+ "q20": [
+ 1.1213350296020508,
+ 1.1162383556365967,
+ 1.1598260402679443,
+ 1.164056420326233,
+ 1.0658612251281738,
+ 0.9682412147521973,
+ 0.9661321043968201,
+ 1.0035676956176758,
+ 1.0229461193084717,
+ 1.0328454971313477,
+ 0.9562720656394958,
+ 0.8820796608924866
+ ],
+ "q80": [
+ 1.2744736671447754,
+ 1.3042716979980469,
+ 1.3755841255187988,
+ 1.4136451482772827,
+ 1.3280566930770874,
+ 1.2414281368255615,
+ 1.265558123588562,
+ 1.3200562000274658,
+ 1.3582563400268555,
+ 1.391558051109314,
+ 1.325316071510315,
+ 1.2584038972854614
+ ],
+ "q90": [
+ 1.3033584356307983,
+ 1.337569236755371,
+ 1.418811321258545,
+ 1.4565141201019287,
+ 1.3784044981002808,
+ 1.289095401763916,
+ 1.3142638206481934,
+ 1.378018856048584,
+ 1.411327838897705,
+ 1.4371509552001953,
+ 1.3814256191253662,
+ 1.3204567432403564
+ ]
+ },
+ {
+ "step": 25,
+ "n_points": 36,
+ "last_historical_date": "2024-12",
+ "historical_dates": [
+ "2022-01",
+ "2022-02",
+ "2022-03",
+ "2022-04",
+ "2022-05",
+ "2022-06",
+ "2022-07",
+ "2022-08",
+ "2022-09",
+ "2022-10",
+ "2022-11",
+ "2022-12",
+ "2023-01",
+ "2023-02",
+ "2023-03",
+ "2023-04",
+ "2023-05",
+ "2023-06",
+ "2023-07",
+ "2023-08",
+ "2023-09",
+ "2023-10",
+ "2023-11",
+ "2023-12",
+ "2024-01",
+ "2024-02",
+ "2024-03",
+ "2024-04",
+ "2024-05",
+ "2024-06",
+ "2024-07",
+ "2024-08",
+ "2024-09",
+ "2024-10",
+ "2024-11",
+ "2024-12"
+ ],
+ "historical_values": [
+ 0.8899999856948853,
+ 0.8899999856948853,
+ 1.0199999809265137,
+ 0.8799999952316284,
+ 0.8500000238418579,
+ 0.8799999952316284,
+ 0.8799999952316284,
+ 0.8999999761581421,
+ 0.8799999952316284,
+ 0.949999988079071,
+ 0.7699999809265137,
+ 0.7799999713897705,
+ 0.8700000047683716,
+ 0.9800000190734863,
+ 1.2100000381469727,
+ 1.0,
+ 0.9399999976158142,
+ 1.0800000429153442,
+ 1.1799999475479126,
+ 1.2400000095367432,
+ 1.4700000286102295,
+ 1.3200000524520874,
+ 1.1799999475479126,
+ 1.159999966621399,
+ 1.2200000286102295,
+ 1.350000023841858,
+ 1.340000033378601,
+ 1.2599999904632568,
+ 1.149999976158142,
+ 1.2000000476837158,
+ 1.2400000095367432,
+ 1.2999999523162842,
+ 1.2799999713897705,
+ 1.2699999809265137,
+ 1.2200000286102295,
+ 1.2000000476837158
+ ],
+ "forecast_dates": [
+ "2025-01",
+ "2025-02",
+ "2025-03",
+ "2025-04",
+ "2025-05",
+ "2025-06",
+ "2025-07",
+ "2025-08",
+ "2025-09",
+ "2025-10",
+ "2025-11",
+ "2025-12"
+ ],
+ "point_forecast": [
+ 1.25933837890625,
+ 1.285666823387146,
+ 1.2950127124786377,
+ 1.2207623720169067,
+ 1.170255422592163,
+ 1.1455552577972412,
+ 1.1702347993850708,
+ 1.2026824951171875,
+ 1.1909748315811157,
+ 1.1490840911865234,
+ 1.080478549003601,
+ 1.0613453388214111
+ ],
+ "q10": [
+ 1.2481880187988281,
+ 1.2773758172988892,
+ 1.286991834640503,
+ 1.2084007263183594,
+ 1.1533130407333374,
+ 1.1275498867034912,
+ 1.1510555744171143,
+ 1.1859495639801025,
+ 1.1784849166870117,
+ 1.1264795064926147,
+ 1.0624356269836426,
+ 1.036609172821045
+ ],
+ "q20": [
+ 1.1407020092010498,
+ 1.1406043767929077,
+ 1.126852035522461,
+ 1.0352504253387451,
+ 0.9691494703292847,
+ 0.9420379400253296,
+ 0.9503718018531799,
+ 0.970925509929657,
+ 0.9594371318817139,
+ 0.9079477190971375,
+ 0.8361266255378723,
+ 0.8022069334983826
+ ],
+ "q80": [
+ 1.2971320152282715,
+ 1.3400218486785889,
+ 1.3547290563583374,
+ 1.2898554801940918,
+ 1.2390310764312744,
+ 1.2180578708648682,
+ 1.248227596282959,
+ 1.2842004299163818,
+ 1.2832940816879272,
+ 1.240414023399353,
+ 1.175971508026123,
+ 1.153149962425232
+ ],
+ "q90": [
+ 1.3239599466323853,
+ 1.3751201629638672,
+ 1.403548240661621,
+ 1.3310348987579346,
+ 1.2891905307769775,
+ 1.2702757120132446,
+ 1.2997852563858032,
+ 1.3408125638961792,
+ 1.3354730606079102,
+ 1.286876916885376,
+ 1.2283769845962524,
+ 1.2169079780578613
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/scientific-skills/timesfm-forecasting/examples/global-temperature/forecast_animation.gif b/scientific-skills/timesfm-forecasting/examples/global-temperature/forecast_animation.gif
new file mode 100644
index 00000000..070a39fc
Binary files /dev/null and b/scientific-skills/timesfm-forecasting/examples/global-temperature/forecast_animation.gif differ
diff --git a/scientific-skills/timesfm-forecasting/examples/global-temperature/generate_animation_data.py b/scientific-skills/timesfm-forecasting/examples/global-temperature/generate_animation_data.py
new file mode 100644
index 00000000..3e703dc1
--- /dev/null
+++ b/scientific-skills/timesfm-forecasting/examples/global-temperature/generate_animation_data.py
@@ -0,0 +1,131 @@
+#!/usr/bin/env python3
+"""
+Generate animation data for interactive forecast visualization.
+
+This script runs TimesFM forecasts incrementally, starting with minimal data
+and adding one point at a time, saving all forecasts for an interactive slider.
+
+Output: animation_data.json with all forecast steps
+"""
+
+from __future__ import annotations
+
+import json
+from pathlib import Path
+
+import numpy as np
+import pandas as pd
+import timesfm
+
+# Configuration
+MIN_CONTEXT = 12 # Minimum points to start forecasting
+HORIZON = 12 # Always forecast 12 months ahead
+INPUT_FILE = Path(__file__).parent / "temperature_anomaly.csv"
+OUTPUT_FILE = Path(__file__).parent / "animation_data.json"
+
+
+def main() -> None:
+ print("=" * 60)
+ print(" TIMESFM ANIMATION DATA GENERATOR")
+ print("=" * 60)
+
+ # Load data
+ df = pd.read_csv(INPUT_FILE, parse_dates=["date"])
+ df = df.sort_values("date").reset_index(drop=True)
+
+ all_dates = df["date"].tolist()
+ all_values = df["anomaly_c"].values.astype(np.float32)
+
+ print(f"\n📊 Total data: {len(all_values)} months")
+ print(
+ f" Date range: {all_dates[0].strftime('%Y-%m')} to {all_dates[-1].strftime('%Y-%m')}"
+ )
+ print(f" Animation steps: {len(all_values) - MIN_CONTEXT + 1}")
+
+ # Load TimesFM
+ print("\n🤖 Loading TimesFM 1.0 (200M) PyTorch...")
+ hparams = timesfm.TimesFmHparams(horizon_len=HORIZON)
+ checkpoint = timesfm.TimesFmCheckpoint(
+ huggingface_repo_id="google/timesfm-1.0-200m-pytorch"
+ )
+ model = timesfm.TimesFm(hparams=hparams, checkpoint=checkpoint)
+
+ # Generate forecasts for each step
+ animation_steps = []
+
+ for n_points in range(MIN_CONTEXT, len(all_values) + 1):
+ step_num = n_points - MIN_CONTEXT + 1
+ total_steps = len(all_values) - MIN_CONTEXT + 1
+
+ print(f"\n📈 Step {step_num}/{total_steps}: Using {n_points} points...")
+
+ # Get historical data up to this point
+ historical_values = all_values[:n_points]
+ historical_dates = all_dates[:n_points]
+
+ # Run forecast
+ point, quantiles = model.forecast(
+ [historical_values],
+ freq=[0],
+ )
+
+ # Determine forecast dates
+ last_date = historical_dates[-1]
+ forecast_dates = pd.date_range(
+ start=last_date + pd.DateOffset(months=1),
+ periods=HORIZON,
+ freq="MS",
+ )
+
+ # Store step data
+ step_data = {
+ "step": step_num,
+ "n_points": n_points,
+ "last_historical_date": historical_dates[-1].strftime("%Y-%m"),
+ "historical_dates": [d.strftime("%Y-%m") for d in historical_dates],
+ "historical_values": historical_values.tolist(),
+ "forecast_dates": [d.strftime("%Y-%m") for d in forecast_dates],
+ "point_forecast": point[0].tolist(),
+ "q10": quantiles[0, :, 0].tolist(),
+ "q20": quantiles[0, :, 1].tolist(),
+ "q80": quantiles[0, :, 7].tolist(),
+ "q90": quantiles[0, :, 8].tolist(),
+ }
+
+ animation_steps.append(step_data)
+
+ # Show summary
+ print(f" Last date: {historical_dates[-1].strftime('%Y-%m')}")
+ print(f" Forecast mean: {point[0].mean():.3f}°C")
+
+ # Create output
+ output = {
+ "metadata": {
+ "model": "TimesFM 1.0 (200M) PyTorch",
+ "total_steps": len(animation_steps),
+ "min_context": MIN_CONTEXT,
+ "horizon": HORIZON,
+ "data_source": "NOAA GISTEMP Global Temperature Anomaly",
+ "full_date_range": f"{all_dates[0].strftime('%Y-%m')} to {all_dates[-1].strftime('%Y-%m')}",
+ },
+ "actual_data": {
+ "dates": [d.strftime("%Y-%m") for d in all_dates],
+ "values": all_values.tolist(),
+ },
+ "animation_steps": animation_steps,
+ }
+
+ # Save
+ with open(OUTPUT_FILE, "w") as f:
+ json.dump(output, f, indent=2)
+
+ print(f"\n" + "=" * 60)
+ print(" ✅ ANIMATION DATA COMPLETE")
+ print("=" * 60)
+ print(f"\n📁 Output: {OUTPUT_FILE}")
+ print(f" Total steps: {len(animation_steps)}")
+ print(f" Each step shows forecast as one more data point is added")
+
+
+if __name__ == "__main__":
+ main()
diff --git a/scientific-skills/timesfm-forecasting/examples/global-temperature/generate_gif.py b/scientific-skills/timesfm-forecasting/examples/global-temperature/generate_gif.py
new file mode 100644
index 00000000..d1310e2b
--- /dev/null
+++ b/scientific-skills/timesfm-forecasting/examples/global-temperature/generate_gif.py
@@ -0,0 +1,182 @@
+#!/usr/bin/env python3
+"""
+Generate animated GIF showing forecast evolution.
+
+Creates a GIF animation showing how the TimesFM forecast changes
+as more historical data points are added.
+"""
+
+from __future__ import annotations
+
+import json
+from pathlib import Path
+
+import matplotlib.pyplot as plt
+import matplotlib.dates as mdates
+import numpy as np
+import pandas as pd
+from PIL import Image
+
+# Configuration
+EXAMPLE_DIR = Path(__file__).parent
+DATA_FILE = EXAMPLE_DIR / "animation_data.json"
+OUTPUT_FILE = EXAMPLE_DIR / "forecast_animation.gif"
+DURATION_MS = 500 # Time per frame in milliseconds
+
+
+def create_frame(ax, step_data: dict, actual_data: dict, total_steps: int) -> None:
+ """Create a single frame of the animation."""
+ ax.clear()
+
+ # Parse dates
+ historical_dates = pd.to_datetime(step_data["historical_dates"])
+ forecast_dates = pd.to_datetime(step_data["forecast_dates"])
+
+ # Plot historical data
+ ax.plot(
+ historical_dates,
+ step_data["historical_values"],
+ color="#3b82f6",
+ linewidth=2,
+ marker="o",
+ markersize=4,
+ label="Historical",
+ )
+
+ # Plot 90% CI (outer)
+ ax.fill_between(
+ forecast_dates,
+ step_data["q10"],
+ step_data["q90"],
+ alpha=0.1,
+ color="#ef4444",
+ label="90% CI",
+ )
+
+ # Plot 80% CI (inner)
+ ax.fill_between(
+ forecast_dates,
+ step_data["q20"],
+ step_data["q80"],
+ alpha=0.2,
+ color="#ef4444",
+ label="80% CI",
+ )
+
+ # Plot forecast
+ ax.plot(
+ forecast_dates,
+ step_data["point_forecast"],
+ color="#ef4444",
+ linewidth=2,
+ marker="s",
+ markersize=4,
+ label="Forecast",
+ )
+
+ # Plot actual future data if available
+ actual_dates = pd.to_datetime(actual_data["dates"])
+ actual_values = actual_data["values"]
+
+ # Find which actual points fall in forecast period
+ forecast_start = forecast_dates[0]
+ forecast_end = forecast_dates[-1]
+
+ future_mask = (actual_dates >= forecast_start) & (actual_dates <= forecast_end)
+ future_dates = actual_dates[future_mask]
+ future_values = np.array(actual_values)[future_mask]
+
+ if len(future_dates) > 0:
+ ax.plot(
+ future_dates,
+ future_values,
+ color="#10b981",
+ linewidth=1,
+ linestyle="--",
+ marker="o",
+ markersize=3,
+ alpha=0.7,
+ label="Actual (future)",
+ )
+
+ # Add vertical line at forecast boundary
+ ax.axvline(
+ x=historical_dates[-1],
+ color="#6b7280",
+ linestyle="--",
+ linewidth=1,
+ alpha=0.5,
+ )
+
+ # Formatting
+ ax.set_xlabel("Date", fontsize=11)
+ ax.set_ylabel("Temperature Anomaly (°C)", fontsize=11)
+ ax.set_title(
+ f"TimesFM Forecast Evolution\n"
+ f"Step {step_data['step']}/{total_steps}: {step_data['n_points']} points → {step_data['last_historical_date']}",
+ fontsize=13,
+ fontweight="bold",
+ )
+
+ ax.grid(True, alpha=0.3)
+ ax.legend(loc="upper left", fontsize=9)
+ ax.set_ylim(0.5, 1.6)
+
+ # Format x-axis
+ ax.xaxis.set_major_formatter(mdates.DateFormatter("%Y-%m"))
+ ax.xaxis.set_major_locator(mdates.MonthLocator(interval=6))
+ plt.setp(ax.xaxis.get_majorticklabels(), rotation=45, ha="right")
+
+
+def main() -> None:
+ print("=" * 60)
+ print(" GENERATING ANIMATED GIF")
+ print("=" * 60)
+
+ # Load data
+ with open(DATA_FILE) as f:
+ data = json.load(f)
+
+ total_steps = len(data["animation_steps"])
+ print(f"\n📊 Total frames: {total_steps}")
+
+ # Create figure
+ fig, ax = plt.subplots(figsize=(12, 6))
+
+ # Generate frames
+ frames = []
+
+ for i, step in enumerate(data["animation_steps"]):
+ print(f" Frame {i + 1}/{total_steps}...")
+
+ create_frame(ax, step, data["actual_data"], total_steps)
+
+ # Save frame to buffer
+ fig.canvas.draw()
+
+ # Convert to PIL Image
+ buf = fig.canvas.buffer_rgba()
+ width, height = fig.canvas.get_width_height()
+ img = Image.frombytes("RGBA", (width, height), buf)
+ frames.append(img.convert("RGB"))
+
+ plt.close()
+
+ # Save as GIF
+ print(f"\n💾 Saving GIF: {OUTPUT_FILE}")
+ frames[0].save(
+ OUTPUT_FILE,
+ save_all=True,
+ append_images=frames[1:],
+ duration=DURATION_MS,
+ loop=0, # Loop forever
+ )
+
+ # Get file size
+ size_kb = OUTPUT_FILE.stat().st_size / 1024
+ print(f" File size: {size_kb:.1f} KB")
+ print(f"\n✅ Done!")
+
+
+if __name__ == "__main__":
+ main()
diff --git a/scientific-skills/timesfm-forecasting/examples/global-temperature/interactive_forecast.html b/scientific-skills/timesfm-forecasting/examples/global-temperature/interactive_forecast.html
new file mode 100644
index 00000000..a94025fb
--- /dev/null
+++ b/scientific-skills/timesfm-forecasting/examples/global-temperature/interactive_forecast.html
@@ -0,0 +1,569 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>TimesFM Interactive Forecast Animation</title>
+ <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
+ <script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-annotation"></script>
+ <style>
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
+ background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
+ min-height: 100vh;
+ color: #e0e0e0;
+ padding: 20px;
+ }
+
+ .container {
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ header {
+ text-align: center;
+ margin-bottom: 30px;
+ }
+
+ h1 {
+ font-size: 2rem;
+ margin-bottom: 10px;
+ background: linear-gradient(90deg, #60a5fa, #a78bfa);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ background-clip: text;
+ }
+
+ .subtitle {
+ color: #9ca3af;
+ font-size: 1.1rem;
+ }
+
+ .chart-container {
+ background: rgba(255, 255, 255, 0.05);
+ border-radius: 16px;
+ padding: 20px;
+ margin-bottom: 20px;
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
+ }
+
+ #chart {
+ width: 100% !important;
+ height: 400px !important;
+ }
+
+ .controls {
+ display: flex;
+ flex-direction: column;
+ gap: 20px;
+ background: rgba(255, 255, 255, 0.05);
+ border-radius: 16px;
+ padding: 20px;
+ }
+
+ .slider-container {
+ display: flex;
+ flex-direction: column;
+ gap: 10px;
+ }
+
+ .slider-label {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ }
+
+ .slider-label span {
+ font-size: 0.9rem;
+ color: #9ca3af;
+ }
+
+ .slider-label .value {
+ font-weight: 600;
+ color: #60a5fa;
+ font-size: 1.1rem;
+ }
+
+ input[type="range"] {
+ width: 100%;
+ height: 8px;
+ border-radius: 4px;
+ background: #374151;
+ outline: none;
+ -webkit-appearance: none;
+ }
+
+ input[type="range"]::-webkit-slider-thumb {
+ -webkit-appearance: none;
+ width: 24px;
+ height: 24px;
+ border-radius: 50%;
+ background: linear-gradient(135deg, #60a5fa, #a78bfa);
+ cursor: pointer;
+ box-shadow: 0 2px 10px rgba(96, 165, 250, 0.5);
+ }
+
+ input[type="range"]::-moz-range-thumb {
+ width: 24px;
+ height: 24px;
+ border-radius: 50%;
+ background: linear-gradient(135deg, #60a5fa, #a78bfa);
+ cursor: pointer;
+ border: none;
+ box-shadow: 0 2px 10px rgba(96, 165, 250, 0.5);
+ }
+
+ .buttons {
+ display: flex;
+ gap: 10px;
+ flex-wrap: wrap;
+ }
+
+ button {
+ flex: 1;
+ min-width: 100px;
+ padding: 12px 20px;
+ border: none;
+ border-radius: 8px;
+ font-size: 1rem;
+ font-weight: 600;
+ cursor: pointer;
+ transition: all 0.2s ease;
+ }
+
+ .btn-primary {
+ background: linear-gradient(135deg, #60a5fa, #a78bfa);
+ color: white;
+ }
+
+ .btn-primary:hover {
+ transform: translateY(-2px);
+ box-shadow: 0 4px 15px rgba(96, 165, 250, 0.4);
+ }
+
+ .btn-secondary {
+ background: #374151;
+ color: #e0e0e0;
+ }
+
+ .btn-secondary:hover {
+ background: #4b5563;
+ }
+
+ .stats {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
+ gap: 15px;
+ margin-top: 20px;
+ }
+
+ .stat-card {
+ background: rgba(255, 255, 255, 0.05);
+ border-radius: 12px;
+ padding: 15px;
+ text-align: center;
+ }
+
+ .stat-card .label {
+ font-size: 0.8rem;
+ color: #9ca3af;
+ margin-bottom: 5px;
+ }
+
+ .stat-card .value {
+ font-size: 1.3rem;
+ font-weight: 600;
+ color: #60a5fa;
+ }
+
+ .legend {
+ display: flex;
+ justify-content: center;
+ gap: 20px;
+ flex-wrap: wrap;
+ margin-top: 15px;
+ padding-top: 15px;
+ border-top: 1px solid rgba(255, 255, 255, 0.1);
+ }
+
+ .legend-item {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ font-size: 0.9rem;
+ }
+
+ .legend-color {
+ width: 16px;
+ height: 16px;
+ border-radius: 4px;
+ }
+
+ footer {
+ text-align: center;
+ margin-top: 30px;
+ color: #6b7280;
+ font-size: 0.9rem;
+ }
+
+ footer a {
+ color: #60a5fa;
+ text-decoration: none;
+ }
+
+ @media (max-width: 768px) {
+ h1 {
+ font-size: 1.5rem;
+ }
+
+ .buttons {
+ flex-direction: column;
+ }
+
+ button {
+ width: 100%;
+ }
+ }
+ </style>
+</head>
+<body>
+ <div class="container">
+ <header>
+ <h1>TimesFM Zero-Shot Forecast Animation</h1>
+ <p class="subtitle">Watch the forecast evolve as more data is added</p>
+ </header>
+
+ <div class="chart-container">
+ <canvas id="chart"></canvas>
+ </div>
+
+ <div class="controls">
+ <div class="slider-container">
+ <div class="slider-label">
+ <span>Historical Data Points</span>
+ <span class="value" id="points-value">12 / 36</span>
+ </div>
+ <input type="range" id="slider" min="0" max="24" value="0" step="1">
+ <div class="slider-label">
+ <span id="date-start">2022-01</span>
+ <span id="date-end">2022-12 → Forecast to 2023-12</span>
+ </div>
+ </div>
+
+ <div class="buttons">
+ <button class="btn-primary" id="play-btn">▶ Play</button>
+ <button class="btn-secondary" id="reset-btn">↺ Reset</button>
+ </div>
+
+ <div class="stats">
+ <div class="stat-card">
+ <div class="label">Forecast Mean</div>
+ <div class="value" id="stat-mean">0.86°C</div>
+ </div>
+ <div class="stat-card">
+ <div class="label">Forecast Max</div>
+ <div class="value" id="stat-max">--</div>
+ </div>
+ <div class="stat-card">
+ <div class="label">Forecast Min</div>
+ <div class="value" id="stat-min">--</div>
+ </div>
+ <div class="stat-card">
+ <div class="label">80% CI Width</div>
+ <div class="value" id="stat-ci">--</div>
+ </div>
+ </div>
+
+ <div class="legend">
+ <div class="legend-item">
+ <div class="legend-color" style="background: #3b82f6;"></div>
+ <span>Historical Data</span>
+ </div>
+ <div class="legend-item">
+ <div class="legend-color" style="background: #ef4444;"></div>
+ <span>Forecast</span>
+ </div>
+ <div class="legend-item">
+ <div class="legend-color" style="background: rgba(239, 68, 68, 0.2);"></div>
+ <span>80% Confidence Interval</span>
+ </div>
+ <div class="legend-item">
+ <div class="legend-color" style="background: rgba(239, 68, 68, 0.1);"></div>
+ <span>90% Confidence Interval</span>
+ </div>
+ </div>
+ </div>
+
+ <footer>
+ <p>TimesFM 1.0 (200M) PyTorch • <a href="https://github.com/google-research/timesfm">Google Research</a></p>
+ <p style="margin-top: 5px;">Generated by <a href="https://github.com/K-Dense-AI/claude-scientific-skills">claude-scientific-skills</a></p>
+ </footer>
+ </div>
+
+ <script>
+ // Load animation data
+ let animationData = null;
+ let chart = null;
+ let isPlaying = false;
+ let playInterval = null;
+ let currentStep = 0;
+
+ // Fetch the JSON data
+ fetch('animation_data.json')
+ .then(response => response.json())
+ .then(data => {
+ animationData = data;
+ initChart();
+ updateChart(0);
+ })
+ .catch(err => {
+ console.error('Error loading animation data:', err);
+ document.querySelector('.chart-container').innerHTML =
+ '<p style="text-align: center; padding: 50px; color: #ef4444;">Error loading data. Make sure animation_data.json is in the same directory.</p>';
+ });
+
+ function initChart() {
+ const ctx = document.getElementById('chart').getContext('2d');
+
+ chart = new Chart(ctx, {
+ type: 'line',
+ data: {
+ labels: [],
+ datasets: [
+ {
+ label: 'Historical',
+ data: [],
+ borderColor: '#3b82f6',
+ backgroundColor: 'rgba(59, 130, 246, 0.1)',
+ borderWidth: 2,
+ pointRadius: 3,
+ pointBackgroundColor: '#3b82f6',
+ fill: false,
+ tension: 0.1,
+ },
+ {
+ label: 'Forecast',
+ data: [],
+ borderColor: '#ef4444',
+ backgroundColor: 'rgba(239, 68, 68, 0.1)',
+ borderWidth: 2,
+ pointRadius: 3,
+ pointBackgroundColor: '#ef4444',
+ fill: false,
+ tension: 0.1,
+ },
+ {
+ label: '90% CI Lower',
+ data: [],
+ borderColor: 'transparent',
+ backgroundColor: 'rgba(239, 68, 68, 0.08)',
+ fill: '+1',
+ pointRadius: 0,
+ tension: 0.1,
+ },
+ {
+ label: '90% CI Upper',
+ data: [],
+ borderColor: 'transparent',
+ backgroundColor: 'rgba(239, 68, 68, 0.08)',
+ fill: false,
+ pointRadius: 0,
+ tension: 0.1,
+ },
+ {
+ label: '80% CI Lower',
+ data: [],
+ borderColor: 'transparent',
+ backgroundColor: 'rgba(239, 68, 68, 0.15)',
+ fill: '+1',
+ pointRadius: 0,
+ tension: 0.1,
+ },
+ {
+ label: '80% CI Upper',
+ data: [],
+ borderColor: 'transparent',
+ backgroundColor: 'rgba(239, 68, 68, 0.15)',
+ fill: false,
+ pointRadius: 0,
+ tension: 0.1,
+ },
+ {
+ label: 'Actual (Future)',
+ data: [],
+ borderColor: '#10b981',
+ backgroundColor: 'transparent',
+ borderWidth: 1,
+ borderDash: [5, 5],
+ pointRadius: 2,
+ pointBackgroundColor: '#10b981',
+ fill: false,
+ tension: 0.1,
+ },
+ ]
+ },
+ options: {
+ responsive: true,
+ maintainAspectRatio: false,
+ interaction: {
+ intersect: false,
+ mode: 'index',
+ },
+ plugins: {
+ legend: {
+ display: false,
+ },
+ tooltip: {
+ backgroundColor: 'rgba(0, 0, 0, 0.8)',
+ titleColor: '#fff',
+ bodyColor: '#fff',
+ padding: 12,
+ displayColors: true,
+ },
+ },
+ scales: {
+ x: {
+ grid: {
+ color: 'rgba(255, 255, 255, 0.05)',
+ },
+ ticks: {
+ color: '#9ca3af',
+ maxRotation: 45,
+ minRotation: 45,
+ },
+ },
+ y: {
+ grid: {
+ color: 'rgba(255, 255, 255, 0.05)',
+ },
+ ticks: {
+ color: '#9ca3af',
+ callback: function(value) {
+ return value.toFixed(2) + '°C';
+ }
+ },
+ min: 0.5,
+ max: 1.6,
+ },
+ },
+ animation: {
+ duration: 200,
+ },
+ },
+ });
+ }
+
+ function updateChart(stepIndex) {
+ if (!animationData || !chart) return;
+
+ const step = animationData.animation_steps[stepIndex];
+ const actual = animationData.actual_data;
+
+ // Build all dates
+ const allDates = [...step.historical_dates, ...step.forecast_dates];
+
+ // Historical data (with nulls for forecast period)
+ const historicalData = [...step.historical_values, ...Array(step.forecast_dates.length).fill(null)];
+
+ // Forecast data (with nulls for historical period)
+ const forecastData = [...Array(step.historical_dates.length).fill(null), ...step.point_forecast];
+
+ // Confidence intervals
+ const q90Lower = [...Array(step.historical_dates.length).fill(null), ...step.q10];
+ const q90Upper = [...Array(step.historical_dates.length).fill(null), ...step.q90];
+ const q80Lower = [...Array(step.historical_dates.length).fill(null), ...step.q20];
+ const q80Upper = [...Array(step.historical_dates.length).fill(null), ...step.q80];
+
+ // Actual future data (if available)
+ const actualFuture = [];
+ for (let i = 0; i < allDates.length; i++) {
+ const dateIdx = actual.dates.indexOf(allDates[i]);
+ if (dateIdx >= step.n_points) {
+ actualFuture.push(actual.values[dateIdx]);
+ } else {
+ actualFuture.push(null);
+ }
+ }
+
+ // Update chart data
+ chart.data.labels = allDates;
+ chart.data.datasets[0].data = historicalData;
+ chart.data.datasets[1].data = forecastData;
+ chart.data.datasets[2].data = q90Lower;
+ chart.data.datasets[3].data = q90Upper;
+ chart.data.datasets[4].data = q80Lower;
+ chart.data.datasets[5].data = q80Upper;
+ chart.data.datasets[6].data = actualFuture;
+ chart.update('none');
+
+ // Update UI
+ document.getElementById('slider').value = stepIndex;
+ document.getElementById('points-value').textContent = `${step.n_points} / 36`;
+ document.getElementById('date-end').textContent = `${step.last_historical_date} → Forecast to ${step.forecast_dates[step.forecast_dates.length - 1]}`;
+
+ // Update stats
+ const mean = (step.point_forecast.reduce((a, b) => a + b, 0) / step.point_forecast.length).toFixed(3);
+ const max = Math.max(...step.point_forecast).toFixed(3);
+ const min = Math.min(...step.point_forecast).toFixed(3);
+ const ciWidth = ((step.q80[0] - step.q20[0]).toFixed(3));
+
+ document.getElementById('stat-mean').textContent = mean + '°C';
+ document.getElementById('stat-max').textContent = max + '°C';
+ document.getElementById('stat-min').textContent = min + '°C';
+ document.getElementById('stat-ci').textContent = '±' + (ciWidth / 2).toFixed(2) + '°C';
+
+ currentStep = stepIndex;
+ }
+
+ // Slider control
+ document.getElementById('slider').addEventListener('input', (e) => {
+ updateChart(parseInt(e.target.value));
+ });
+
+ // Play button
+ document.getElementById('play-btn').addEventListener('click', () => {
+ const btn = document.getElementById('play-btn');
+
+ if (isPlaying) {
+ clearInterval(playInterval);
+ btn.textContent = '▶ Play';
+ isPlaying = false;
+ } else {
+ btn.textContent = '⏸ Pause';
+ isPlaying = true;
+
+ if (currentStep >= animationData.animation_steps.length - 1) {
+ currentStep = 0;
+ }
+
+ playInterval = setInterval(() => {
+ if (currentStep >= animationData.animation_steps.length - 1) {
+ clearInterval(playInterval);
+ document.getElementById('play-btn').textContent = '▶ Play';
+ isPlaying = false;
+ } else {
+ currentStep++;
+ updateChart(currentStep);
+ }
+ }, 500);
+ }
+ });
+
+ // Reset button
+ document.getElementById('reset-btn').addEventListener('click', () => {
+ if (isPlaying) {
+ clearInterval(playInterval);
+ document.getElementById('play-btn').textContent = '▶ Play';
+ isPlaying = false;
+ }
+ updateChart(0);
+ });
+ </script>
+</body>
+</html>