ingvar commited on
Commit
95347bd
·
verified ·
1 Parent(s): 7d6c28b

Restore: 111 Ukraine markets × 672 cutoffs × 4 conditions × 7 horizons

Browse files
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ data/unlp-ukraine-D_UA-train.jsonl filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ tags:
6
+ - prediction-markets
7
+ - forecasting
8
+ - polymarket
9
+ - ukraine
10
+ - unlp
11
+ size_categories:
12
+ - 1K<n<10K
13
+ ---
14
+
15
+ # UNLP Ukraine Forecasting Dataset
16
+
17
+ Prediction market forecasting dataset for **111 resolved Ukraine-related Polymarket markets** with **672 frozen cutoff points** and **7 fixed prediction horizons** (6h, 12h, 1d, 2d, 3d, 5d, 7d).
18
+
19
+ Built by walking the exact same code path as the UNLP 2026 evaluation harness (`eval/harness.py:build_prompt()`), but emitting dataset rows instead of making LLM API calls. Every prompt, context block, and ground-truth label is identical to what the eval pipeline produces.
20
+
21
+ ## Conditions
22
+
23
+ Each cutoff is rendered under 4 information conditions:
24
+
25
+ | Condition | Context provided |
26
+ |---|---|
27
+ | **A** | Price summary only (blind baseline) |
28
+ | **C** | A + news context (48h/7d/30d article windows) |
29
+ | **D** | A + chart + news + cross-market context + comments |
30
+ | **D_UA** | D + Ukrainian sources (Telegram bloggers, casualties, Militarnyi) |
31
+
32
+ ## Schema
33
+
34
+ Each JSONL row contains:
35
+
36
+ **Identity:** `market_id`, `question`, `event_slug`, `cutoff_timestamp`, `hours_remaining`, `condition`, `split`
37
+
38
+ **Prompt (model sees):** `prompt` (full rendered V4 prompt, same as the harness sends to LLMs), `has_chart`, `has_war_map`
39
+
40
+ **Ground truth:** `current_price`, `labels` (dict mapping horizon labels to actual prices: `{"6h": 0.35, ..., "7d": 0.42}`), `outcome` (binary), `end_date`
41
+
42
+ **Baselines:** `baseline_nochange` (predict current price unchanged), `baseline_momentum` (7-day linear regression extrapolated)
43
+
44
+ **Volume:** `volume_at_cutoff_24h` (USD notional in 24h before cutoff)
45
+
46
+ ## Horizons
47
+
48
+ Fixed 7 prediction horizons from each cutoff:
49
+
50
+ | Label | Hours forward |
51
+ |---|---|
52
+ | 6h | 6 |
53
+ | 12h | 12 |
54
+ | 1d | 24 |
55
+ | 2d | 48 |
56
+ | 3d | 72 |
57
+ | 5d | 120 |
58
+ | 7d | 168 |
59
+
60
+ Ground truth is the actual market price at each horizon timestamp (6-hour tolerance for nearest available price point).
61
+
62
+ ## Scoring
63
+
64
+ **MAE** (Mean Absolute Error): `|predicted_price - actual_price|` at each horizon. Compare against:
65
+ - No-change baseline: `predicted = current_price`
66
+ - Momentum baseline: 7-day linear regression extrapolated forward
67
+
68
+ ## Stats
69
+
70
+ - **111 markets**, 672 cutoffs, 4 conditions = **2,688 total examples**
71
+ - **Train/test split:** 89/22 markets (temporal by resolution date)
72
+ - **All 7 horizons have labels** for every example (7.0/7 avg)
73
+ - **99% of examples** have 24h volume > 0
74
+
75
+ ## Source
76
+
77
+ From the [OpenBabylon/signal](https://github.com/OpenBabylon/signal) repo. Built using `eval/build_unlp_dataset.py` which calls the same `build_prompt()` and `compute_labels()` as the evaluation harness.
data/unlp-ukraine-A-test.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/unlp-ukraine-A-train.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/unlp-ukraine-C-test.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/unlp-ukraine-C-train.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/unlp-ukraine-D-test.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/unlp-ukraine-D-train.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/unlp-ukraine-D_UA-test.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/unlp-ukraine-D_UA-train.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de790e57e70999942cb21e0c318df3d378686dd311f50ae4f53fb7f801135127
3
+ size 10904603
metadata.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "created_at": "2026-04-10T23:04:19.858257+00:00",
3
+ "benchmark": "ukraine",
4
+ "source": "eval/benchmarks/ukraine.yaml",
5
+ "pipeline": "eval/harness.py build_prompt() \u2014 same code path as the UNLP eval",
6
+ "prompt_version": "v4",
7
+ "horizons": {
8
+ "6h": "6h",
9
+ "12h": "12h",
10
+ "1d": "24h",
11
+ "2d": "48h",
12
+ "3d": "72h",
13
+ "5d": "120h",
14
+ "7d": "168h"
15
+ },
16
+ "conditions_built": [
17
+ "A",
18
+ "C",
19
+ "D",
20
+ "D_UA"
21
+ ],
22
+ "train_fraction": 0.8,
23
+ "total_examples": 2688,
24
+ "markets": 111,
25
+ "cutoffs": 672,
26
+ "scoring": "MAE: |predicted_price - actual_price| at each horizon",
27
+ "baselines": {
28
+ "nochange": "predicted = current_price (no change)",
29
+ "momentum": "7-day linear regression extrapolated forward"
30
+ }
31
+ }