mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-25 17:14:57 +02:00
* feat(energy): golden-fixture upstream format tests for 6 seeders (V6-4) Add static fixture files (CSV/JSON) and golden-fixture test blocks to catch parser regressions when upstream data formats change. Covers: OWID energy mix, JODI oil, JODI gas, IEA oil stocks, PortWatch ArcGIS, and Ember monthly electricity. Also exports buildHistory from seed-portwatch.mjs for testability. * fix(tests): pin portwatch fixture lookup by date; remove duplicate fixture test files
435 B
435 B
| 1 | ISO 3 code | Date | Variable | Unit | Value | Category |
|---|---|---|---|---|---|---|
| 2 | USA | 2024-01-01 | Fossil | TWh | 400 | |
| 3 | USA | 2024-01-01 | Renewables | TWh | 300 | |
| 4 | USA | 2024-01-01 | Nuclear | TWh | 100 | |
| 5 | USA | 2024-01-01 | Coal | TWh | 200 | |
| 6 | USA | 2024-01-01 | Gas | TWh | 200 | |
| 7 | USA | 2024-01-01 | Total Generation | TWh | 800 | |
| 8 | DEU | 2024-01-01 | Fossil | TWh | 200 | |
| 9 | DEU | 2024-01-01 | Renewables | TWh | 500 | |
| 10 | DEU | 2024-01-01 | Nuclear | TWh | 0 | |
| 11 | DEU | 2024-01-01 | Coal | TWh | 100 | |
| 12 | DEU | 2024-01-01 | Gas | TWh | 100 | |
| 13 | DEU | 2024-01-01 | Total Generation | TWh | 700 |