Card: a GIF of a v3 replay first, then the results and the quick start; figures in the Hub's light and dark themes
Browse filesBuilt from agentenv-gridsim-plugin main 1a615c5 (scripts/hub_dataset.py --card-only, scripts/hub_results.py, scripts/hub_hero.py).
- README.md +26 -15
- assets/figures/before-after-dark.png +3 -0
- assets/figures/before-after.png +2 -2
- assets/figures/frontier-dark.png +3 -0
- assets/figures/frontier.png +2 -2
- assets/figures/ladder-dark.png +3 -0
- assets/figures/ladder.png +2 -2
- assets/figures/planning-dark.png +3 -0
- assets/figures/planning.png +2 -2
- assets/figures/regimes-dark.png +3 -0
- assets/figures/regimes.png +2 -2
- assets/figures/training-dark.png +3 -0
- assets/figures/training.png +2 -2
- assets/gridsim-hero.gif +3 -0
README.md
CHANGED
|
@@ -203,7 +203,13 @@ configs:
|
|
| 203 |
|
| 204 |
<div align="center">
|
| 205 |
|
| 206 |
-
<a href="https://earakely-scale-gridsimenv-agentenv.static.hf.space/index.html?episode=runs/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 207 |
|
| 208 |
<h1>GridSimEnv v1: The Battery Desk</h1>
|
| 209 |
|
|
@@ -217,14 +223,6 @@ configs:
|
|
| 217 |
|
| 218 |
</div>
|
| 219 |
|
| 220 |
-
An [AgentEnv](https://www.agentenvframework.com) environment built from ERCOT's public day-ahead market prices and
|
| 221 |
-
EIA-860 battery records, with 21,250 battery-days, a public train split and no judge: every schedule is scored against
|
| 222 |
-
a dynamic program that finds the best possible day. This dataset holds the battery-days and their references, the
|
| 223 |
-
leaderboard and every schedule behind it, and the recorded runs: the Dataset Viewer opens on the leaderboard, and the
|
| 224 |
-
subset menu has the rest ([What's inside](#whats-inside)). **[Read the
|
| 225 |
-
article](https://huggingface.co/spaces/earakely-scale/GridSimEnv)** for the environment, the models, the training and
|
| 226 |
-
the dollars, with every figure interactive.
|
| 227 |
-
|
| 228 |
---
|
| 229 |
|
| 230 |
## At a glance
|
|
@@ -239,7 +237,8 @@ A 4-billion-parameter open model, **Qwen3-4B**, trained on this environment's ex
|
|
| 239 |
|
| 240 |
**Training took Qwen3-4B from below idle to level with GPT-6 Luna**
|
| 241 |
|
| 242 |
-
|
|
|
|
| 243 |
|
| 244 |
<small>Figure 1 · The same one-call prompt for every model. Top: the share of the hindsight optimum each schedule captures (idle 0.2, perfect hindsight 1.0). Bottom: what the schedules earn at ERCOT's day-ahead prices. GPT-6.1 Sol stays ahead on every row. Lines: 95% CIs. Not drawn: foresight on the newest days, where the untrained 4B was not run. There GPT-6 Luna is ahead of the trained 4B, 0.958 against 0.855, paired −0.102 [−0.123, −0.083]. Sources: [results/train/4b-blind](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/train/4b-blind), [results/train/4b-dpa](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/train/4b-dpa), [results/cost-matched](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/cost-matched) and [results/economics](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/economics).</small>
|
| 245 |
<!-- /glance -->
|
|
@@ -367,6 +366,13 @@ bundle published with a dataset. This dataset publishes none yet, so play the pa
|
|
| 367 |
|
| 368 |
## What's inside
|
| 369 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 370 |
| Config | What it holds |
|
| 371 |
|---|---|
|
| 372 |
| **`leaderboard`**<br>the default<br>32 rows | Every model, reasoning effort and no-LLM baseline on the four evaluation packs: the score with its 95% CI, $ per battery-day, open or API weights, and whether it is on the cost frontier. Split `v1`. *Use it to compare models, or to plot score against cost.* |
|
|
@@ -519,7 +525,8 @@ Every model plays the same one-call harness: the battery and the day's prices in
|
|
| 519 |
|
| 520 |
**The trained 4B is on the frontier: GPT-6 Luna's score at a quarter of its cost**
|
| 521 |
|
| 522 |
-
|
|
|
|
| 523 |
|
| 524 |
<small>Figure 2 · Bidding blind on the 331 newest battery-days, 18–27 October 2026. Each point is one model at one reasoning effort; lines are day-block 95% CIs. Dashed: the frontier, the best capture any model reaches at that cost or less. Sources: [results/cost-matched](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/cost-matched), [results/beam-agent](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/beam-agent) and [results/train/4b-blind](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/train/4b-blind).</small>
|
| 525 |
|
|
@@ -615,7 +622,8 @@ Qwen3-4B (thinking off, LoRA adapters, one GPU at a time) trains on battery-days
|
|
| 615 |
|
| 616 |
**GRPO stalled on SFT-10k; exact DP advantages lifted held-out reward**
|
| 617 |
|
| 618 |
-
|
|
|
|
| 619 |
|
| 620 |
<small>Figure 3 · Foresight tier: held-out reward R on the same 200 battery-days of 2025, sampled at temperature 0.7. Run 3's band is the 95% CI at each checkpoint; runs 1 and 2 were scored on all 200 days at their start and end only. Labels: the registered paired change, end minus start. Sources: [results/train/4b](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/train/4b), [results/train/4b-v2](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/train/4b-v2) and [results/train/4b-dpa](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/train/4b-dpa).</small>
|
| 621 |
|
|
@@ -625,7 +633,8 @@ Run 4's written forecasts miss by 9.79 $/MWh over all hours, against its teacher
|
|
| 625 |
|
| 626 |
**Bidding blind, the 4B forecasts like its teacher and loses its score in planning**
|
| 627 |
|
| 628 |
-
|
|
|
|
| 629 |
|
| 630 |
<small>Figure 4 · Run 4 writes a 24-hour price forecast, then its schedule. Planned by the exact DP, its own forecasts would capture as much as GPT-6.1 Sol; its own schedules capture less. Dots: capture; lines: day-block 95% CIs. Sources: [results/train/4b-blind](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/train/4b-blind).</small>
|
| 631 |
|
|
@@ -772,7 +781,8 @@ Every recorded blind schedule settled again at ERCOT's day-ahead prices, its pro
|
|
| 772 |
|
| 773 |
**Training bought $41.2k per MW-year; the 4B still trails a free heuristic by $3.4k**
|
| 774 |
|
| 775 |
-
|
|
|
|
| 776 |
|
| 777 |
<small>Figure 5 · Every recorded blind schedule of 2025 settled again at ERCOT's day-ahead prices (300 battery-days on 191 days), its profit per MW of battery power × 365. Lines: day-block 95% CIs. Day-ahead energy arbitrage only. Sources: [results/economics](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/economics), a descriptive re-analysis.</small>
|
| 778 |
|
|
@@ -794,7 +804,8 @@ Split 2025's 191 days into quartiles by how far the day's 24 hourly prices move
|
|
| 794 |
|
| 795 |
**Sol's edge over the heuristic is on the days when the price shape changes**
|
| 796 |
|
| 797 |
-
|
|
|
|
| 798 |
|
| 799 |
<small>Figure 6 · Blind, 2025: the 191 days split into quartiles by how far the day's 24 hourly prices move from the day before's shape (1 − Pearson r). Grey: what persistence-DP left below the hindsight optimum. Points: each model minus persistence-DP in $ per MW of battery power per day, with day-block 95% CIs. Sources: [results/economics](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/economics), a descriptive re-analysis.</small>
|
| 800 |
|
|
|
|
| 203 |
|
| 204 |
<div align="center">
|
| 205 |
|
| 206 |
+
<a href="https://earakely-scale-gridsimenv-agentenv.static.hf.space/index.html?episode=runs/hyb-v3-2023-08-10-HB_NORTH-pv150-b100x2h-poi150-0xqk8eef.json"><img src="assets/gridsim-hero.gif" alt="GPT-6.1 Sol's v3 run at ERCOT's North hub on 10 August 2023, replayed in 3D: charging from the panels at 8 am, the $3,548/MWh real-time price at 4 pm, 100 MW of reserves discharged at 7 pm, the yard at night and the race against the references" width="100%"></a>
|
| 207 |
+
|
| 208 |
+
<small>GridSimEnv v3 preview, replayed in 3D: GPT-6.1 Sol runs a 150 MW solar farm with a 100 MW / 200 MWh battery at
|
| 209 |
+
ERCOT's North hub on 10 August 2023, a heat wave whose real-time price reached $3,548/MWh, and earns $1.60M against the
|
| 210 |
+
rolling anchor's $1.55M (R 1.00; hindsight capture C 0.282, the anchor's 0.262).
|
| 211 |
+
[Open the replay](https://earakely-scale-gridsimenv-agentenv.static.hf.space/index.html?episode=runs/hyb-v3-2023-08-10-HB_NORTH-pv150-b100x2h-poi150-0xqk8eef.json).
|
| 212 |
+
ERCOT prices and deployments, NWS bulletins and IEM weather, all public; not affiliated with or endorsed by ERCOT.</small>
|
| 213 |
|
| 214 |
<h1>GridSimEnv v1: The Battery Desk</h1>
|
| 215 |
|
|
|
|
| 223 |
|
| 224 |
</div>
|
| 225 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 226 |
---
|
| 227 |
|
| 228 |
## At a glance
|
|
|
|
| 237 |
|
| 238 |
**Training took Qwen3-4B from below idle to level with GPT-6 Luna**
|
| 239 |
|
| 240 |
+
<img class="dark:hidden" src="assets/figures/before-after.png" alt="Before and after training. Blind capture on the 331 newest battery-days: untrained Qwen3-4B 0.171, trained 0.841, GPT-6 Luna 0.836, GPT-6.1 Sol 0.913, persistence-DP 0.871. Blind 2025: 0.164 to 0.828. Foresight 2025: 0.06 to 0.885. In dollars per MW-year on 2025: −$14.1k to $27.1k, against persistence-DP's $30.5k and Sol's $32.1k.">
|
| 241 |
+
<img class="hidden dark:block" src="assets/figures/before-after-dark.png" alt="Before and after training. Blind capture on the 331 newest battery-days: untrained Qwen3-4B 0.171, trained 0.841, GPT-6 Luna 0.836, GPT-6.1 Sol 0.913, persistence-DP 0.871. Blind 2025: 0.164 to 0.828. Foresight 2025: 0.06 to 0.885. In dollars per MW-year on 2025: −$14.1k to $27.1k, against persistence-DP's $30.5k and Sol's $32.1k.">
|
| 242 |
|
| 243 |
<small>Figure 1 · The same one-call prompt for every model. Top: the share of the hindsight optimum each schedule captures (idle 0.2, perfect hindsight 1.0). Bottom: what the schedules earn at ERCOT's day-ahead prices. GPT-6.1 Sol stays ahead on every row. Lines: 95% CIs. Not drawn: foresight on the newest days, where the untrained 4B was not run. There GPT-6 Luna is ahead of the trained 4B, 0.958 against 0.855, paired −0.102 [−0.123, −0.083]. Sources: [results/train/4b-blind](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/train/4b-blind), [results/train/4b-dpa](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/train/4b-dpa), [results/cost-matched](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/cost-matched) and [results/economics](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/economics).</small>
|
| 244 |
<!-- /glance -->
|
|
|
|
| 366 |
|
| 367 |
## What's inside
|
| 368 |
|
| 369 |
+
An [AgentEnv](https://www.agentenvframework.com) environment built from ERCOT's public day-ahead market prices and
|
| 370 |
+
EIA-860 battery records, with 21,250 battery-days, a public train split and no judge: every schedule is scored against
|
| 371 |
+
a dynamic program that finds the best possible day. This dataset holds the battery-days and their references, the
|
| 372 |
+
leaderboard and every schedule behind it, and the recorded runs: the Dataset Viewer opens on the leaderboard, and the
|
| 373 |
+
subset menu has the rest. **[Read the article](https://huggingface.co/spaces/earakely-scale/GridSimEnv)** for the
|
| 374 |
+
environment, the models, the training and the dollars, with every figure interactive.
|
| 375 |
+
|
| 376 |
| Config | What it holds |
|
| 377 |
|---|---|
|
| 378 |
| **`leaderboard`**<br>the default<br>32 rows | Every model, reasoning effort and no-LLM baseline on the four evaluation packs: the score with its 95% CI, $ per battery-day, open or API weights, and whether it is on the cost frontier. Split `v1`. *Use it to compare models, or to plot score against cost.* |
|
|
|
|
| 525 |
|
| 526 |
**The trained 4B is on the frontier: GPT-6 Luna's score at a quarter of its cost**
|
| 527 |
|
| 528 |
+
<img class="dark:hidden" src="assets/figures/frontier.png" alt="Capture against cost per battery-day on a log scale, blind, the 331 newest battery-days. The frontier runs through the untrained 4B (0.171 at $0.00033), the trained 4B (0.841 at $0.00047) and GPT-6.1 Sol (0.913 at $0.0158). GPT-6 Luna at low, medium and high effort and Beam-1.0 at four efforts lie below it. Persistence-DP and a forecaster with the exact DP, which use no LLM, are drawn as lines at 0.871 and 0.920.">
|
| 529 |
+
<img class="hidden dark:block" src="assets/figures/frontier-dark.png" alt="Capture against cost per battery-day on a log scale, blind, the 331 newest battery-days. The frontier runs through the untrained 4B (0.171 at $0.00033), the trained 4B (0.841 at $0.00047) and GPT-6.1 Sol (0.913 at $0.0158). GPT-6 Luna at low, medium and high effort and Beam-1.0 at four efforts lie below it. Persistence-DP and a forecaster with the exact DP, which use no LLM, are drawn as lines at 0.871 and 0.920.">
|
| 530 |
|
| 531 |
<small>Figure 2 · Bidding blind on the 331 newest battery-days, 18–27 October 2026. Each point is one model at one reasoning effort; lines are day-block 95% CIs. Dashed: the frontier, the best capture any model reaches at that cost or less. Sources: [results/cost-matched](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/cost-matched), [results/beam-agent](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/beam-agent) and [results/train/4b-blind](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/train/4b-blind).</small>
|
| 532 |
|
|
|
|
| 622 |
|
| 623 |
**GRPO stalled on SFT-10k; exact DP advantages lifted held-out reward**
|
| 624 |
|
| 625 |
+
<img class="dark:hidden" src="assets/figures/training.png" alt="Held-out reward against training step on 200 foresight days of 2025: run 3 with exact DP advantages from 0.844 to 0.885; run 2, GRPO from the same warm start, from 0.841 to 0.825; run 1, GRPO from a weaker warm start, from 0.666 to 0.804. Reference lines: GPT-6.1 Sol 1.000, GPT-6 Luna 0.913, the greedy rule 0.764.">
|
| 626 |
+
<img class="hidden dark:block" src="assets/figures/training-dark.png" alt="Held-out reward against training step on 200 foresight days of 2025: run 3 with exact DP advantages from 0.844 to 0.885; run 2, GRPO from the same warm start, from 0.841 to 0.825; run 1, GRPO from a weaker warm start, from 0.666 to 0.804. Reference lines: GPT-6.1 Sol 1.000, GPT-6 Luna 0.913, the greedy rule 0.764.">
|
| 627 |
|
| 628 |
<small>Figure 3 · Foresight tier: held-out reward R on the same 200 battery-days of 2025, sampled at temperature 0.7. Run 3's band is the 95% CI at each checkpoint; runs 1 and 2 were scored on all 200 days at their start and end only. Labels: the registered paired change, end minus start. Sources: [results/train/4b](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/train/4b), [results/train/4b-v2](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/train/4b-v2) and [results/train/4b-dpa](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/train/4b-dpa).</small>
|
| 629 |
|
|
|
|
| 633 |
|
| 634 |
**Bidding blind, the 4B forecasts like its teacher and loses its score in planning**
|
| 635 |
|
| 636 |
+
<img class="dark:hidden" src="assets/figures/planning.png" alt="Run 4 on blind 2025: after SFT 0.822, after RL 0.828, the exact DP on its own written forecast 0.907, the teacher's forecast with the DP 0.912, GPT-6.1 Sol 0.903; on the newest days 0.818, 0.841, 0.911, 0.920 and 0.913.">
|
| 637 |
+
<img class="hidden dark:block" src="assets/figures/planning-dark.png" alt="Run 4 on blind 2025: after SFT 0.822, after RL 0.828, the exact DP on its own written forecast 0.907, the teacher's forecast with the DP 0.912, GPT-6.1 Sol 0.903; on the newest days 0.818, 0.841, 0.911, 0.920 and 0.913.">
|
| 638 |
|
| 639 |
<small>Figure 4 · Run 4 writes a 24-hour price forecast, then its schedule. Planned by the exact DP, its own forecasts would capture as much as GPT-6.1 Sol; its own schedules capture less. Dots: capture; lines: day-block 95% CIs. Sources: [results/train/4b-blind](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/train/4b-blind).</small>
|
| 640 |
|
|
|
|
| 781 |
|
| 782 |
**Training bought $41.2k per MW-year; the 4B still trails a free heuristic by $3.4k**
|
| 783 |
|
| 784 |
+
<img class="dark:hidden" src="assets/figures/ladder.png" alt="Dollars per MW of battery power per year on blind 2025: GPT-6.1 Sol $32.1k; persistence-DP $30.5k; GPT-6 Luna (high) $28.7k; trained Qwen3-4B $27.1k; ridge-DP $26.3k; greedy rule on yesterday's prices $21.8k; GPT-6 Luna (low) $20.2k; threshold rule on yesterday's prices $16.2k; idle −$7.8k; untrained Qwen3-4B −$14.1k; the hindsight optimum $37.0k.">
|
| 785 |
+
<img class="hidden dark:block" src="assets/figures/ladder-dark.png" alt="Dollars per MW of battery power per year on blind 2025: GPT-6.1 Sol $32.1k; persistence-DP $30.5k; GPT-6 Luna (high) $28.7k; trained Qwen3-4B $27.1k; ridge-DP $26.3k; greedy rule on yesterday's prices $21.8k; GPT-6 Luna (low) $20.2k; threshold rule on yesterday's prices $16.2k; idle −$7.8k; untrained Qwen3-4B −$14.1k; the hindsight optimum $37.0k.">
|
| 786 |
|
| 787 |
<small>Figure 5 · Every recorded blind schedule of 2025 settled again at ERCOT's day-ahead prices (300 battery-days on 191 days), its profit per MW of battery power × 365. Lines: day-block 95% CIs. Day-ahead energy arbitrage only. Sources: [results/economics](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/economics), a descriptive re-analysis.</small>
|
| 788 |
|
|
|
|
| 804 |
|
| 805 |
**Sol's edge over the heuristic is on the days when the price shape changes**
|
| 806 |
|
| 807 |
+
<img class="dark:hidden" src="assets/figures/regimes.png" alt="Gain over persistence-DP in $ per MW-day by quartile of how much the day's price shape changes, blind 2025. Q1: Sol +0.2, Luna −9.5, trained 4B −13.0, room 3.7; Q2: Sol +0.9, Luna −10.4, trained 4B −22.6, room 10.5; Q3: Sol +3.7, Luna −3.1, trained 4B −1.4, room 16.7; Q4: Sol +12.7, Luna +3.4, trained 4B +0.0, room 41.6.">
|
| 808 |
+
<img class="hidden dark:block" src="assets/figures/regimes-dark.png" alt="Gain over persistence-DP in $ per MW-day by quartile of how much the day's price shape changes, blind 2025. Q1: Sol +0.2, Luna −9.5, trained 4B −13.0, room 3.7; Q2: Sol +0.9, Luna −10.4, trained 4B −22.6, room 10.5; Q3: Sol +3.7, Luna −3.1, trained 4B −1.4, room 16.7; Q4: Sol +12.7, Luna +3.4, trained 4B +0.0, room 41.6.">
|
| 809 |
|
| 810 |
<small>Figure 6 · Blind, 2025: the 191 days split into quartiles by how far the day's 24 hourly prices move from the day before's shape (1 − Pearson r). Grey: what persistence-DP left below the hindsight optimum. Points: each model minus persistence-DP in $ per MW of battery power per day, with day-block 95% CIs. Sources: [results/economics](https://huggingface.co/datasets/earakely-scale/GridSimEnv-AgentEnv/tree/main/results/economics), a descriptive re-analysis.</small>
|
| 811 |
|
assets/figures/before-after-dark.png
ADDED
|
Git LFS Details
|
assets/figures/before-after.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
assets/figures/frontier-dark.png
ADDED
|
Git LFS Details
|
assets/figures/frontier.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
assets/figures/ladder-dark.png
ADDED
|
Git LFS Details
|
assets/figures/ladder.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
assets/figures/planning-dark.png
ADDED
|
Git LFS Details
|
assets/figures/planning.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
assets/figures/regimes-dark.png
ADDED
|
Git LFS Details
|
assets/figures/regimes.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
assets/figures/training-dark.png
ADDED
|
Git LFS Details
|
assets/figures/training.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
assets/gridsim-hero.gif
ADDED
|
Git LFS Details
|