Datasets:
Create SCHEMA.md
Browse files
SCHEMA.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CarbonOps Dataset Schema
|
| 2 |
+
|
| 3 |
+
## 1) grid-intensity/
|
| 4 |
+
CSV/Parquet with columns:
|
| 5 |
+
- `timestamp` (UTC, ISO8601)
|
| 6 |
+
- `region` (string, snake_case)
|
| 7 |
+
- `intensity_gco2_per_kwh` (float, >=0)
|
| 8 |
+
- `source` (enum: `uk_national_grid`, `entsoe`, `custom_csv`)
|
| 9 |
+
- `source_url` (string, optional)
|
| 10 |
+
- `updated_at` (UTC)
|
| 11 |
+
|
| 12 |
+
Constraints:
|
| 13 |
+
- `timestamp` monotonically increasing within region
|
| 14 |
+
- one row per 30 min (GB) or configured resolution
|
| 15 |
+
- missing data → `NaN`, never `-1`
|
| 16 |
+
|
| 17 |
+
## 2) ci-samples/
|
| 18 |
+
- `job_id` (string), `repo` (string), `duration_s` (float), `artifact_mb` (float), `runner_type` (enum), `timestamp_start` (UTC).
|