Spaces:
Running
Running
Portfolio page: forecasting and LLM-agent project results
Browse files- LICENSE +21 -0
- README.md +16 -10
- data/coprimary.json +30 -0
- data/cost_quality.json +52 -0
- data/epl_backtest.json +28 -0
- data/epl_picks.json +49 -0
- data/epl_tuning.json +29 -0
- data/failure_modes.json +28 -0
- data/harm_by_station.json +74 -0
- data/ig_by_kind.json +175 -0
- data/ig_followers.json +204 -0
- data/probe.json +36 -0
- data/pushes.json +18 -0
- data/stations.json +184 -0
- data/systems.json +196 -0
- data/weather_facts.json +28 -0
- index.html +615 -19
- shim.js +40 -0
LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2026 Jackson Dormer
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
README.md
CHANGED
|
@@ -1,10 +1,16 @@
|
|
| 1 |
-
---
|
| 2 |
-
title: Forecasting Projects
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
-
sdk: static
|
| 7 |
-
pinned:
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Forecasting and LLM-Agent Projects
|
| 3 |
+
emoji: 📈
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: gray
|
| 6 |
+
sdk: static
|
| 7 |
+
pinned: true
|
| 8 |
+
license: mit
|
| 9 |
+
short_description: Results from three forecasting and LLM-agent projects
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
Results from three projects: a pre-registered benchmark of an LLM agent against statistical weather forecasting, a
|
| 13 |
+
Premier League model, and a live sports Instagram account.
|
| 14 |
+
|
| 15 |
+
Same page as [jddormer19.github.io](https://jddormer19.github.io/). Code: [github.com/jddormer19](https://github.com/jddormer19).
|
| 16 |
+
Benchmark data: [huggingface.co/datasets/jdorm/forecast-agent-bench-weather](https://huggingface.co/datasets/jdorm/forecast-agent-bench-weather).
|
data/coprimary.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rows": [
|
| 3 |
+
{
|
| 4 |
+
"test": "H1",
|
| 5 |
+
"track": "Temperature",
|
| 6 |
+
"n": 1321,
|
| 7 |
+
"agent_brier": 0.0796,
|
| 8 |
+
"ssp_brier": 0.0731,
|
| 9 |
+
"diff": 0.0065,
|
| 10 |
+
"ci_low": 0.0014,
|
| 11 |
+
"ci_high": 0.0114,
|
| 12 |
+
"p_value": 0.0106,
|
| 13 |
+
"holm_significant": true,
|
| 14 |
+
"verdict": "Agent worse"
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"test": "H4",
|
| 18 |
+
"track": "Precipitation",
|
| 19 |
+
"n": 1271,
|
| 20 |
+
"agent_brier": 0.0748,
|
| 21 |
+
"ssp_brier": 0.0821,
|
| 22 |
+
"diff": -0.0072,
|
| 23 |
+
"ci_low": -0.012,
|
| 24 |
+
"ci_high": -0.0025,
|
| 25 |
+
"p_value": 0.002,
|
| 26 |
+
"holm_significant": true,
|
| 27 |
+
"verdict": "Agent better"
|
| 28 |
+
}
|
| 29 |
+
]
|
| 30 |
+
}
|
data/cost_quality.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rows": [
|
| 3 |
+
{
|
| 4 |
+
"id": "temp-haiku-5-5",
|
| 5 |
+
"track": "Temperature",
|
| 6 |
+
"model": "Haiku 5.5",
|
| 7 |
+
"brier": 0.0914,
|
| 8 |
+
"usd_per_1000": 2.224,
|
| 9 |
+
"ssp_same_questions": 0.0698
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"id": "temp-sonnet-5-5",
|
| 13 |
+
"track": "Temperature",
|
| 14 |
+
"model": "Sonnet 5.5",
|
| 15 |
+
"brier": 0.072,
|
| 16 |
+
"usd_per_1000": 21.43,
|
| 17 |
+
"ssp_same_questions": 0.0698
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"id": "temp-opus-5-5",
|
| 21 |
+
"track": "Temperature",
|
| 22 |
+
"model": "Opus 5.5",
|
| 23 |
+
"brier": 0.0721,
|
| 24 |
+
"usd_per_1000": 80.673,
|
| 25 |
+
"ssp_same_questions": 0.0698
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"id": "precip-haiku-5-5",
|
| 29 |
+
"track": "Precipitation",
|
| 30 |
+
"model": "Haiku 5.5",
|
| 31 |
+
"brier": 0.0846,
|
| 32 |
+
"usd_per_1000": 1.841,
|
| 33 |
+
"ssp_same_questions": 0.0938
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"id": "precip-sonnet-5-5",
|
| 37 |
+
"track": "Precipitation",
|
| 38 |
+
"model": "Sonnet 5.5",
|
| 39 |
+
"brier": 0.0894,
|
| 40 |
+
"usd_per_1000": 21.241,
|
| 41 |
+
"ssp_same_questions": 0.0938
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"id": "precip-opus-5-5",
|
| 45 |
+
"track": "Precipitation",
|
| 46 |
+
"model": "Opus 5.5",
|
| 47 |
+
"brier": 0.0806,
|
| 48 |
+
"usd_per_1000": 64.748,
|
| 49 |
+
"ssp_same_questions": 0.0938
|
| 50 |
+
}
|
| 51 |
+
]
|
| 52 |
+
}
|
data/epl_backtest.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rows": [
|
| 3 |
+
{
|
| 4 |
+
"metric": "Ranked probability score",
|
| 5 |
+
"model": 0.2114,
|
| 6 |
+
"baseline": 0.2277,
|
| 7 |
+
"lower_is_better": true
|
| 8 |
+
},
|
| 9 |
+
{
|
| 10 |
+
"metric": "Brier (3-way)",
|
| 11 |
+
"model": 0.6229,
|
| 12 |
+
"baseline": 0.6555,
|
| 13 |
+
"lower_is_better": true
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"metric": "Log loss",
|
| 17 |
+
"model": 1.0441,
|
| 18 |
+
"baseline": 1.0831,
|
| 19 |
+
"lower_is_better": true
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"metric": "Accuracy",
|
| 23 |
+
"model": 0.468,
|
| 24 |
+
"baseline": 0.426,
|
| 25 |
+
"lower_is_better": false
|
| 26 |
+
}
|
| 27 |
+
]
|
| 28 |
+
}
|
data/epl_picks.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rows": [
|
| 3 |
+
{
|
| 4 |
+
"id": "560646",
|
| 5 |
+
"kickoff_utc": "2026-11-22T14:00:00+00:00",
|
| 6 |
+
"match": "HUL v BHA",
|
| 7 |
+
"home": "Hull City AFC",
|
| 8 |
+
"away": "Brighton & Hove Albion FC",
|
| 9 |
+
"p_home": 0.2138,
|
| 10 |
+
"p_draw": 0.2977,
|
| 11 |
+
"p_away": 0.4885,
|
| 12 |
+
"favoured": "Away",
|
| 13 |
+
"status": "Final",
|
| 14 |
+
"score": "2-0",
|
| 15 |
+
"actual": "Home",
|
| 16 |
+
"locked_at_utc": "2026-11-22T01:32:03.720565+00:00"
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"id": "560645",
|
| 20 |
+
"kickoff_utc": "2026-11-22T16:30:00+00:00",
|
| 21 |
+
"match": "LIV v MUN",
|
| 22 |
+
"home": "Liverpool FC",
|
| 23 |
+
"away": "Manchester United FC",
|
| 24 |
+
"p_home": 0.5614,
|
| 25 |
+
"p_draw": 0.2214,
|
| 26 |
+
"p_away": 0.2171,
|
| 27 |
+
"favoured": "Home",
|
| 28 |
+
"status": "Final",
|
| 29 |
+
"score": "4-0",
|
| 30 |
+
"actual": "Home",
|
| 31 |
+
"locked_at_utc": "2026-11-22T01:32:03.721241+00:00"
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"id": "560649",
|
| 35 |
+
"kickoff_utc": "2026-11-23T20:00:00+00:00",
|
| 36 |
+
"match": "BRE v EVE",
|
| 37 |
+
"home": "Brentford FC",
|
| 38 |
+
"away": "Everton FC",
|
| 39 |
+
"p_home": 0.4953,
|
| 40 |
+
"p_draw": 0.2746,
|
| 41 |
+
"p_away": 0.2301,
|
| 42 |
+
"favoured": "Home",
|
| 43 |
+
"status": "Not played yet",
|
| 44 |
+
"score": "",
|
| 45 |
+
"actual": "",
|
| 46 |
+
"locked_at_utc": "2026-11-22T01:32:03.721869+00:00"
|
| 47 |
+
}
|
| 48 |
+
]
|
| 49 |
+
}
|
data/epl_tuning.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rows": [
|
| 3 |
+
{
|
| 4 |
+
"xi": 0.0,
|
| 5 |
+
"rps": 0.2189,
|
| 6 |
+
"chosen": false
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"xi": 0.001,
|
| 10 |
+
"rps": 0.209,
|
| 11 |
+
"chosen": false
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"xi": 0.002,
|
| 15 |
+
"rps": 0.2038,
|
| 16 |
+
"chosen": false
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"xi": 0.003,
|
| 20 |
+
"rps": 0.2016,
|
| 21 |
+
"chosen": false
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"xi": 0.005,
|
| 25 |
+
"rps": 0.2009,
|
| 26 |
+
"chosen": true
|
| 27 |
+
}
|
| 28 |
+
]
|
| 29 |
+
}
|
data/failure_modes.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rows": [
|
| 3 |
+
{
|
| 4 |
+
"language": "Area-wide 'below/above normal' statement",
|
| 5 |
+
"most_harmed": 0.22,
|
| 6 |
+
"most_helped": 0.11,
|
| 7 |
+
"all": 0.11
|
| 8 |
+
},
|
| 9 |
+
{
|
| 10 |
+
"language": "Marine layer, low clouds, fog",
|
| 11 |
+
"most_harmed": 0.38,
|
| 12 |
+
"most_helped": 0.22,
|
| 13 |
+
"all": 0.16
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"language": "Trusts the text over the models",
|
| 17 |
+
"most_harmed": 0.45,
|
| 18 |
+
"most_helped": 0.22,
|
| 19 |
+
"all": 0.18
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"language": "Fronts, clouds, storms",
|
| 23 |
+
"most_harmed": 0.7,
|
| 24 |
+
"most_helped": 0.78,
|
| 25 |
+
"all": 0.79
|
| 26 |
+
}
|
| 27 |
+
]
|
| 28 |
+
}
|
data/harm_by_station.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rows": [
|
| 3 |
+
{
|
| 4 |
+
"station": "LAX",
|
| 5 |
+
"n": 129,
|
| 6 |
+
"total_harm": 6.39,
|
| 7 |
+
"mean_harm": 0.0495,
|
| 8 |
+
"share_of_harm": 0.534
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"station": "ATL",
|
| 12 |
+
"n": 136,
|
| 13 |
+
"total_harm": 1.636,
|
| 14 |
+
"mean_harm": 0.012,
|
| 15 |
+
"share_of_harm": 0.137
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"station": "PHX",
|
| 19 |
+
"n": 138,
|
| 20 |
+
"total_harm": 0.923,
|
| 21 |
+
"mean_harm": 0.0067,
|
| 22 |
+
"share_of_harm": 0.077
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"station": "BOS",
|
| 26 |
+
"n": 127,
|
| 27 |
+
"total_harm": 0.881,
|
| 28 |
+
"mean_harm": 0.0069,
|
| 29 |
+
"share_of_harm": 0.074
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
"station": "MIA",
|
| 33 |
+
"n": 137,
|
| 34 |
+
"total_harm": 0.679,
|
| 35 |
+
"mean_harm": 0.005,
|
| 36 |
+
"share_of_harm": 0.057
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"station": "SEA",
|
| 40 |
+
"n": 132,
|
| 41 |
+
"total_harm": 0.612,
|
| 42 |
+
"mean_harm": 0.0046,
|
| 43 |
+
"share_of_harm": 0.051
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"station": "DEN",
|
| 47 |
+
"n": 135,
|
| 48 |
+
"total_harm": 0.572,
|
| 49 |
+
"mean_harm": 0.0042,
|
| 50 |
+
"share_of_harm": 0.048
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"station": "NYC",
|
| 54 |
+
"n": 127,
|
| 55 |
+
"total_harm": 0.362,
|
| 56 |
+
"mean_harm": 0.0029,
|
| 57 |
+
"share_of_harm": 0.03
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"station": "ORD",
|
| 61 |
+
"n": 125,
|
| 62 |
+
"total_harm": 0.086,
|
| 63 |
+
"mean_harm": 0.0007,
|
| 64 |
+
"share_of_harm": 0.007
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"station": "DFW",
|
| 68 |
+
"n": 135,
|
| 69 |
+
"total_harm": -0.186,
|
| 70 |
+
"mean_harm": -0.0014,
|
| 71 |
+
"share_of_harm": -0.016
|
| 72 |
+
}
|
| 73 |
+
]
|
| 74 |
+
}
|
data/ig_by_kind.json
ADDED
|
@@ -0,0 +1,175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rows": [
|
| 3 |
+
{
|
| 4 |
+
"kind": "reel_odds",
|
| 5 |
+
"format": "Reel",
|
| 6 |
+
"posts": 22,
|
| 7 |
+
"avg_reach": 114.4,
|
| 8 |
+
"likes": 23,
|
| 9 |
+
"saves": 0,
|
| 10 |
+
"shares": 1
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"kind": "reel_why",
|
| 14 |
+
"format": "Reel",
|
| 15 |
+
"posts": 73,
|
| 16 |
+
"avg_reach": 80.7,
|
| 17 |
+
"likes": 58,
|
| 18 |
+
"saves": 2,
|
| 19 |
+
"shares": 1
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"kind": "reel_recap",
|
| 23 |
+
"format": "Reel",
|
| 24 |
+
"posts": 1,
|
| 25 |
+
"avg_reach": 62.0,
|
| 26 |
+
"likes": 2,
|
| 27 |
+
"saves": 0,
|
| 28 |
+
"shares": 0
|
| 29 |
+
},
|
| 30 |
+
{
|
| 31 |
+
"kind": "reel_stakes",
|
| 32 |
+
"format": "Reel",
|
| 33 |
+
"posts": 2,
|
| 34 |
+
"avg_reach": 52.0,
|
| 35 |
+
"likes": 2,
|
| 36 |
+
"saves": 0,
|
| 37 |
+
"shares": 0
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"kind": "welcome",
|
| 41 |
+
"format": "Static post",
|
| 42 |
+
"posts": 1,
|
| 43 |
+
"avg_reach": 29.0,
|
| 44 |
+
"likes": 8,
|
| 45 |
+
"saves": 0,
|
| 46 |
+
"shares": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"kind": "reel_stealwatch",
|
| 50 |
+
"format": "Reel",
|
| 51 |
+
"posts": 1,
|
| 52 |
+
"avg_reach": 27.0,
|
| 53 |
+
"likes": 1,
|
| 54 |
+
"saves": 0,
|
| 55 |
+
"shares": 0
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"kind": "scoreboard",
|
| 59 |
+
"format": "Static post",
|
| 60 |
+
"posts": 2,
|
| 61 |
+
"avg_reach": 16.5,
|
| 62 |
+
"likes": 1,
|
| 63 |
+
"saves": 0,
|
| 64 |
+
"shares": 0
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"kind": "analytics",
|
| 68 |
+
"format": "Static post",
|
| 69 |
+
"posts": 7,
|
| 70 |
+
"avg_reach": 11.3,
|
| 71 |
+
"likes": 15,
|
| 72 |
+
"saves": 0,
|
| 73 |
+
"shares": 0
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"kind": "series",
|
| 77 |
+
"format": "Static post",
|
| 78 |
+
"posts": 3,
|
| 79 |
+
"avg_reach": 11.3,
|
| 80 |
+
"likes": 7,
|
| 81 |
+
"saves": 0,
|
| 82 |
+
"shares": 0
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"kind": "rankings",
|
| 86 |
+
"format": "Static post",
|
| 87 |
+
"posts": 3,
|
| 88 |
+
"avg_reach": 11.0,
|
| 89 |
+
"likes": 3,
|
| 90 |
+
"saves": 0,
|
| 91 |
+
"shares": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"kind": "seriespicks",
|
| 95 |
+
"format": "Static post",
|
| 96 |
+
"posts": 2,
|
| 97 |
+
"avg_reach": 9.0,
|
| 98 |
+
"likes": 3,
|
| 99 |
+
"saves": 0,
|
| 100 |
+
"shares": 0
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"kind": "slate",
|
| 104 |
+
"format": "Static post",
|
| 105 |
+
"posts": 5,
|
| 106 |
+
"avg_reach": 8.4,
|
| 107 |
+
"likes": 6,
|
| 108 |
+
"saves": 0,
|
| 109 |
+
"shares": 0
|
| 110 |
+
},
|
| 111 |
+
{
|
| 112 |
+
"kind": "oddschart",
|
| 113 |
+
"format": "Static post",
|
| 114 |
+
"posts": 4,
|
| 115 |
+
"avg_reach": 8.2,
|
| 116 |
+
"likes": 6,
|
| 117 |
+
"saves": 0,
|
| 118 |
+
"shares": 0
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"kind": "statleaders",
|
| 122 |
+
"format": "Static post",
|
| 123 |
+
"posts": 1,
|
| 124 |
+
"avg_reach": 8.0,
|
| 125 |
+
"likes": 1,
|
| 126 |
+
"saves": 0,
|
| 127 |
+
"shares": 0
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"kind": "weekresults",
|
| 131 |
+
"format": "Static post",
|
| 132 |
+
"posts": 3,
|
| 133 |
+
"avg_reach": 7.3,
|
| 134 |
+
"likes": 4,
|
| 135 |
+
"saves": 0,
|
| 136 |
+
"shares": 0
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"kind": "explainer",
|
| 140 |
+
"format": "Static post",
|
| 141 |
+
"posts": 2,
|
| 142 |
+
"avg_reach": 4.5,
|
| 143 |
+
"likes": 2,
|
| 144 |
+
"saves": 0,
|
| 145 |
+
"shares": 0
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"kind": "overview",
|
| 149 |
+
"format": "Static post",
|
| 150 |
+
"posts": 1,
|
| 151 |
+
"avg_reach": 4.0,
|
| 152 |
+
"likes": 1,
|
| 153 |
+
"saves": 0,
|
| 154 |
+
"shares": 0
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"kind": "card",
|
| 158 |
+
"format": "Static post",
|
| 159 |
+
"posts": 2,
|
| 160 |
+
"avg_reach": 3.0,
|
| 161 |
+
"likes": 2,
|
| 162 |
+
"saves": 0,
|
| 163 |
+
"shares": 0
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"kind": "prediction",
|
| 167 |
+
"format": "Static post",
|
| 168 |
+
"posts": 1,
|
| 169 |
+
"avg_reach": 2.0,
|
| 170 |
+
"likes": 1,
|
| 171 |
+
"saves": 0,
|
| 172 |
+
"shares": 0
|
| 173 |
+
}
|
| 174 |
+
]
|
| 175 |
+
}
|
data/ig_followers.json
ADDED
|
@@ -0,0 +1,204 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rows": [
|
| 3 |
+
{
|
| 4 |
+
"day": "2026-10-13",
|
| 5 |
+
"followers": 1,
|
| 6 |
+
"posts_total": 12
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"day": "2026-10-14",
|
| 10 |
+
"followers": 2,
|
| 11 |
+
"posts_total": 14
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"day": "2026-10-15",
|
| 15 |
+
"followers": 2,
|
| 16 |
+
"posts_total": 23
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"day": "2026-10-16",
|
| 20 |
+
"followers": 5,
|
| 21 |
+
"posts_total": 25
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"day": "2026-10-17",
|
| 25 |
+
"followers": 5,
|
| 26 |
+
"posts_total": 25
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"day": "2026-10-19",
|
| 30 |
+
"followers": 6,
|
| 31 |
+
"posts_total": 27
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"day": "2026-10-20",
|
| 35 |
+
"followers": 8,
|
| 36 |
+
"posts_total": 31
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"day": "2026-10-21",
|
| 40 |
+
"followers": 11,
|
| 41 |
+
"posts_total": 32
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"day": "2026-10-22",
|
| 45 |
+
"followers": 28,
|
| 46 |
+
"posts_total": 35
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"day": "2026-10-23",
|
| 50 |
+
"followers": 134,
|
| 51 |
+
"posts_total": 38
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"day": "2026-10-24",
|
| 55 |
+
"followers": 278,
|
| 56 |
+
"posts_total": 43
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"day": "2026-10-25",
|
| 60 |
+
"followers": 326,
|
| 61 |
+
"posts_total": 47
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"day": "2026-10-26",
|
| 65 |
+
"followers": 331,
|
| 66 |
+
"posts_total": 52
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"day": "2026-10-27",
|
| 70 |
+
"followers": 343,
|
| 71 |
+
"posts_total": 57
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"day": "2026-10-28",
|
| 75 |
+
"followers": 337,
|
| 76 |
+
"posts_total": 63
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"day": "2026-10-29",
|
| 80 |
+
"followers": 385,
|
| 81 |
+
"posts_total": 69
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"day": "2026-10-30",
|
| 85 |
+
"followers": 403,
|
| 86 |
+
"posts_total": 73
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"day": "2026-10-31",
|
| 90 |
+
"followers": 408,
|
| 91 |
+
"posts_total": 79
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"day": "2026-11-01",
|
| 95 |
+
"followers": 406,
|
| 96 |
+
"posts_total": 82
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"day": "2026-11-02",
|
| 100 |
+
"followers": 410,
|
| 101 |
+
"posts_total": 86
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"day": "2026-11-03",
|
| 105 |
+
"followers": 413,
|
| 106 |
+
"posts_total": 90
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"day": "2026-11-04",
|
| 110 |
+
"followers": 414,
|
| 111 |
+
"posts_total": 93
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"day": "2026-11-05",
|
| 115 |
+
"followers": 410,
|
| 116 |
+
"posts_total": 96
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"day": "2026-11-06",
|
| 120 |
+
"followers": 402,
|
| 121 |
+
"posts_total": 100
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"day": "2026-11-07",
|
| 125 |
+
"followers": 403,
|
| 126 |
+
"posts_total": 105
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"day": "2026-11-08",
|
| 130 |
+
"followers": 404,
|
| 131 |
+
"posts_total": 108
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"day": "2026-11-09",
|
| 135 |
+
"followers": 408,
|
| 136 |
+
"posts_total": 112
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"day": "2026-11-10",
|
| 140 |
+
"followers": 406,
|
| 141 |
+
"posts_total": 116
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"day": "2026-11-11",
|
| 145 |
+
"followers": 405,
|
| 146 |
+
"posts_total": 121
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"day": "2026-11-12",
|
| 150 |
+
"followers": 409,
|
| 151 |
+
"posts_total": 121
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"day": "2026-11-13",
|
| 155 |
+
"followers": 410,
|
| 156 |
+
"posts_total": 121
|
| 157 |
+
},
|
| 158 |
+
{
|
| 159 |
+
"day": "2026-11-14",
|
| 160 |
+
"followers": 408,
|
| 161 |
+
"posts_total": 121
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"day": "2026-11-15",
|
| 165 |
+
"followers": 407,
|
| 166 |
+
"posts_total": 121
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"day": "2026-11-16",
|
| 170 |
+
"followers": 409,
|
| 171 |
+
"posts_total": 121
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"day": "2026-11-17",
|
| 175 |
+
"followers": 408,
|
| 176 |
+
"posts_total": 121
|
| 177 |
+
},
|
| 178 |
+
{
|
| 179 |
+
"day": "2026-11-18",
|
| 180 |
+
"followers": 405,
|
| 181 |
+
"posts_total": 126
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"day": "2026-11-19",
|
| 185 |
+
"followers": 401,
|
| 186 |
+
"posts_total": 129
|
| 187 |
+
},
|
| 188 |
+
{
|
| 189 |
+
"day": "2026-11-20",
|
| 190 |
+
"followers": 398,
|
| 191 |
+
"posts_total": 133
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"day": "2026-11-21",
|
| 195 |
+
"followers": 415,
|
| 196 |
+
"posts_total": 137
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"day": "2026-11-22",
|
| 200 |
+
"followers": 416,
|
| 201 |
+
"posts_total": 137
|
| 202 |
+
}
|
| 203 |
+
]
|
| 204 |
+
}
|
data/probe.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rows": [
|
| 3 |
+
{
|
| 4 |
+
"id": "temp-dev",
|
| 5 |
+
"track": "Temperature",
|
| 6 |
+
"period": "Before cutoff (dev)",
|
| 7 |
+
"n": 200,
|
| 8 |
+
"brier_no_tools": 0.2309,
|
| 9 |
+
"brier_climatology": 0.2386
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"id": "temp-holdout_primary",
|
| 13 |
+
"track": "Temperature",
|
| 14 |
+
"period": "After cutoff (holdout)",
|
| 15 |
+
"n": 200,
|
| 16 |
+
"brier_no_tools": 0.2321,
|
| 17 |
+
"brier_climatology": 0.2321
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"id": "precip-dev",
|
| 21 |
+
"track": "Precipitation",
|
| 22 |
+
"period": "Before cutoff (dev)",
|
| 23 |
+
"n": 200,
|
| 24 |
+
"brier_no_tools": 0.1628,
|
| 25 |
+
"brier_climatology": 0.1703
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"id": "precip-holdout_primary",
|
| 29 |
+
"track": "Precipitation",
|
| 30 |
+
"period": "After cutoff (holdout)",
|
| 31 |
+
"n": 200,
|
| 32 |
+
"brier_no_tools": 0.1507,
|
| 33 |
+
"brier_climatology": 0.1516
|
| 34 |
+
}
|
| 35 |
+
]
|
| 36 |
+
}
|
data/pushes.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rows": [
|
| 3 |
+
{
|
| 4 |
+
"direction": "Pushed down",
|
| 5 |
+
"n": 241,
|
| 6 |
+
"went_wrong": 0.755,
|
| 7 |
+
"before": 0.7,
|
| 8 |
+
"after": 0.57
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"direction": "Pushed up",
|
| 12 |
+
"n": 66,
|
| 13 |
+
"went_wrong": 0.364,
|
| 14 |
+
"before": 0.56,
|
| 15 |
+
"after": 0.66
|
| 16 |
+
}
|
| 17 |
+
]
|
| 18 |
+
}
|
data/stations.json
ADDED
|
@@ -0,0 +1,184 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rows": [
|
| 3 |
+
{
|
| 4 |
+
"id": "temp-ATL",
|
| 5 |
+
"track": "Temperature",
|
| 6 |
+
"station": "ATL",
|
| 7 |
+
"n": 136,
|
| 8 |
+
"diff": 0.01,
|
| 9 |
+
"ci_low": -0.0044,
|
| 10 |
+
"ci_high": 0.0238
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"id": "temp-BOS",
|
| 14 |
+
"track": "Temperature",
|
| 15 |
+
"station": "BOS",
|
| 16 |
+
"n": 127,
|
| 17 |
+
"diff": 0.0105,
|
| 18 |
+
"ci_low": 0.0013,
|
| 19 |
+
"ci_high": 0.0213
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"id": "temp-DEN",
|
| 23 |
+
"track": "Temperature",
|
| 24 |
+
"station": "DEN",
|
| 25 |
+
"n": 135,
|
| 26 |
+
"diff": -0.0062,
|
| 27 |
+
"ci_low": -0.024,
|
| 28 |
+
"ci_high": 0.0096
|
| 29 |
+
},
|
| 30 |
+
{
|
| 31 |
+
"id": "temp-DFW",
|
| 32 |
+
"track": "Temperature",
|
| 33 |
+
"station": "DFW",
|
| 34 |
+
"n": 135,
|
| 35 |
+
"diff": 0.0015,
|
| 36 |
+
"ci_low": -0.0037,
|
| 37 |
+
"ci_high": 0.0061
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"id": "temp-LAX",
|
| 41 |
+
"track": "Temperature",
|
| 42 |
+
"station": "LAX",
|
| 43 |
+
"n": 129,
|
| 44 |
+
"diff": 0.0489,
|
| 45 |
+
"ci_low": 0.0266,
|
| 46 |
+
"ci_high": 0.0727
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"id": "temp-MIA",
|
| 50 |
+
"track": "Temperature",
|
| 51 |
+
"station": "MIA",
|
| 52 |
+
"n": 137,
|
| 53 |
+
"diff": 0.0082,
|
| 54 |
+
"ci_low": -0.0052,
|
| 55 |
+
"ci_high": 0.0205
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"id": "temp-NYC",
|
| 59 |
+
"track": "Temperature",
|
| 60 |
+
"station": "NYC",
|
| 61 |
+
"n": 127,
|
| 62 |
+
"diff": -0.0076,
|
| 63 |
+
"ci_low": -0.0207,
|
| 64 |
+
"ci_high": 0.0051
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"id": "temp-ORD",
|
| 68 |
+
"track": "Temperature",
|
| 69 |
+
"station": "ORD",
|
| 70 |
+
"n": 125,
|
| 71 |
+
"diff": -0.0077,
|
| 72 |
+
"ci_low": -0.0257,
|
| 73 |
+
"ci_high": 0.0085
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"id": "temp-PHX",
|
| 77 |
+
"track": "Temperature",
|
| 78 |
+
"station": "PHX",
|
| 79 |
+
"n": 138,
|
| 80 |
+
"diff": 0.0064,
|
| 81 |
+
"ci_low": -0.0101,
|
| 82 |
+
"ci_high": 0.0215
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"id": "temp-SEA",
|
| 86 |
+
"track": "Temperature",
|
| 87 |
+
"station": "SEA",
|
| 88 |
+
"n": 132,
|
| 89 |
+
"diff": 0.0008,
|
| 90 |
+
"ci_low": -0.0125,
|
| 91 |
+
"ci_high": 0.0129
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"id": "precip-ATL",
|
| 95 |
+
"track": "Precipitation",
|
| 96 |
+
"station": "ATL",
|
| 97 |
+
"n": 130,
|
| 98 |
+
"diff": -0.0222,
|
| 99 |
+
"ci_low": -0.0421,
|
| 100 |
+
"ci_high": -0.0039
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"id": "precip-BOS",
|
| 104 |
+
"track": "Precipitation",
|
| 105 |
+
"station": "BOS",
|
| 106 |
+
"n": 122,
|
| 107 |
+
"diff": -0.0099,
|
| 108 |
+
"ci_low": -0.0263,
|
| 109 |
+
"ci_high": 0.0042
|
| 110 |
+
},
|
| 111 |
+
{
|
| 112 |
+
"id": "precip-DEN",
|
| 113 |
+
"track": "Precipitation",
|
| 114 |
+
"station": "DEN",
|
| 115 |
+
"n": 135,
|
| 116 |
+
"diff": 0.0007,
|
| 117 |
+
"ci_low": -0.0125,
|
| 118 |
+
"ci_high": 0.0144
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"id": "precip-DFW",
|
| 122 |
+
"track": "Precipitation",
|
| 123 |
+
"station": "DFW",
|
| 124 |
+
"n": 133,
|
| 125 |
+
"diff": -0.0178,
|
| 126 |
+
"ci_low": -0.0349,
|
| 127 |
+
"ci_high": -0.0014
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"id": "precip-LAX",
|
| 131 |
+
"track": "Precipitation",
|
| 132 |
+
"station": "LAX",
|
| 133 |
+
"n": 132,
|
| 134 |
+
"diff": -0.0002,
|
| 135 |
+
"ci_low": -0.0098,
|
| 136 |
+
"ci_high": 0.0079
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"id": "precip-MIA",
|
| 140 |
+
"track": "Precipitation",
|
| 141 |
+
"station": "MIA",
|
| 142 |
+
"n": 123,
|
| 143 |
+
"diff": -0.0027,
|
| 144 |
+
"ci_low": -0.021,
|
| 145 |
+
"ci_high": 0.0148
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"id": "precip-NYC",
|
| 149 |
+
"track": "Precipitation",
|
| 150 |
+
"station": "NYC",
|
| 151 |
+
"n": 117,
|
| 152 |
+
"diff": -0.012,
|
| 153 |
+
"ci_low": -0.0292,
|
| 154 |
+
"ci_high": 0.0069
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"id": "precip-ORD",
|
| 158 |
+
"track": "Precipitation",
|
| 159 |
+
"station": "ORD",
|
| 160 |
+
"n": 124,
|
| 161 |
+
"diff": -0.0026,
|
| 162 |
+
"ci_low": -0.0162,
|
| 163 |
+
"ci_high": 0.0094
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"id": "precip-PHX",
|
| 167 |
+
"track": "Precipitation",
|
| 168 |
+
"station": "PHX",
|
| 169 |
+
"n": 129,
|
| 170 |
+
"diff": -0.0074,
|
| 171 |
+
"ci_low": -0.021,
|
| 172 |
+
"ci_high": 0.0054
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"id": "precip-SEA",
|
| 176 |
+
"track": "Precipitation",
|
| 177 |
+
"station": "SEA",
|
| 178 |
+
"n": 126,
|
| 179 |
+
"diff": 0.0016,
|
| 180 |
+
"ci_low": -0.0061,
|
| 181 |
+
"ci_high": 0.0094
|
| 182 |
+
}
|
| 183 |
+
]
|
| 184 |
+
}
|
data/systems.json
ADDED
|
@@ -0,0 +1,196 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rows": [
|
| 3 |
+
{
|
| 4 |
+
"id": "temp-climatology",
|
| 5 |
+
"track": "Temperature",
|
| 6 |
+
"system": "Climatology",
|
| 7 |
+
"n": 1321,
|
| 8 |
+
"brier": 0.2221,
|
| 9 |
+
"skill": 0.0,
|
| 10 |
+
"minus_ssp": 0.149,
|
| 11 |
+
"ci_low": 0.1372,
|
| 12 |
+
"ci_high": 0.1606,
|
| 13 |
+
"pre_registered": false
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"id": "temp-vote",
|
| 17 |
+
"track": "Temperature",
|
| 18 |
+
"system": "Model vote",
|
| 19 |
+
"n": 1321,
|
| 20 |
+
"brier": 0.1119,
|
| 21 |
+
"skill": 0.496,
|
| 22 |
+
"minus_ssp": 0.0387,
|
| 23 |
+
"ci_low": 0.0302,
|
| 24 |
+
"ci_high": 0.0475,
|
| 25 |
+
"pre_registered": false
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"id": "temp-ssp",
|
| 29 |
+
"track": "Temperature",
|
| 30 |
+
"system": "SSP baseline",
|
| 31 |
+
"n": 1321,
|
| 32 |
+
"brier": 0.0731,
|
| 33 |
+
"skill": 0.671,
|
| 34 |
+
"minus_ssp": 0.0,
|
| 35 |
+
"ci_low": 0.0,
|
| 36 |
+
"ci_high": 0.0,
|
| 37 |
+
"pre_registered": false
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"id": "temp-mos_based",
|
| 41 |
+
"track": "Temperature",
|
| 42 |
+
"system": "NWS MOS-based",
|
| 43 |
+
"n": 1321,
|
| 44 |
+
"brier": 0.0816,
|
| 45 |
+
"skill": 0.633,
|
| 46 |
+
"minus_ssp": 0.0085,
|
| 47 |
+
"ci_low": 0.0006,
|
| 48 |
+
"ci_high": 0.0165,
|
| 49 |
+
"pre_registered": false
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"id": "temp-extraction",
|
| 53 |
+
"track": "Temperature",
|
| 54 |
+
"system": "Extraction baseline",
|
| 55 |
+
"n": 1321,
|
| 56 |
+
"brier": 0.0873,
|
| 57 |
+
"skill": 0.607,
|
| 58 |
+
"minus_ssp": 0.0141,
|
| 59 |
+
"ci_low": 0.0084,
|
| 60 |
+
"ci_high": 0.0204,
|
| 61 |
+
"pre_registered": false
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"id": "temp-A1",
|
| 65 |
+
"track": "Temperature",
|
| 66 |
+
"system": "Agent, all tools",
|
| 67 |
+
"n": 1321,
|
| 68 |
+
"brier": 0.0796,
|
| 69 |
+
"skill": 0.642,
|
| 70 |
+
"minus_ssp": 0.0065,
|
| 71 |
+
"ci_low": 0.0014,
|
| 72 |
+
"ci_high": 0.0114,
|
| 73 |
+
"pre_registered": true
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"id": "temp-A2",
|
| 77 |
+
"track": "Temperature",
|
| 78 |
+
"system": "Agent, no discussion",
|
| 79 |
+
"n": 1321,
|
| 80 |
+
"brier": 0.0706,
|
| 81 |
+
"skill": 0.682,
|
| 82 |
+
"minus_ssp": -0.0026,
|
| 83 |
+
"ci_low": -0.006,
|
| 84 |
+
"ci_high": 0.0007,
|
| 85 |
+
"pre_registered": false
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"id": "temp-A3",
|
| 89 |
+
"track": "Temperature",
|
| 90 |
+
"system": "Agent, no baseline tool",
|
| 91 |
+
"n": 1321,
|
| 92 |
+
"brier": 0.1,
|
| 93 |
+
"skill": 0.55,
|
| 94 |
+
"minus_ssp": 0.0268,
|
| 95 |
+
"ci_low": 0.0192,
|
| 96 |
+
"ci_high": 0.0344,
|
| 97 |
+
"pre_registered": false
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"id": "precip-climatology",
|
| 101 |
+
"track": "Precipitation",
|
| 102 |
+
"system": "Climatology",
|
| 103 |
+
"n": 1271,
|
| 104 |
+
"brier": 0.134,
|
| 105 |
+
"skill": 0.0,
|
| 106 |
+
"minus_ssp": 0.052,
|
| 107 |
+
"ci_low": 0.0392,
|
| 108 |
+
"ci_high": 0.0651,
|
| 109 |
+
"pre_registered": false
|
| 110 |
+
},
|
| 111 |
+
{
|
| 112 |
+
"id": "precip-vote",
|
| 113 |
+
"track": "Precipitation",
|
| 114 |
+
"system": "Model vote",
|
| 115 |
+
"n": 1271,
|
| 116 |
+
"brier": 0.1343,
|
| 117 |
+
"skill": -0.002,
|
| 118 |
+
"minus_ssp": 0.0522,
|
| 119 |
+
"ci_low": 0.0431,
|
| 120 |
+
"ci_high": 0.0616,
|
| 121 |
+
"pre_registered": false
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"id": "precip-ssp",
|
| 125 |
+
"track": "Precipitation",
|
| 126 |
+
"system": "SSP baseline",
|
| 127 |
+
"n": 1271,
|
| 128 |
+
"brier": 0.0821,
|
| 129 |
+
"skill": 0.388,
|
| 130 |
+
"minus_ssp": 0.0,
|
| 131 |
+
"ci_low": 0.0,
|
| 132 |
+
"ci_high": 0.0,
|
| 133 |
+
"pre_registered": false
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"id": "precip-mos_based",
|
| 137 |
+
"track": "Precipitation",
|
| 138 |
+
"system": "NWS MOS-based",
|
| 139 |
+
"n": 1271,
|
| 140 |
+
"brier": 0.0883,
|
| 141 |
+
"skill": 0.341,
|
| 142 |
+
"minus_ssp": 0.0062,
|
| 143 |
+
"ci_low": -0.0019,
|
| 144 |
+
"ci_high": 0.0142,
|
| 145 |
+
"pre_registered": false
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"id": "precip-extraction",
|
| 149 |
+
"track": "Precipitation",
|
| 150 |
+
"system": "Extraction baseline",
|
| 151 |
+
"n": 1271,
|
| 152 |
+
"brier": 0.0797,
|
| 153 |
+
"skill": 0.405,
|
| 154 |
+
"minus_ssp": -0.0023,
|
| 155 |
+
"ci_low": -0.0082,
|
| 156 |
+
"ci_high": 0.0034,
|
| 157 |
+
"pre_registered": false
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"id": "precip-A1",
|
| 161 |
+
"track": "Precipitation",
|
| 162 |
+
"system": "Agent, all tools",
|
| 163 |
+
"n": 1271,
|
| 164 |
+
"brier": 0.0748,
|
| 165 |
+
"skill": 0.442,
|
| 166 |
+
"minus_ssp": -0.0072,
|
| 167 |
+
"ci_low": -0.012,
|
| 168 |
+
"ci_high": -0.0025,
|
| 169 |
+
"pre_registered": true
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"id": "precip-A2",
|
| 173 |
+
"track": "Precipitation",
|
| 174 |
+
"system": "Agent, no discussion",
|
| 175 |
+
"n": 1271,
|
| 176 |
+
"brier": 0.0775,
|
| 177 |
+
"skill": 0.422,
|
| 178 |
+
"minus_ssp": -0.0046,
|
| 179 |
+
"ci_low": -0.008,
|
| 180 |
+
"ci_high": -0.0013,
|
| 181 |
+
"pre_registered": false
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"id": "precip-A3",
|
| 185 |
+
"track": "Precipitation",
|
| 186 |
+
"system": "Agent, no baseline tool",
|
| 187 |
+
"n": 1271,
|
| 188 |
+
"brier": 0.0771,
|
| 189 |
+
"skill": 0.425,
|
| 190 |
+
"minus_ssp": -0.005,
|
| 191 |
+
"ci_low": -0.0115,
|
| 192 |
+
"ci_high": 0.0013,
|
| 193 |
+
"pre_registered": false
|
| 194 |
+
}
|
| 195 |
+
]
|
| 196 |
+
}
|
data/weather_facts.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rows": [
|
| 3 |
+
{
|
| 4 |
+
"fact": "Temperature questions",
|
| 5 |
+
"value": 9256
|
| 6 |
+
},
|
| 7 |
+
{
|
| 8 |
+
"fact": "Precipitation questions",
|
| 9 |
+
"value": 8899
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"fact": "Primary holdout questions",
|
| 13 |
+
"value": 2592
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"fact": "LLM answers logged",
|
| 17 |
+
"value": 17323
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"fact": "API spend (USD)",
|
| 21 |
+
"value": 41.99
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"fact": "Leak check passed (model/variable pairs)",
|
| 25 |
+
"value": 6
|
| 26 |
+
}
|
| 27 |
+
]
|
| 28 |
+
}
|
index.html
CHANGED
|
@@ -1,19 +1,615 @@
|
|
| 1 |
-
<!doctype html>
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!doctype html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="utf-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
| 6 |
+
<title>Jackson Dormer | Forecasting and LLM-agent projects</title>
|
| 7 |
+
<meta name="description" content="Results from projects testing when LLM agents add value over strong statistical models: weather forecasting, Premier League and a live sports Instagram account.">
|
| 8 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/7.9.0/d3.min.js"></script>
|
| 9 |
+
<script src="shim.js"></script>
|
| 10 |
+
</head>
|
| 11 |
+
<body>
|
| 12 |
+
<style>
|
| 13 |
+
/* Light business theme: fixed colors (no dark mode), white cards on a light grey canvas, blue accent. */
|
| 14 |
+
html, body { margin: 0; background: #f4f6f9; }
|
| 15 |
+
.pf [hidden] { display: none !important; }
|
| 16 |
+
.pf { max-width: 1180px; margin: 0 auto; --bg: #f4f6f9; --card: #ffffff; --line: #e3e8ef; --head: #f8fafc; --ink: #111827; --text: #374151; --muted: #6b7280;
|
| 17 |
+
--accent: #2563eb; --accent-soft: #eff4ff; --good: #15803d; --good-soft: #ecfdf3; --bad: #b91c1c; --bad-soft: #fef2f2;
|
| 18 |
+
color-scheme: light; background: var(--bg); color: var(--text);
|
| 19 |
+
font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; font-size: 14px;
|
| 20 |
+
display: flex; flex-direction: column; gap: 20px; padding: 24px max(16px, env(safe-area-inset-right, 0px)) 32px max(16px, env(safe-area-inset-left, 0px)); }
|
| 21 |
+
.pf p { margin: 0; max-width: 78ch; line-height: 1.55; }
|
| 22 |
+
.pf .eyebrow a { color: inherit; }
|
| 23 |
+
.pf .eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
|
| 24 |
+
.pf h1 { font-size: 24px; font-weight: 600; color: var(--ink); margin: 0; line-height: 1.25; text-wrap: balance; }
|
| 25 |
+
.pf h2 { font-size: 16px; font-weight: 600; color: var(--ink); margin: 0; line-height: 1.3; text-wrap: balance; }
|
| 26 |
+
.pf h3 { font-size: 14px; font-weight: 600; color: var(--ink); margin: 0; }
|
| 27 |
+
.pf .note { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
|
| 28 |
+
.pf .num, .pf table, .pf .figure-value { font-variant-numeric: tabular-nums; }
|
| 29 |
+
.pf b { color: var(--ink); }
|
| 30 |
+
|
| 31 |
+
.pf header.intro { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; display: flex; flex-direction: column; gap: 8px;
|
| 32 |
+
box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
|
| 33 |
+
|
| 34 |
+
.pf nav.tabs { display: flex; gap: 4px; background: #e9edf3; border-radius: 10px; padding: 4px; overflow-x: auto; width: fit-content; max-width: 100%; }
|
| 35 |
+
.pf nav.tabs button { appearance: none; border: 0; background: transparent; border-radius: 7px; padding: 8px 14px; font: inherit; font-size: 13.5px;
|
| 36 |
+
color: var(--muted); cursor: pointer; white-space: nowrap; font-weight: 500; }
|
| 37 |
+
.pf nav.tabs button:hover { color: var(--ink); }
|
| 38 |
+
.pf nav.tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(16, 24, 40, .08); }
|
| 39 |
+
.pf nav.tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
| 40 |
+
|
| 41 |
+
.pf section.tab { display: flex; flex-direction: column; gap: 16px; }
|
| 42 |
+
.pf .block { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; display: flex; flex-direction: column; gap: 14px;
|
| 43 |
+
min-width: 0; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
|
| 44 |
+
.pf .block.intro { gap: 10px; }
|
| 45 |
+
|
| 46 |
+
.pf .figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 6px; }
|
| 47 |
+
.pf .figure { background: var(--head); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
|
| 48 |
+
.pf .figure + .figure { border-left: 1px solid var(--line); }
|
| 49 |
+
.pf .figure-value { font-size: 24px; font-weight: 600; color: var(--ink); line-height: 1.15; }
|
| 50 |
+
.pf .figure-label { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
|
| 51 |
+
|
| 52 |
+
.pf .verdicts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
|
| 53 |
+
.pf .verdict { border: 1px solid var(--line); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
|
| 54 |
+
.pf .verdict .big { font-size: 30px; font-weight: 600; color: var(--ink); line-height: 1; }
|
| 55 |
+
.pf .mark { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
|
| 56 |
+
background: #f1f5f9; color: var(--muted); }
|
| 57 |
+
.pf .mark.good { background: var(--good-soft); color: var(--good); }
|
| 58 |
+
.pf .mark.bad { background: var(--bad-soft); color: var(--bad); }
|
| 59 |
+
|
| 60 |
+
.pf .chart { position: relative; width: 100%; min-height: 240px; }
|
| 61 |
+
.pf .chart svg text { fill: var(--muted); font-size: 12px; font-family: inherit; }
|
| 62 |
+
.pf .chart svg text.ink { fill: var(--ink); }
|
| 63 |
+
.pf .tip { position: absolute; pointer-events: none; background: #ffffff; border: 1px solid var(--line); box-shadow: 0 4px 12px rgba(16, 24, 40, .12);
|
| 64 |
+
border-radius: 8px; padding: 6px 10px; font-size: 12px; color: var(--ink); white-space: nowrap; z-index: 2; }
|
| 65 |
+
|
| 66 |
+
.pf .tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
|
| 67 |
+
.pf table { border-collapse: collapse; width: 100%; font-size: 13px; }
|
| 68 |
+
.pf th, .pf td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: top; color: var(--text); }
|
| 69 |
+
.pf thead th { background: var(--head); color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }
|
| 70 |
+
.pf tbody tr:last-child td { border-bottom: 0; }
|
| 71 |
+
.pf tbody tr:hover td { background: #fafbfd; }
|
| 72 |
+
.pf td.r, .pf th.r { text-align: right; }
|
| 73 |
+
.pf tr.primary td { font-weight: 600; color: var(--ink); background: var(--accent-soft); }
|
| 74 |
+
.pf td.wrap { white-space: normal; min-width: 220px; }
|
| 75 |
+
|
| 76 |
+
.pf .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
|
| 77 |
+
.pf .cols > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
|
| 78 |
+
.pf ul.plain { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; max-width: 78ch; line-height: 1.5; }
|
| 79 |
+
.pf details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 24px; }
|
| 80 |
+
.pf details summary { cursor: pointer; color: var(--ink); font-weight: 600; }
|
| 81 |
+
.pf details dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 12px 0 0; font-size: 13px; }
|
| 82 |
+
.pf details dt { font-weight: 600; color: var(--ink); }
|
| 83 |
+
.pf details dd { margin: 0; color: var(--muted); }
|
| 84 |
+
.pf .legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); }
|
| 85 |
+
.pf .legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; border-radius: 2px; }
|
| 86 |
+
.pf .legend .k-reel::before { background: var(--accent); }
|
| 87 |
+
.pf .legend .k-static::before { background: #cbd5e1; }
|
| 88 |
+
@media (max-width: 480px) { .pf .block, .pf header.intro { padding: 16px; } }
|
| 89 |
+
</style>
|
| 90 |
+
|
| 91 |
+
<div class="pf" data-read lang="en">
|
| 92 |
+
<header class="intro" id="top">
|
| 93 |
+
<span class="eyebrow">Project results · November 2026</span>
|
| 94 |
+
<h1>Forecasting and LLM-agent projects</h1>
|
| 95 |
+
<p>Three projects built around one question: when does an LLM add value on top of a strong statistical model, and how do you measure that honestly? Two are pre-registered tests with point-in-time data and paired confidence intervals; the third is the live account those models feed.</p>
|
| 96 |
+
</header>
|
| 97 |
+
|
| 98 |
+
<nav class="tabs" role="tablist" aria-label="Projects">
|
| 99 |
+
<button role="tab" data-tab="overview" aria-selected="true">Overview</button>
|
| 100 |
+
<button role="tab" data-tab="weather" aria-selected="false">Weather forecast agent</button>
|
| 101 |
+
<button role="tab" data-tab="epl" aria-selected="false">Premier League model</button>
|
| 102 |
+
<button role="tab" data-tab="instagram" aria-selected="false">BoxScoreBrief on Instagram</button>
|
| 103 |
+
</nav>
|
| 104 |
+
|
| 105 |
+
<!-- ===================== OVERVIEW ===================== -->
|
| 106 |
+
<section class="tab" id="overview" role="tabpanel">
|
| 107 |
+
<div class="block">
|
| 108 |
+
<h2>At a glance</h2>
|
| 109 |
+
<div class="tablewrap">
|
| 110 |
+
<table>
|
| 111 |
+
<thead><tr><th>Project</th><th>Question</th><th>Headline result</th><th>Status</th></tr></thead>
|
| 112 |
+
<tbody>
|
| 113 |
+
<tr><td>Weather forecast agent</td><td class="wrap">Can a Claude agent reading NWS forecasters' notes beat statistical correction of weather models?</td>
|
| 114 |
+
<td class="wrap">Rain: <span data-draw="ov-h4" data-source="coprimary" data-field="diff" data-where="test=H4">—</span> Brier vs baseline (better). Temperature: <span data-draw="ov-h1" data-source="coprimary" data-field="diff" data-where="test=H1">—</span> (worse).</td>
|
| 115 |
+
<td>Holdout scored once, Nov 20</td></tr>
|
| 116 |
+
<tr><td>Premier League model</td><td class="wrap">Does a Dixon-Coles goals model give better win/draw/loss probabilities than league base rates?</td>
|
| 117 |
+
<td class="wrap">Ranked probability score <span data-draw="ov-epl-model" data-source="epl_backtest" data-field="model" data-where="metric=Ranked%20probability%20score">—</span> vs <span data-draw="ov-epl-base" data-source="epl_backtest" data-field="baseline" data-where="metric=Ranked%20probability%20score">—</span> on the untouched 2025-26 season.</td>
|
| 118 |
+
<td>First picks locked Nov 22</td></tr>
|
| 119 |
+
<tr><td>BoxScoreBrief on Instagram</td><td class="wrap">A live sports account where models feed AI-written posts behind a fact check.</td>
|
| 120 |
+
<td class="wrap"><span data-draw="ov-ig-followers" data-source="ig_summary" data-field="value" data-where="metric=followers">—</span> followers; <span data-draw="ov-ig-posts" data-source="ig_summary" data-field="value" data-where="metric=posts">—</span> posts with insights; Reels average <span data-draw="ov-ig-ratio" data-source="ig_summary" data-field="value" data-where="metric=reel_vs_static">—</span> the reach of static posts.</td>
|
| 121 |
+
<td>Live since Oct 12</td></tr>
|
| 122 |
+
</tbody>
|
| 123 |
+
</table>
|
| 124 |
+
</div>
|
| 125 |
+
<p class="note">Brier and ranked probability score measure probability error: lower is better. A negative difference means the system beat its baseline.</p>
|
| 126 |
+
</div>
|
| 127 |
+
<div class="block">
|
| 128 |
+
<h2>What ties them together</h2>
|
| 129 |
+
<ul class="plain">
|
| 130 |
+
<li>Rules are written and committed before results exist: a frozen spec, a one-time holdout, and a dated change log for every amendment.</li>
|
| 131 |
+
<li>Every data access is point in time: models and tools only see information published before each decision. In the weather benchmark, every tool call is also audited for leaks.</li>
|
| 132 |
+
<li>Comparisons are paired on the same questions, with bootstrap confidence intervals, and negative results are reported as they came out.</li>
|
| 133 |
+
<li>Each data source's terms are reviewed before use, and raw data is never republished; only aggregated results appear here.</li>
|
| 134 |
+
</ul>
|
| 135 |
+
</div>
|
| 136 |
+
</section>
|
| 137 |
+
|
| 138 |
+
<!-- ===================== WEATHER ===================== -->
|
| 139 |
+
<section class="tab" id="weather" role="tabpanel" hidden>
|
| 140 |
+
<div class="block intro">
|
| 141 |
+
<span class="eyebrow">forecast-agent-bench · weather domain · <a href="https://github.com/jddormer19/forecast-agent-bench">GitHub</a></span>
|
| 142 |
+
<h2>Can an LLM agent that reads forecasters' notes beat statistical forecasting?</h2>
|
| 143 |
+
<p>At 6 AM local time, the agent answers two yes/no questions per station and day: will today's high reach its 1991-2020 normal, and will at least 0.01 in of rain fall? It is compared with a logistic correction of three weather models that matches or beats a calibrated version of NWS MOS guidance.</p>
|
| 144 |
+
<div class="figures">
|
| 145 |
+
<div class="figure"><span class="figure-value" data-draw="wf-temp" data-source="weather_facts" data-field="value" data-where="fact=Temperature%20questions">—</span><span class="figure-label">temperature questions</span></div>
|
| 146 |
+
<div class="figure"><span class="figure-value" data-draw="wf-precip" data-source="weather_facts" data-field="value" data-where="fact=Precipitation%20questions">—</span><span class="figure-label">precipitation questions</span></div>
|
| 147 |
+
<div class="figure"><span class="figure-value" data-draw="wf-primary" data-source="weather_facts" data-field="value" data-where="fact=Primary%20holdout%20questions">—</span><span class="figure-label">primary holdout questions (after the model's training cutoff)</span></div>
|
| 148 |
+
<div class="figure"><span class="figure-value" data-draw="wf-answers" data-source="weather_facts" data-field="value" data-where="fact=LLM%20answers%20logged">—</span><span class="figure-label">LLM answers logged</span></div>
|
| 149 |
+
<div class="figure"><span class="figure-value" data-draw="wf-spend" data-source="weather_facts" data-field="value" data-where="fact=API%20spend%20(USD)">—</span><span class="figure-label">total API spend</span></div>
|
| 150 |
+
</div>
|
| 151 |
+
</div>
|
| 152 |
+
|
| 153 |
+
<div class="block">
|
| 154 |
+
<h2>The two pre-registered tests</h2>
|
| 155 |
+
<div class="verdicts">
|
| 156 |
+
<div class="verdict" id="v-precip">
|
| 157 |
+
<h3>Precipitation (H4)</h3>
|
| 158 |
+
<span class="mark" data-draw="h4-mark">—</span>
|
| 159 |
+
<span class="big num" data-draw="h4-diff" data-source="coprimary" data-field="diff" data-where="test=H4">—</span>
|
| 160 |
+
<span class="note">Agent <span data-draw="h4-agent" data-source="coprimary" data-field="agent_brier" data-where="test=H4">—</span> vs baseline <span data-draw="h4-ssp" data-source="coprimary" data-field="ssp_brier" data-where="test=H4">—</span>. 95% CI <span data-draw="h4-ci">—</span>, p = <span data-draw="h4-p" data-source="coprimary" data-field="p_value" data-where="test=H4">—</span>, n = <span data-draw="h4-n" data-source="coprimary" data-field="n" data-where="test=H4">—</span>.</span>
|
| 161 |
+
</div>
|
| 162 |
+
<div class="verdict" id="v-temp">
|
| 163 |
+
<h3>Temperature (H1)</h3>
|
| 164 |
+
<span class="mark" data-draw="h1-mark">—</span>
|
| 165 |
+
<span class="big num" data-draw="h1-diff" data-source="coprimary" data-field="diff" data-where="test=H1">—</span>
|
| 166 |
+
<span class="note">Agent <span data-draw="h1-agent" data-source="coprimary" data-field="agent_brier" data-where="test=H1">—</span> vs baseline <span data-draw="h1-ssp" data-source="coprimary" data-field="ssp_brier" data-where="test=H1">—</span>. 95% CI <span data-draw="h1-ci">—</span>, p = <span data-draw="h1-p" data-source="coprimary" data-field="p_value" data-where="test=H1">—</span>, n = <span data-draw="h1-n" data-source="coprimary" data-field="n" data-where="test=H1">—</span>.</span>
|
| 167 |
+
</div>
|
| 168 |
+
</div>
|
| 169 |
+
<p class="note">Brier difference from the baseline; negative means the agent was better. Date-block bootstrap, Holm correction across the two tests. Primary holdout Jul 1 to Nov 15, 2026.</p>
|
| 170 |
+
</div>
|
| 171 |
+
|
| 172 |
+
<div class="block" id="w-forest">
|
| 173 |
+
<h2>Every system against the baseline</h2>
|
| 174 |
+
<p class="note">Only "Agent, all tools" was pre-registered as primary. The other rows are exploratory comparisons on the same questions.</p>
|
| 175 |
+
<div class="chart" data-draw="forest" data-source="systems"></div>
|
| 176 |
+
<div class="tablewrap">
|
| 177 |
+
<table data-source="systems" data-row-key="id">
|
| 178 |
+
<thead><tr><th data-field="track">Question</th><th data-field="system">System</th><th class="r" data-field="brier">Brier</th><th class="r" data-field="skill">Skill</th><th class="r" data-field="minus_ssp">vs baseline</th><th class="r" data-field="ci_low">CI low</th><th class="r" data-field="ci_high">CI high</th></tr></thead>
|
| 179 |
+
<tbody data-draw="systems-table"></tbody>
|
| 180 |
+
</table>
|
| 181 |
+
</div>
|
| 182 |
+
</div>
|
| 183 |
+
|
| 184 |
+
<div class="block" id="w-cost">
|
| 185 |
+
<h2>Cost versus quality</h2>
|
| 186 |
+
<p class="note">Haiku, Sonnet and Opus 5.5 on the same 100 primary questions per question type (exploratory). The dashed line is the baseline on those questions. Haiku's cost is the average over its full holdout run.</p>
|
| 187 |
+
<div class="chart" data-draw="costq" data-source="cost_quality"></div>
|
| 188 |
+
</div>
|
| 189 |
+
|
| 190 |
+
<div class="block" id="w-why">
|
| 191 |
+
<h2>Why the forecast discussions hurt temperature</h2>
|
| 192 |
+
<p>When the discussion pushed a temperature forecast down (<span data-draw="down-n" data-source="pushes" data-field="n" data-where="direction=Pushed%20down">—</span> answers), the high still reached normal <b data-draw="down-wrong" data-source="pushes" data-field="went_wrong" data-where="direction=Pushed%20down">—</b> of the time. Upward pushes were wrong <span data-draw="up-wrong" data-source="pushes" data-field="went_wrong" data-where="direction=Pushed%20up">—</span> of the time.</p>
|
| 193 |
+
<div class="cols">
|
| 194 |
+
<div>
|
| 195 |
+
<h3>Share of the harm by station</h3>
|
| 196 |
+
<div class="chart" data-draw="harm" data-source="harm_by_station" style="min-height:270px"></div>
|
| 197 |
+
</div>
|
| 198 |
+
<div>
|
| 199 |
+
<h3>Language in the agent's reasoning</h3>
|
| 200 |
+
<div class="tablewrap">
|
| 201 |
+
<table data-source="failure_modes" data-row-key="language">
|
| 202 |
+
<thead><tr><th data-field="language">Language</th><th class="r" data-field="most_harmed">Most harmed</th><th class="r" data-field="most_helped">Most helped</th><th class="r" data-field="all">All</th></tr></thead>
|
| 203 |
+
<tbody data-draw="modes-table"></tbody>
|
| 204 |
+
</table>
|
| 205 |
+
</div>
|
| 206 |
+
<p class="note">Three patterns: area-wide "below normal" statements applied to a single airport; Los Angeles's routine marine layer read as news; and double counting, since forecasters write the discussion from the same models the baseline already uses. Exploratory, done after scoring.</p>
|
| 207 |
+
</div>
|
| 208 |
+
</div>
|
| 209 |
+
</div>
|
| 210 |
+
|
| 211 |
+
<div class="block" id="w-stations">
|
| 212 |
+
<h2>Agent against the baseline, by station</h2>
|
| 213 |
+
<p class="note">Agent minus baseline, 95% intervals. Colored where the interval excludes zero.</p>
|
| 214 |
+
<div class="chart" data-draw="stations" data-source="stations" style="min-height:320px"></div>
|
| 215 |
+
</div>
|
| 216 |
+
|
| 217 |
+
<div class="block" id="w-method">
|
| 218 |
+
<h2>How it was run</h2>
|
| 219 |
+
<div class="cols">
|
| 220 |
+
<div>
|
| 221 |
+
<h3>Design</h3>
|
| 222 |
+
<ul class="plain">
|
| 223 |
+
<li>SPEC frozen before any download; precipitation track and amendments logged with what had been seen at the time.</li>
|
| 224 |
+
<li>Primary holdout starts after the model's June 2026 training cutoff, so remembered weather can't explain the result.</li>
|
| 225 |
+
<li>Ablations remove the discussion tool and the baseline tool; an extraction baseline tests whether the agent just copies stated numbers.</li>
|
| 226 |
+
<li>Budget cap enforced in code from the API's token counts, with a file-locked spend ledger.</li>
|
| 227 |
+
</ul>
|
| 228 |
+
</div>
|
| 229 |
+
<div>
|
| 230 |
+
<h3>Data and leakage</h3>
|
| 231 |
+
<ul class="plain">
|
| 232 |
+
<li>Sources: NOAA ACIS and NWS products (public domain), Open-Meteo archived forecasts (CC BY 4.0), Iowa Environmental Mesonet archives. Downloads throttled to each provider's limits.</li>
|
| 233 |
+
<li>Every row carries the time it became knowable; tools only see a snapshot as of 6 AM.</li>
|
| 234 |
+
<li>The leak check failed on its first version, was diagnosed (repeated values, interpolated ECMWF hours) and fixed; it now passes for <span data-draw="wf-leak" data-source="weather_facts" data-field="value" data-where="fact=Leak%20check%20passed%20(model%2Fvariable%20pairs)">—</span> of 6 model and variable pairs.</li>
|
| 235 |
+
</ul>
|
| 236 |
+
</div>
|
| 237 |
+
</div>
|
| 238 |
+
</div>
|
| 239 |
+
|
| 240 |
+
<div class="block" id="w-probe">
|
| 241 |
+
<h2>Did the model just remember the weather?</h2>
|
| 242 |
+
<div class="tablewrap">
|
| 243 |
+
<table data-source="probe" data-row-key="id">
|
| 244 |
+
<thead><tr><th data-field="track">Question</th><th data-field="period">Period</th><th class="r" data-field="n">n</th><th class="r" data-field="brier_no_tools">Brier, no tools</th><th class="r" data-field="brier_climatology">Brier, climatology</th></tr></thead>
|
| 245 |
+
<tbody data-draw="probe-table"></tbody>
|
| 246 |
+
</table>
|
| 247 |
+
</div>
|
| 248 |
+
<p class="note">With no tools or data, the model scores about as well as the historical average before and after its cutoff, so there is no sign that memorized weather explains the results.</p>
|
| 249 |
+
</div>
|
| 250 |
+
|
| 251 |
+
<details>
|
| 252 |
+
<summary>Definitions</summary>
|
| 253 |
+
<dl>
|
| 254 |
+
<dt>Brier score</dt><dd>Mean squared error of a probability against what happened (0 or 1). Lower is better.</dd>
|
| 255 |
+
<dt>Skill</dt><dd>1 minus Brier divided by climatology's Brier. 0 is no better than the historical average.</dd>
|
| 256 |
+
<dt>SSP baseline</dt><dd>Simple statistical post-processing: logistic regression on three weather models' forecasts and recent observations, fitted on 2024-25.</dd>
|
| 257 |
+
<dt>Agent, all tools</dt><dd>Claude Haiku 5.5 with 7 point-in-time data tools, including the NWS forecast discussion and the baseline's probability.</dd>
|
| 258 |
+
<dt>Extraction baseline</dt><dd>One model call that only pulls the high or rain chance stated in the discussion, calibrated on dev.</dd>
|
| 259 |
+
</dl>
|
| 260 |
+
</details>
|
| 261 |
+
</section>
|
| 262 |
+
|
| 263 |
+
<!-- ===================== EPL ===================== -->
|
| 264 |
+
<section class="tab" id="epl" role="tabpanel" hidden>
|
| 265 |
+
<div class="block intro">
|
| 266 |
+
<span class="eyebrow">epl-model · for BoxScoreBrief · code private while the first matchdays are scored</span>
|
| 267 |
+
<h2>Win, draw and loss probabilities for Premier League matches</h2>
|
| 268 |
+
<p>A Dixon-Coles goals model with time decay, trained on 14 seasons of public-domain results plus the current season from football-data.org. Picks are locked before kickoff, committed to git, and scored afterwards.</p>
|
| 269 |
+
</div>
|
| 270 |
+
<div class="block">
|
| 271 |
+
<h2>Test season 2025-26</h2>
|
| 272 |
+
<p class="note">Walk-forward: every round is predicted by a model fitted only on earlier matches. Time decay was chosen on 2024-25; 2025-26 was not used for any choice.</p>
|
| 273 |
+
<div class="tablewrap">
|
| 274 |
+
<table data-source="epl_backtest" data-row-key="metric">
|
| 275 |
+
<thead><tr><th data-field="metric">Metric</th><th class="r" data-field="model">Model</th><th class="r" data-field="baseline">Baseline</th><th class="r">Better</th></tr></thead>
|
| 276 |
+
<tbody data-draw="epl-bt-table"></tbody>
|
| 277 |
+
</table>
|
| 278 |
+
</div>
|
| 279 |
+
<p class="note">Baseline is league base rates (home/draw/away frequencies); for accuracy it is "home team always wins". Picking the team higher in the table gets 47.9% right, so the model's edge is calibrated probabilities rather than picking winners.</p>
|
| 280 |
+
</div>
|
| 281 |
+
<div class="block cols">
|
| 282 |
+
<div>
|
| 283 |
+
<h3>Choosing the time decay (validation season 2024-25)</h3>
|
| 284 |
+
<div class="chart" data-draw="epl-tuning" data-source="epl_tuning" style="min-height:200px"></div>
|
| 285 |
+
<p class="note">Weighting recent matches more helps consistently. The chosen value sits at the edge of the grid; the grid was not widened after seeing the test season.</p>
|
| 286 |
+
</div>
|
| 287 |
+
<div>
|
| 288 |
+
<h3>Locked picks</h3>
|
| 289 |
+
<div class="tablewrap">
|
| 290 |
+
<table data-source="epl_picks" data-row-key="id">
|
| 291 |
+
<thead><tr><th data-field="match">Match</th><th data-field="kickoff_utc">Kickoff (CT)</th><th class="r" data-field="p_home">Home</th><th class="r" data-field="p_draw">Draw</th><th class="r" data-field="p_away">Away</th><th data-field="status">Result</th></tr></thead>
|
| 292 |
+
<tbody data-draw="epl-picks-table"></tbody>
|
| 293 |
+
</table>
|
| 294 |
+
</div>
|
| 295 |
+
<p class="note">Locked Nov 22 at 01:32 UTC, about 12.5 hours before the first kickoff. Football data provided by the Football-Data.org API; historical results from openfootball (CC0). Unofficial: not affiliated with the Premier League or any club. Model probabilities are not betting advice.</p>
|
| 296 |
+
</div>
|
| 297 |
+
</div>
|
| 298 |
+
</section>
|
| 299 |
+
|
| 300 |
+
<!-- ===================== INSTAGRAM ===================== -->
|
| 301 |
+
<section class="tab" id="instagram" role="tabpanel" hidden>
|
| 302 |
+
<div class="block intro">
|
| 303 |
+
<span class="eyebrow"><a href="https://www.instagram.com/boxscorebrief/">@boxscorebrief</a> · <a href="https://github.com/jddormer19/boxscorebrief">case study on GitHub</a></span>
|
| 304 |
+
<h2>A live sports account run by models and an LLM pipeline</h2>
|
| 305 |
+
<p>My MLB, NFL and NBA models feed Claude-written captions behind a fact-check guardrail; an evaluation harness measures caption quality. Instagram insights are collected automatically every few hours.</p>
|
| 306 |
+
<div class="figures">
|
| 307 |
+
<div class="figure"><span class="figure-value" data-draw="ig-followers" data-source="ig_summary" data-field="value" data-where="metric=followers">—</span><span class="figure-label">followers</span></div>
|
| 308 |
+
<div class="figure"><span class="figure-value" data-draw="ig-posts" data-source="ig_summary" data-field="value" data-where="metric=posts">—</span><span class="figure-label">posts with insights</span></div>
|
| 309 |
+
<div class="figure"><span class="figure-value" data-draw="ig-reel" data-source="ig_summary" data-field="value" data-where="metric=reel_reach">—</span><span class="figure-label">average reach, Reels</span></div>
|
| 310 |
+
<div class="figure"><span class="figure-value" data-draw="ig-static" data-source="ig_summary" data-field="value" data-where="metric=static_reach">—</span><span class="figure-label">average reach, static posts</span></div>
|
| 311 |
+
</div>
|
| 312 |
+
</div>
|
| 313 |
+
<div class="block">
|
| 314 |
+
<h2>Followers</h2>
|
| 315 |
+
<div class="chart" data-draw="ig-followers-chart" data-source="ig_followers" style="min-height:220px"></div>
|
| 316 |
+
</div>
|
| 317 |
+
<div class="block">
|
| 318 |
+
<h2>Average reach by post type</h2>
|
| 319 |
+
<div class="legend"><span class="k-reel">Reel</span><span class="k-static">Static post</span></div>
|
| 320 |
+
<div class="chart" data-draw="ig-kind-chart" data-source="ig_by_kind" style="min-height:300px"></div>
|
| 321 |
+
<p class="note">Saves and shares are near zero across all post types; that is the engagement gap to work on.</p>
|
| 322 |
+
</div>
|
| 323 |
+
</section>
|
| 324 |
+
<footer class="note" style="text-align:center;padding-top:8px">Jackson Dormer · <a href="https://github.com/jddormer19" style="color:inherit">github.com/jddormer19</a> · Results as of November 22, 2026</footer>
|
| 325 |
+
</div>
|
| 326 |
+
|
| 327 |
+
<script>
|
| 328 |
+
// shared helpers
|
| 329 |
+
window.pf = window.pf || {};
|
| 330 |
+
pf.c = {accent: '#2563eb', muted: '#cbd5e1', good: '#15803d', bad: '#dc2626', grid: '#eef1f5', axis: '#cbd5e1', ref: '#94a3b8'};
|
| 331 |
+
pf.f4 = d3.format('+.4f'); pf.p4 = d3.format('.4f'); pf.pct = d3.format('.0%'); pf.int = d3.format(',');
|
| 332 |
+
pf.ok = (id) => { const d = dash.data(id); return d.status === 'ok' ? d.data : null; };
|
| 333 |
+
pf.row = (id, key, val) => (pf.ok(id) || []).find((r) => String(r[key]) === val);
|
| 334 |
+
pf.tip = (el) => {
|
| 335 |
+
let t = el.querySelector(':scope > .tip');
|
| 336 |
+
if (!t) { t = document.createElement('div'); t.className = 'tip'; t.hidden = true; el.appendChild(t); }
|
| 337 |
+
return {
|
| 338 |
+
show(ev, text) {
|
| 339 |
+
t.textContent = text; t.hidden = false;
|
| 340 |
+
const b = el.getBoundingClientRect();
|
| 341 |
+
const x = Math.min(ev.clientX - b.left + 12, b.width - t.offsetWidth - 4), y = Math.min(ev.clientY - b.top + 12, b.height - t.offsetHeight - 4);
|
| 342 |
+
t.style.left = Math.max(0, x) + 'px'; t.style.top = Math.max(0, y) + 'px';
|
| 343 |
+
},
|
| 344 |
+
hide() { t.hidden = true; },
|
| 345 |
+
};
|
| 346 |
+
};
|
| 347 |
+
pf.ready = (el, ids) => {
|
| 348 |
+
const st = ids.map((i) => dash.data(i).status);
|
| 349 |
+
if (st.includes('error')) { el.replaceChildren(Object.assign(document.createElement('p'), {className: 'note', textContent: 'This chart could not load its data.'})); return false; }
|
| 350 |
+
if (st.some((s) => s !== 'ok')) { el.replaceChildren(); return false; }
|
| 351 |
+
return true;
|
| 352 |
+
};
|
| 353 |
+
pf.axis = (g) => { g.select('.domain').style('stroke', pf.c.axis); g.selectAll('line').style('stroke', pf.c.axis); };
|
| 354 |
+
pf.put = (el, svg) => el.replaceChildren(svg.node(), el.querySelector(':scope > .tip') || '');
|
| 355 |
+
pf.cell = (id, key, val, field, fmt) => (el) => { const r = pf.row(id, key, val); el.textContent = r ? fmt(r[field]) : '—'; };
|
| 356 |
+
pf.tbody = (tb, rows, build) => tb.replaceChildren(...rows.map(build));
|
| 357 |
+
pf.tr = (key, cells, rightFrom, cls) => {
|
| 358 |
+
const tr = document.createElement('tr'); tr.dataset.key = key; if (cls) tr.className = cls;
|
| 359 |
+
cells.forEach((c, i) => { const td = document.createElement('td'); td.textContent = c; if (i >= rightFrom) td.className = 'r'; tr.appendChild(td); });
|
| 360 |
+
return tr;
|
| 361 |
+
};
|
| 362 |
+
|
| 363 |
+
dash.calc('ig_summary', {
|
| 364 |
+
inputs: ['ig_followers', 'ig_by_kind'],
|
| 365 |
+
title: 'Instagram summary',
|
| 366 |
+
description: 'Latest follower count, posts with insights, and average reach of Reels vs static posts (weighted by posts).',
|
| 367 |
+
fn: (followers, kinds) => {
|
| 368 |
+
const latest = followers.length ? followers[followers.length - 1].followers : null;
|
| 369 |
+
const sum = (f, pred) => kinds.filter(pred).reduce((s, k) => s + f(k), 0);
|
| 370 |
+
const reel = (k) => k.format === 'Reel', stat = (k) => k.format !== 'Reel';
|
| 371 |
+
const reelReach = sum((k) => k.avg_reach * k.posts, reel) / Math.max(1, sum((k) => k.posts, reel));
|
| 372 |
+
const staticReach = sum((k) => k.avg_reach * k.posts, stat) / Math.max(1, sum((k) => k.posts, stat));
|
| 373 |
+
return [{metric: 'followers', value: latest}, {metric: 'posts', value: sum((k) => k.posts, () => true)},
|
| 374 |
+
{metric: 'reel_reach', value: Math.round(reelReach)}, {metric: 'static_reach', value: Math.round(10 * staticReach) / 10},
|
| 375 |
+
{metric: 'reel_vs_static', value: Math.round(10 * reelReach / staticReach) / 10}];
|
| 376 |
+
},
|
| 377 |
+
});
|
| 378 |
+
|
| 379 |
+
// tabs: switch sections by setting hidden and aria-selected
|
| 380 |
+
pf.show = (name) => {
|
| 381 |
+
const tabs = [...document.querySelectorAll('.pf nav.tabs button[data-tab]')];
|
| 382 |
+
if (!tabs.some((b) => b.dataset.tab === name)) name = 'overview';
|
| 383 |
+
tabs.forEach((b) => b.setAttribute('aria-selected', String(b.dataset.tab === name)));
|
| 384 |
+
document.querySelectorAll('.pf section.tab').forEach((s) => { s.hidden = s.id !== name; });
|
| 385 |
+
if (window.dash.redraw) window.dash.redraw();
|
| 386 |
+
};
|
| 387 |
+
document.querySelectorAll('.pf nav.tabs button[data-tab]').forEach((b) => b.addEventListener('click', () => { pf.show(b.dataset.tab); dash.setLink(b.dataset.tab); }));
|
| 388 |
+
pf.show((location.hash || '').slice(1));
|
| 389 |
+
</script>
|
| 390 |
+
|
| 391 |
+
<script>
|
| 392 |
+
// overview and headline numbers
|
| 393 |
+
dash.draw('ov-h4', pf.cell('coprimary', 'test', 'H4', 'diff', pf.f4));
|
| 394 |
+
dash.draw('ov-h1', pf.cell('coprimary', 'test', 'H1', 'diff', pf.f4));
|
| 395 |
+
dash.draw('ov-epl-model', pf.cell('epl_backtest', 'metric', 'Ranked probability score', 'model', pf.p4));
|
| 396 |
+
dash.draw('ov-epl-base', pf.cell('epl_backtest', 'metric', 'Ranked probability score', 'baseline', pf.p4));
|
| 397 |
+
dash.draw('ov-ig-followers', pf.cell('ig_summary', 'metric', 'followers', 'value', pf.int));
|
| 398 |
+
dash.draw('ov-ig-posts', pf.cell('ig_summary', 'metric', 'posts', 'value', pf.int));
|
| 399 |
+
dash.draw('ov-ig-ratio', pf.cell('ig_summary', 'metric', 'reel_vs_static', 'value', (v) => `${v}x`));
|
| 400 |
+
|
| 401 |
+
const wf = (name, fact, fmt) => dash.draw(name, pf.cell('weather_facts', 'fact', fact, 'value', fmt));
|
| 402 |
+
wf('wf-temp', 'Temperature questions', pf.int); wf('wf-precip', 'Precipitation questions', pf.int);
|
| 403 |
+
wf('wf-primary', 'Primary holdout questions', pf.int); wf('wf-answers', 'LLM answers logged', pf.int);
|
| 404 |
+
wf('wf-spend', 'API spend (USD)', (v) => `$${d3.format('.2f')(v)}`); wf('wf-leak', 'Leak check passed (model/variable pairs)', String);
|
| 405 |
+
|
| 406 |
+
for (const [h, p] of [['H1', 'h1'], ['H4', 'h4']]) {
|
| 407 |
+
dash.draw(p + '-diff', pf.cell('coprimary', 'test', h, 'diff', pf.f4));
|
| 408 |
+
dash.draw(p + '-agent', pf.cell('coprimary', 'test', h, 'agent_brier', pf.p4));
|
| 409 |
+
dash.draw(p + '-ssp', pf.cell('coprimary', 'test', h, 'ssp_brier', pf.p4));
|
| 410 |
+
dash.draw(p + '-p', pf.cell('coprimary', 'test', h, 'p_value', d3.format('.3f')));
|
| 411 |
+
dash.draw(p + '-n', pf.cell('coprimary', 'test', h, 'n', pf.int));
|
| 412 |
+
dash.draw(p + '-ci', (el) => { const r = pf.row('coprimary', 'test', h); el.textContent = r ? `${pf.f4(r.ci_low)} to ${pf.f4(r.ci_high)}` : '—'; });
|
| 413 |
+
dash.draw(p + '-mark', (el) => {
|
| 414 |
+
const r = pf.row('coprimary', 'test', h);
|
| 415 |
+
el.textContent = r ? `${r.verdict}${r.holm_significant ? ', significant after Holm correction' : ''}` : '—';
|
| 416 |
+
el.classList.toggle('good', !!r && r.verdict === 'Agent better');
|
| 417 |
+
el.classList.toggle('bad', !!r && r.verdict === 'Agent worse');
|
| 418 |
+
});
|
| 419 |
+
}
|
| 420 |
+
dash.draw('down-n', pf.cell('pushes', 'direction', 'Pushed down', 'n', pf.int));
|
| 421 |
+
dash.draw('down-wrong', pf.cell('pushes', 'direction', 'Pushed down', 'went_wrong', pf.pct));
|
| 422 |
+
dash.draw('up-wrong', pf.cell('pushes', 'direction', 'Pushed up', 'went_wrong', pf.pct));
|
| 423 |
+
|
| 424 |
+
const ig = (name, metric) => dash.draw(name, pf.cell('ig_summary', 'metric', metric, 'value', pf.int));
|
| 425 |
+
ig('ig-followers', 'followers'); ig('ig-posts', 'posts'); ig('ig-reel', 'reel_reach'); dash.draw('ig-static', pf.cell('ig_summary', 'metric', 'static_reach', 'value', (v) => v.toFixed(1)));
|
| 426 |
+
</script>
|
| 427 |
+
|
| 428 |
+
<script>
|
| 429 |
+
// tables
|
| 430 |
+
dash.draw('systems-table', (tb) => pf.tbody(tb, pf.ok('systems') || [], (r) => {
|
| 431 |
+
const base = r.system === 'SSP baseline';
|
| 432 |
+
return pf.tr(r.id, [r.track, r.system, pf.p4(r.brier), d3.format('.2f')(r.skill), base ? '—' : pf.f4(r.minus_ssp),
|
| 433 |
+
base ? '' : pf.f4(r.ci_low), base ? '' : pf.f4(r.ci_high)], 2, r.pre_registered ? 'primary' : '');
|
| 434 |
+
}));
|
| 435 |
+
dash.draw('modes-table', (tb) => pf.tbody(tb, pf.ok('failure_modes') || [], (r) =>
|
| 436 |
+
pf.tr(encodeURIComponent(r.language), [r.language, pf.pct(r.most_harmed), pf.pct(r.most_helped), pf.pct(r.all)], 1)));
|
| 437 |
+
dash.draw('probe-table', (tb) => pf.tbody(tb, pf.ok('probe') || [], (r) =>
|
| 438 |
+
pf.tr(r.id, [r.track, r.period, pf.int(r.n), pf.p4(r.brier_no_tools), pf.p4(r.brier_climatology)], 2)));
|
| 439 |
+
dash.draw('epl-bt-table', (tb) => pf.tbody(tb, pf.ok('epl_backtest') || [], (r) => {
|
| 440 |
+
const acc = r.metric === 'Accuracy', fmt = acc ? d3.format('.1%') : pf.p4;
|
| 441 |
+
const better = r.lower_is_better ? r.model < r.baseline : r.model > r.baseline;
|
| 442 |
+
return pf.tr(encodeURIComponent(r.metric), [r.metric, fmt(r.model), fmt(r.baseline), better ? 'Model' : 'Baseline'], 1);
|
| 443 |
+
}));
|
| 444 |
+
pf.ct = new Intl.DateTimeFormat('en-US', {timeZone: 'America/Chicago', weekday: 'short', month: 'short', day: 'numeric', hour: 'numeric', minute: '2-digit'});
|
| 445 |
+
dash.draw('epl-picks-table', (tb) => pf.tbody(tb, pf.ok('epl_picks') || [], (r) =>
|
| 446 |
+
pf.tr(r.id, [r.match, pf.ct.format(new Date(r.kickoff_utc)), pf.pct(r.p_home), pf.pct(r.p_draw), pf.pct(r.p_away),
|
| 447 |
+
r.status === 'Final' ? `${r.score} (${r.actual === r.favoured ? 'favourite won' : 'upset'})` : r.status], 2)));
|
| 448 |
+
</script>
|
| 449 |
+
|
| 450 |
+
<script>
|
| 451 |
+
// interval chart used by the weather and station charts: rows of [label, value, lo, hi], grouped
|
| 452 |
+
pf.intervals = (el, groups, opts) => {
|
| 453 |
+
const all = groups.flatMap((g) => g.rows);
|
| 454 |
+
const W = el.clientWidth || 600, labelW = Math.min(opts.labelW || 180, W * 0.42), rowH = 26, headH = 26, axisH = 30;
|
| 455 |
+
const H = groups.length * headH + all.length * rowH + axisH;
|
| 456 |
+
const lo = d3.min(all, (r) => r.lo), hi = d3.max(all, (r) => r.hi), pad = (hi - lo) * 0.06 || 0.002;
|
| 457 |
+
const x = d3.scaleLinear().domain([Math.min(lo - pad, -0.002), Math.max(hi + pad, 0.002)]).range([labelW, W - 12]);
|
| 458 |
+
const svg = d3.create('svg').attr('width', '100%').attr('viewBox', `0 0 ${W} ${H}`).attr('role', 'img').attr('aria-label', opts.aria);
|
| 459 |
+
const tip = pf.tip(el);
|
| 460 |
+
let y = 0;
|
| 461 |
+
for (const g of groups) {
|
| 462 |
+
svg.append('text').attr('x', 0).attr('y', y + 18).attr('class', 'ink').style('font-weight', 600).text(g.title);
|
| 463 |
+
const top = y + headH;
|
| 464 |
+
svg.append('line').attr('x1', x(0)).attr('x2', x(0)).attr('y1', top).attr('y2', top + g.rows.length * rowH)
|
| 465 |
+
.style('stroke', pf.c.ref).style('stroke-dasharray', '3 3');
|
| 466 |
+
g.rows.forEach((r, i) => {
|
| 467 |
+
const cy = top + i * rowH + rowH / 2;
|
| 468 |
+
const sig = r.hi < 0 || r.lo > 0;
|
| 469 |
+
const color = r.primary ? pf.c.accent : (opts.colorBySign && sig ? (r.v < 0 ? pf.c.good : pf.c.bad) : pf.c.muted);
|
| 470 |
+
svg.append('text').attr('x', 0).attr('y', cy + 4).attr('class', r.primary ? 'ink' : null).style('font-weight', r.primary ? 600 : 400).text(r.label);
|
| 471 |
+
const m = svg.append('g').attr('data-source', opts.source).attr('data-field', opts.field).attr('data-where', `${opts.key}=${encodeURIComponent(r.key)}`);
|
| 472 |
+
m.append('line').attr('x1', x(r.lo)).attr('x2', x(r.hi)).attr('y1', cy).attr('y2', cy).style('stroke', color).style('stroke-width', r.primary ? 2 : 1.4);
|
| 473 |
+
m.append('circle').attr('cx', x(r.v)).attr('cy', cy).attr('r', r.primary ? 4.5 : 3.5).style('fill', color);
|
| 474 |
+
m.append('rect').attr('x', labelW).attr('y', cy - rowH / 2).attr('width', W - labelW).attr('height', rowH).style('fill', 'transparent')
|
| 475 |
+
.on('pointermove', (ev) => tip.show(ev, `${g.title} · ${r.label}: ${pf.f4(r.v)} (95% CI ${pf.f4(r.lo)} to ${pf.f4(r.hi)})`))
|
| 476 |
+
.on('pointerleave', () => tip.hide());
|
| 477 |
+
});
|
| 478 |
+
y = top + g.rows.length * rowH;
|
| 479 |
+
}
|
| 480 |
+
pf.axis(svg.append('g').attr('transform', `translate(0,${y + 4})`).call(d3.axisBottom(x).ticks(W < 480 ? 4 : 6).tickFormat(d3.format('+.3f'))));
|
| 481 |
+
pf.put(el, svg);
|
| 482 |
+
};
|
| 483 |
+
|
| 484 |
+
dash.draw('forest', (el) => {
|
| 485 |
+
if (!pf.ready(el, ['systems'])) return;
|
| 486 |
+
const keep = ['Agent, all tools', 'Agent, no discussion', 'Agent, no baseline tool', 'NWS MOS-based', 'Extraction baseline'];
|
| 487 |
+
const data = dash.data('systems').data;
|
| 488 |
+
pf.intervals(el, ['Precipitation', 'Temperature'].map((t) => ({title: t, rows: keep.map((s) => data.find((r) => r.track === t && r.system === s)).filter(Boolean)
|
| 489 |
+
.map((r) => ({key: r.id, label: r.system, v: r.minus_ssp, lo: r.ci_low, hi: r.ci_high, primary: r.pre_registered}))})),
|
| 490 |
+
{source: 'systems', field: 'minus_ssp', key: 'id', aria: 'Brier difference from the baseline for each system'});
|
| 491 |
+
});
|
| 492 |
+
|
| 493 |
+
dash.draw('stations', (el) => {
|
| 494 |
+
if (!pf.ready(el, ['stations'])) return;
|
| 495 |
+
const data = dash.data('stations').data;
|
| 496 |
+
const sids = [...new Set(data.map((r) => r.station))].sort();
|
| 497 |
+
pf.intervals(el, ['Temperature', 'Precipitation'].map((t) => ({title: t, rows: sids.map((s) => data.find((r) => r.track === t && r.station === s)).filter(Boolean)
|
| 498 |
+
.map((r) => ({key: r.id, label: r.station, v: r.diff, lo: r.ci_low, hi: r.ci_high}))})),
|
| 499 |
+
{source: 'stations', field: 'diff', key: 'id', labelW: 60, colorBySign: true, aria: 'Agent minus baseline by station'});
|
| 500 |
+
});
|
| 501 |
+
</script>
|
| 502 |
+
|
| 503 |
+
<script>
|
| 504 |
+
// cost vs quality (log x), harm bars, EPL tuning, Instagram followers and reach
|
| 505 |
+
dash.draw('costq', (el) => {
|
| 506 |
+
if (!pf.ready(el, ['cost_quality'])) return;
|
| 507 |
+
const rows = dash.data('cost_quality').data, tracks = ['Temperature', 'Precipitation'];
|
| 508 |
+
const W = el.clientWidth || 600, side = W >= 560, pw = side ? (W - 32) / 2 : W, ph = 220;
|
| 509 |
+
const H = side ? ph + 24 : 2 * (ph + 24);
|
| 510 |
+
const svg = d3.create('svg').attr('width', '100%').attr('viewBox', `0 0 ${W} ${H}`).attr('role', 'img').attr('aria-label', 'Brier score against cost per 1,000 forecasts');
|
| 511 |
+
const tip = pf.tip(el);
|
| 512 |
+
tracks.forEach((t, k) => {
|
| 513 |
+
const rs = rows.filter((r) => r.track === t); if (!rs.length) return;
|
| 514 |
+
const ox = side ? k * (pw + 32) : 0, oy = side ? 0 : k * (ph + 24), m = {l: 48, r: 12, t: 26, b: 34};
|
| 515 |
+
const ssp = rs[0].ssp_same_questions, vals = rs.map((r) => r.brier).concat(ssp), y0 = d3.min(vals), y1 = d3.max(vals), padY = (y1 - y0) * 0.3 + 0.002;
|
| 516 |
+
const x = d3.scaleLog().domain([1, 150]).range([ox + m.l, ox + pw - m.r]);
|
| 517 |
+
const y = d3.scaleLinear().domain([y0 - padY, y1 + padY]).range([oy + ph - m.b, oy + m.t]);
|
| 518 |
+
svg.append('text').attr('x', ox).attr('y', oy + 14).attr('class', 'ink').style('font-weight', 600).text(t);
|
| 519 |
+
pf.axis(svg.append('g').attr('transform', `translate(0,${oy + ph - m.b})`).call(d3.axisBottom(x).tickValues([1, 10, 100]).tickFormat((v) => `$${v}`)));
|
| 520 |
+
pf.axis(svg.append('g').attr('transform', `translate(${ox + m.l},0)`).call(d3.axisLeft(y).ticks(4).tickFormat(d3.format('.3f'))));
|
| 521 |
+
svg.append('text').attr('x', ox + (pw + m.l) / 2).attr('y', oy + ph - 2).attr('text-anchor', 'middle').text('$ per 1,000 forecasts');
|
| 522 |
+
svg.append('line').attr('x1', x(1)).attr('x2', x(150)).attr('y1', y(ssp)).attr('y2', y(ssp)).style('stroke', pf.c.ref).style('stroke-dasharray', '4 3')
|
| 523 |
+
.attr('data-source', 'cost_quality').attr('data-field', 'ssp_same_questions').attr('data-where', `id=${encodeURIComponent(rs[0].id)}`);
|
| 524 |
+
svg.append('text').attr('x', x(1) + 4).attr('y', y(ssp) + (ssp < d3.min(rs, (r) => r.brier) ? 13 : -5)).text(`Baseline ${pf.p4(ssp)}`);
|
| 525 |
+
[...rs].sort((a, b) => a.usd_per_1000 - b.usd_per_1000).forEach((r, i) => {
|
| 526 |
+
const g = svg.append('g').attr('data-source', 'cost_quality').attr('data-field', 'brier').attr('data-where', `id=${encodeURIComponent(r.id)}`);
|
| 527 |
+
g.append('circle').attr('cx', x(r.usd_per_1000)).attr('cy', y(r.brier)).attr('r', 4.5).style('fill', pf.c.accent);
|
| 528 |
+
g.append('text').attr('x', x(r.usd_per_1000)).attr('y', y(r.brier) + (i % 2 ? -10 : 17)).attr('text-anchor', 'middle').attr('class', 'ink').text(`${r.model} ${pf.p4(r.brier)}`);
|
| 529 |
+
g.append('circle').attr('cx', x(r.usd_per_1000)).attr('cy', y(r.brier)).attr('r', 14).style('fill', 'transparent')
|
| 530 |
+
.on('pointermove', (ev) => tip.show(ev, `${t} · ${r.model}: Brier ${pf.p4(r.brier)}, $${d3.format('.2f')(r.usd_per_1000)} per 1,000`))
|
| 531 |
+
.on('pointerleave', () => tip.hide());
|
| 532 |
+
});
|
| 533 |
+
});
|
| 534 |
+
pf.put(el, svg);
|
| 535 |
+
});
|
| 536 |
+
|
| 537 |
+
pf.hbars = (el, rows, o) => {
|
| 538 |
+
const W = el.clientWidth || 400, labelW = o.labelW || 50, rowH = 22, H = rows.length * rowH + 6;
|
| 539 |
+
const x = d3.scaleLinear().domain([Math.min(0, d3.min(rows, (r) => r.v)), d3.max(rows, (r) => r.v)]).range([labelW, W - 56]);
|
| 540 |
+
const svg = d3.create('svg').attr('width', '100%').attr('viewBox', `0 0 ${W} ${H}`).attr('role', 'img').attr('aria-label', o.aria);
|
| 541 |
+
const tip = pf.tip(el);
|
| 542 |
+
rows.forEach((r, i) => {
|
| 543 |
+
const cy = i * rowH + rowH / 2, x0 = x(Math.min(0, r.v)), x1 = x(Math.max(0, r.v));
|
| 544 |
+
svg.append('text').attr('x', 0).attr('y', cy + 4).attr('class', 'ink').text(r.label);
|
| 545 |
+
const g = svg.append('g').attr('data-source', o.source).attr('data-field', o.field).attr('data-where', `${o.key}=${encodeURIComponent(r.key)}`);
|
| 546 |
+
g.append('rect').attr('x', x0).attr('y', cy - 7).attr('width', Math.max(1, x1 - x0)).attr('height', 14).attr('rx', 2).style('fill', r.color);
|
| 547 |
+
g.append('text').attr('x', x1 + 6).attr('y', cy + 4).text(o.fmt(r.v));
|
| 548 |
+
g.append('rect').attr('x', 0).attr('y', cy - rowH / 2).attr('width', W).attr('height', rowH).style('fill', 'transparent')
|
| 549 |
+
.on('pointermove', (ev) => tip.show(ev, r.tip)).on('pointerleave', () => tip.hide());
|
| 550 |
+
});
|
| 551 |
+
pf.put(el, svg);
|
| 552 |
+
};
|
| 553 |
+
|
| 554 |
+
dash.draw('harm', (el) => {
|
| 555 |
+
if (!pf.ready(el, ['harm_by_station'])) return;
|
| 556 |
+
const rows = [...dash.data('harm_by_station').data].sort((a, b) => b.share_of_harm - a.share_of_harm);
|
| 557 |
+
pf.hbars(el, rows.map((r) => ({key: r.station, label: r.station, v: r.share_of_harm,
|
| 558 |
+
color: r.share_of_harm > 0.3 ? pf.c.bad : pf.c.muted,
|
| 559 |
+
tip: `${r.station}: ${pf.pct(r.share_of_harm)} of the harm (${d3.format('+.2f')(r.total_harm)} Brier over ${r.n} questions)`})),
|
| 560 |
+
{source: 'harm_by_station', field: 'share_of_harm', key: 'station', fmt: pf.pct, aria: 'Share of the harm by station'});
|
| 561 |
+
});
|
| 562 |
+
|
| 563 |
+
dash.draw('ig-kind-chart', (el) => {
|
| 564 |
+
if (!pf.ready(el, ['ig_by_kind'])) return;
|
| 565 |
+
const rows = [...dash.data('ig_by_kind').data].sort((a, b) => b.avg_reach - a.avg_reach);
|
| 566 |
+
pf.hbars(el, rows.map((r) => ({key: r.kind, label: r.kind.replace(/_/g, ' '), v: r.avg_reach,
|
| 567 |
+
color: r.format === 'Reel' ? pf.c.accent : pf.c.muted,
|
| 568 |
+
tip: `${r.kind}: ${d3.format('.0f')(r.avg_reach)} average reach over ${r.posts} posts (${r.saves} saves, ${r.shares} shares)`})),
|
| 569 |
+
{source: 'ig_by_kind', field: 'avg_reach', key: 'kind', labelW: 120, fmt: d3.format('.0f'), aria: 'Average reach by post type'});
|
| 570 |
+
});
|
| 571 |
+
|
| 572 |
+
pf.line = (el, rows, o) => {
|
| 573 |
+
const W = el.clientWidth || 500, H = o.height || 200, m = {l: 44, r: 30, t: 10, b: 26};
|
| 574 |
+
const x = o.x.range([m.l, W - m.r]), y = d3.scaleLinear().domain(o.ydomain).nice().range([H - m.b, m.t]);
|
| 575 |
+
const svg = d3.create('svg').attr('width', '100%').attr('viewBox', `0 0 ${W} ${H}`).attr('role', 'img').attr('aria-label', o.aria);
|
| 576 |
+
y.ticks(4).forEach((t) => svg.append('line').attr('x1', m.l).attr('x2', W - m.r).attr('y1', y(t)).attr('y2', y(t)).style('stroke', pf.c.grid));
|
| 577 |
+
pf.axis(svg.append('g').attr('transform', `translate(0,${H - m.b})`).call(o.xaxis(d3.axisBottom(x))));
|
| 578 |
+
pf.axis(svg.append('g').attr('transform', `translate(${m.l},0)`).call(d3.axisLeft(y).ticks(4).tickFormat(o.yfmt)));
|
| 579 |
+
const g = svg.append('g').attr('data-source', o.source);
|
| 580 |
+
g.append('path').datum(rows).attr('d', d3.line().x((r) => x(o.xv(r))).y((r) => y(o.yv(r)))).style('fill', 'none').style('stroke', pf.c.accent).style('stroke-width', 1.8);
|
| 581 |
+
rows.forEach((r, i) => {
|
| 582 |
+
const hl = o.highlight ? o.highlight(r) : i === rows.length - 1;
|
| 583 |
+
g.append('circle').attr('cx', x(o.xv(r))).attr('cy', y(o.yv(r))).attr('r', hl ? 4 : 2).style('fill', pf.c.accent)
|
| 584 |
+
.attr('data-field', o.field).attr('data-where', `${o.key}=${encodeURIComponent(r[o.key])}`);
|
| 585 |
+
});
|
| 586 |
+
const last = rows.find((r) => (o.highlight ? o.highlight(r) : r === rows[rows.length - 1]));
|
| 587 |
+
if (last) { const lx = x(o.xv(last)), end = lx > W - 140; svg.append('text').attr('x', end ? lx - 8 : lx + 6).attr('y', y(o.yv(last)) - 8).attr('text-anchor', end ? 'end' : 'start').attr('class', 'ink').text(o.label(last)); }
|
| 588 |
+
const tip = pf.tip(el), bis = d3.bisector((r) => x(o.xv(r))).center;
|
| 589 |
+
svg.append('rect').attr('x', m.l).attr('y', m.t).attr('width', W - m.l - m.r).attr('height', H - m.t - m.b).style('fill', 'transparent')
|
| 590 |
+
.on('pointermove', (ev) => { const r = rows[bis(rows, d3.pointer(ev)[0])]; if (r) tip.show(ev, o.tip(r)); }).on('pointerleave', () => tip.hide());
|
| 591 |
+
pf.put(el, svg);
|
| 592 |
+
};
|
| 593 |
+
|
| 594 |
+
dash.draw('ig-followers-chart', (el) => {
|
| 595 |
+
if (!pf.ready(el, ['ig_followers'])) return;
|
| 596 |
+
const rows = dash.data('ig_followers').data, parse = d3.utcParse('%Y-%m-%d'), fmt = d3.utcFormat('%b %-d');
|
| 597 |
+
pf.line(el, rows, {x: d3.scaleUtc().domain(d3.extent(rows, (r) => parse(r.day))), xv: (r) => parse(r.day), yv: (r) => r.followers,
|
| 598 |
+
ydomain: [0, d3.max(rows, (r) => r.followers)], xaxis: (a) => a.ticks((el.clientWidth || 500) < 480 ? 4 : 7).tickFormat(fmt), yfmt: pf.int,
|
| 599 |
+
source: 'ig_followers', field: 'followers', key: 'day', label: (r) => `${pf.int(r.followers)} followers`,
|
| 600 |
+
tip: (r) => `${fmt(parse(r.day))}: ${pf.int(r.followers)} followers, ${r.posts_total} posts`, aria: 'Followers per day'});
|
| 601 |
+
});
|
| 602 |
+
|
| 603 |
+
dash.draw('epl-tuning', (el) => {
|
| 604 |
+
if (!pf.ready(el, ['epl_tuning'])) return;
|
| 605 |
+
const rows = [...dash.data('epl_tuning').data].sort((a, b) => a.xi - b.xi);
|
| 606 |
+
pf.line(el, rows, {x: d3.scaleLinear().domain(d3.extent(rows, (r) => r.xi)), xv: (r) => r.xi, yv: (r) => r.rps,
|
| 607 |
+
ydomain: d3.extent(rows, (r) => r.rps), xaxis: (a) => a.tickValues(rows.map((r) => r.xi)).tickFormat(d3.format('.3f')), yfmt: d3.format('.3f'),
|
| 608 |
+
source: 'epl_tuning', field: 'rps', key: 'xi', highlight: (r) => r.chosen, label: (r) => `chosen: ${pf.p4(r.rps)}`,
|
| 609 |
+
tip: (r) => `time decay ${r.xi}: validation RPS ${pf.p4(r.rps)}${r.chosen ? ' (chosen)' : ''}`, aria: 'Validation RPS by time-decay setting', height: 190});
|
| 610 |
+
});
|
| 611 |
+
</script>
|
| 612 |
+
|
| 613 |
+
<script>dash.load(["coprimary", "systems", "cost_quality", "stations", "harm_by_station", "pushes", "failure_modes", "probe", "epl_backtest", "epl_tuning", "epl_picks", "ig_by_kind", "ig_followers", "weather_facts"]);</script>
|
| 614 |
+
</body>
|
| 615 |
+
</html>
|
shim.js
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Minimal data loader and drawing scheduler for this static page.
|
| 2 |
+
// Loads data/<id>.json ({rows}), evaluates declared calcs, and runs each drawing on load, resize and tab change.
|
| 3 |
+
(function () {
|
| 4 |
+
const store = {}, draws = {}, calcs = {};
|
| 5 |
+
const empty = {status: 'loading', data: [], columns: []};
|
| 6 |
+
window.dash = {
|
| 7 |
+
colors: ['#2563eb', '#0891b2', '#7c3aed', '#ea580c', '#16a34a'],
|
| 8 |
+
data(id) { return store[id] || empty; },
|
| 9 |
+
draw(name, fn) { draws[name] = fn; },
|
| 10 |
+
calc(id, spec) { calcs[id] = spec; },
|
| 11 |
+
setLink(name) { history.replaceState(null, '', '#' + name); },
|
| 12 |
+
redraw() {
|
| 13 |
+
for (const [name, fn] of Object.entries(draws)) {
|
| 14 |
+
document.querySelectorAll(`[data-draw="${name}"]`).forEach((el) => {
|
| 15 |
+
if (el.closest('[hidden]')) return; // drawn when its tab is shown
|
| 16 |
+
try { fn(el); } catch (e) { console.error(name, e); }
|
| 17 |
+
});
|
| 18 |
+
}
|
| 19 |
+
},
|
| 20 |
+
async load(ids) {
|
| 21 |
+
await Promise.all(ids.map(async (id) => {
|
| 22 |
+
try {
|
| 23 |
+
const r = await fetch(`data/${id}.json`);
|
| 24 |
+
if (!r.ok) throw new Error(r.status);
|
| 25 |
+
const rows = (await r.json()).rows;
|
| 26 |
+
store[id] = {status: 'ok', data: rows, columns: rows.length ? Object.keys(rows[0]) : []};
|
| 27 |
+
} catch (e) { store[id] = {status: 'error', data: [], message: String(e)}; }
|
| 28 |
+
}));
|
| 29 |
+
for (const [id, spec] of Object.entries(calcs)) {
|
| 30 |
+
const inputs = spec.inputs.map((i) => store[i] || empty);
|
| 31 |
+
store[id] = inputs.every((d) => d.status === 'ok')
|
| 32 |
+
? {status: 'ok', data: spec.fn(...inputs.map((d) => d.data))} : {status: 'error', data: null};
|
| 33 |
+
}
|
| 34 |
+
window.dash.redraw();
|
| 35 |
+
window.scrollTo(0, 0); // tabs share their names with sections: don't jump past the header
|
| 36 |
+
},
|
| 37 |
+
};
|
| 38 |
+
let t;
|
| 39 |
+
window.addEventListener('resize', () => { clearTimeout(t); t = setTimeout(() => window.dash.redraw(), 150); });
|
| 40 |
+
})();
|