matt west commited on
Commit
f10acd8
·
verified ·
1 Parent(s): c1f11d3

Final revisions: 2 stat boxes, updated title August WASDE Study — 1min microstructure and fundamentals, sharp 90-degree rectangle corners

Browse files
Files changed (2) hide show
  1. README.md +2 -2
  2. index.html +44 -49
README.md CHANGED
@@ -1,10 +1,10 @@
1
  ---
2
- title: WASDE Study - Microstructure Report & Figures
3
  sdk: static
4
  pinned: false
5
  license: mit
6
  ---
7
 
8
- # WASDE Study — Microstructure Event Study & Empirical Atlas
9
 
10
  Interactive Hugging Face Space displaying research findings, hypotheses scorecard, dataset inventory, and publication figures for the 1-minute CME Corn Futures WASDE microstructure event study (2015–2025).
 
1
  ---
2
+ title: August WASDE Study — 1min microstructure and fundamentals
3
  sdk: static
4
  pinned: false
5
  license: mit
6
  ---
7
 
8
+ # August WASDE Study — 1min microstructure and fundamentals
9
 
10
  Interactive Hugging Face Space displaying research findings, hypotheses scorecard, dataset inventory, and publication figures for the 1-minute CME Corn Futures WASDE microstructure event study (2015–2025).
index.html CHANGED
@@ -3,13 +3,13 @@
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>WASDE Study — Microstructure Event Study</title>
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <link rel="preconnect" href="https://fonts.googleapis.com">
9
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@700;800&display=swap" rel="stylesheet">
11
  <style>
12
- /* Canva Brand Kit Rules */
13
  :root {
14
  --bg-ivory: #FFFFF0;
15
  --text-onyx: #0F0F0F;
@@ -17,6 +17,9 @@
17
  --golden-orange: #F39C12;
18
  --sage-green: #87A96B;
19
  }
 
 
 
20
  body {
21
  background-color: var(--bg-ivory);
22
  color: var(--text-onyx);
@@ -70,15 +73,15 @@
70
  <div class="max-w-7xl mx-auto px-6 py-5 flex flex-col md:flex-row md:items-center md:justify-between gap-4">
71
  <div>
72
  <h1 class="text-2xl md:text-3xl font-header tracking-tight">
73
- WASDE STUDY
74
  </h1>
75
  <p class="text-xs md:text-sm text-slate-600 font-medium mt-0.5">
76
  1-Minute CME Corn Futures Microstructure around USDA WASDE Releases (2015–2025)
77
  </p>
78
  </div>
79
  <div class="flex items-center gap-2 text-xs font-semibold">
80
- <span class="bg-blue-slate text-white px-3 py-1 rounded-md">Private Dataset</span>
81
- <span class="bg-sage-green text-white px-3 py-1 rounded-md">53 Events Panel</span>
82
  </div>
83
  </div>
84
  </header>
@@ -86,28 +89,20 @@
86
  <!-- Main Container -->
87
  <main class="max-w-7xl mx-auto px-6 py-8 flex-1 w-full">
88
 
89
- <!-- Stat Callout Cards (60-30-10 Rule) -->
90
- <div class="grid grid-cols-2 md:grid-cols-4 gap-5 mb-8">
91
- <div class="bg-white p-5 rounded-xl border border-blue-slate shadow-sm">
92
  <div class="text-2xl md:text-3xl font-header text-onyx">1,256,807</div>
93
  <div class="text-xs font-semibold text-blue-slate uppercase tracking-wider mt-1">1-Min CME Futures Bars</div>
94
  </div>
95
- <div class="bg-white p-5 rounded-xl border border-blue-slate shadow-sm">
96
  <div class="text-2xl md:text-3xl font-header text-onyx">43 Releases</div>
97
  <div class="text-xs font-semibold text-blue-slate uppercase tracking-wider mt-1">2015–2025 Event Panel</div>
98
  </div>
99
- <div class="bg-white p-5 rounded-xl border border-blue-slate shadow-sm border-l-4 border-l-golden-orange">
100
- <div class="text-2xl md:text-3xl font-header text-onyx">85.8%</div>
101
- <div class="text-xs font-semibold text-golden-orange uppercase tracking-wider mt-1">Pre-Event Book Depth Drop</div>
102
- </div>
103
- <div class="bg-white p-5 rounded-xl border border-blue-slate shadow-sm border-l-4 border-l-sage-green">
104
- <div class="text-2xl md:text-3xl font-header text-onyx">91.0% R²</div>
105
- <div class="text-xs font-semibold text-sage-green uppercase tracking-wider mt-1">August Ag Co-Movement</div>
106
- </div>
107
  </div>
108
 
109
  <!-- Navigation Tabs -->
110
- <div class="border-b border-blue-slate mb-8 bg-white rounded-t-xl px-6 shadow-sm">
111
  <nav class="flex space-x-8 overflow-x-auto" aria-label="Tabs">
112
  <button onclick="showTab('findings')" id="tab-btn-findings" class="tab-btn active py-4 px-2 text-sm tracking-wide">
113
  RESEARCH FINDINGS
@@ -126,51 +121,51 @@
126
 
127
  <!-- Tab 1: Key Findings -->
128
  <div id="tab-findings" class="space-y-5">
129
- <div class="bg-white p-8 rounded-xl border border-blue-slate shadow-sm">
130
  <h2 class="text-xl font-subheader mb-6 pb-3 border-b border-slate-200 uppercase tracking-wide">
131
  Core Research Questions & Empirical Findings
132
  </h2>
133
 
134
  <div class="space-y-5">
135
- <div class="p-5 bg-ivory rounded-lg border border-blue-slate">
136
  <h3 class="font-subheader text-base mb-2">RQ1: Is information incorporated instantaneously at 12:00:00 ET, and is there any pre-release price anticipation?</h3>
137
  <p class="text-sm text-onyx leading-relaxed">
138
  <strong>Zero price anticipation</strong>. Across 43 releases (40 liquid), no bar strictly before 12:00 ET exceeds the post-release max |1-min r| in 11:50–12:10 ET (Spike Law 2a). Pre-noon drift sign-agrees with the release direction in only 6/11 Augusts (54.5% ≈ chance).
139
  </p>
140
  </div>
141
 
142
- <div class="p-5 bg-ivory rounded-lg border border-blue-slate">
143
  <h3 class="font-subheader text-base mb-2">RQ2: Does the options market ex-ante expected move forecast shock magnitude? How large is the Variance Risk Premium (VRP)?</h3>
144
  <p class="text-sm text-onyx leading-relaxed">
145
- ATM straddles price a <strong>4.04%</strong> average expected move on event eve. The initial 1-min shock |r₀| consumes only ~33% of the straddle value (<code class="bg-white px-1.5 py-0.5 border border-slate-300 rounded font-mono text-xs">median |r0| / implied_move = 0.328</code>), proving a strong <strong>~3:1 VRP cushion</strong>. Linear correlation between expected move and |r₀| is zero (<code class="bg-white px-1.5 py-0.5 border border-slate-300 rounded font-mono text-xs">r = -0.068</code>). IV crush ≤ -15% occurs in 4/11 Augusts (median crush = +0.9%).
146
  </p>
147
  </div>
148
 
149
- <div class="p-5 bg-ivory rounded-lg border border-blue-slate">
150
  <h3 class="font-subheader text-base mb-2">RQ3: Do market makers pull liquidity before release? How does follow-through differ by typology?</h3>
151
  <p class="text-sm text-onyx leading-relaxed">
152
- Quotes pull back dramatically even though prices show zero pre-event drift. Top-of-book depth collapses by <strong>85.8%</strong> at 11:59:59 ET (≤ 50% remaining depth in 10/11 Augusts). Thinner pre-event depth correlates (<code class="bg-white px-1.5 py-0.5 border border-slate-300 rounded font-mono text-xs">r = -0.385</code>) with higher price impact per unit surprise. In stair-step absorption events, post-release trade volume (+1 to +10 min) is <strong>2.86×</strong> the 12:00 bar volume, compared to <strong>1.51×</strong> in spike-hold events.
153
  </p>
154
  </div>
155
 
156
- <div class="p-5 bg-ivory rounded-lg border border-blue-slate">
157
  <h3 class="font-subheader text-base mb-2">RQ4: Is the August WASDE shock corn-isolated or common-ag co-moving?</h3>
158
  <p class="text-sm text-onyx leading-relaxed">
159
  August WASDE shocks are <strong>heavily common-ag co-moving (R² = 91.0%)</strong> across corn, soybeans (ZS), and wheat (ZW), because August releases first survey estimates for both corn and soybeans simultaneously. In non-August months, R² drops to <strong>24.9%</strong> (corn idiosyncratic variance = 75.1%).
160
  </p>
161
  </div>
162
 
163
- <div class="p-5 bg-ivory rounded-lg border border-blue-slate">
164
  <h3 class="font-subheader text-base mb-2">RQ5: How strongly do pre-event crop condition ratings predict WASDE yield revisions?</h3>
165
  <p class="text-sm text-onyx leading-relaxed">
166
- Early August NASS Crop Progress condition ratings (Good + Excellent %) correlate strongly (<code class="bg-white px-1.5 py-0.5 border border-slate-300 rounded font-mono text-xs">r = +0.860</code>) with the August WASDE yield revision across 2006–2025.
167
  </p>
168
  </div>
169
 
170
- <div class="p-5 bg-ivory rounded-lg border border-blue-slate">
171
  <h3 class="font-subheader text-base mb-2">RQ6: Why does 1-min direction persist at +60 min while daily returns resemble a coin flip?</h3>
172
  <p class="text-sm text-onyx leading-relaxed">
173
- At the 1-min scale, 6/7 strong Augusts hold spike sign at +60 min (median <code class="bg-white px-1.5 py-0.5 border border-slate-300 rounded font-mono text-xs">|P₆₀| / |P₁₀| = 1.37</code>). At the daily close-to-close scale, hit rate is 55% (11/20, coin flip), and neither move size nor yield revision z-score separates daily continuations from reversals. Structural trading edges live <strong>intraday</strong>, not daily.
174
  </p>
175
  </div>
176
  </div>
@@ -179,36 +174,36 @@
179
 
180
  <!-- Tab 2: Figures Atlas -->
181
  <div id="tab-figures" class="hidden space-y-6">
182
- <div class="bg-white p-8 rounded-xl border border-blue-slate shadow-sm">
183
  <h2 class="text-xl font-subheader mb-2 uppercase tracking-wide">Publication Figures Atlas</h2>
184
  <p class="text-xs text-slate-600 mb-6">Select a figure below to inspect empirical charts and panel breakdown descriptions.</p>
185
 
186
  <!-- Figure Selector Buttons -->
187
  <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-5 gap-3 mb-6">
188
- <button onclick="selectFigure(1)" id="fig-btn-1" class="fig-btn bg-blue-slate text-white font-semibold p-3.5 rounded-lg text-xs text-left shadow-sm">
189
  1. Monthly Context & Seasonality
190
  </button>
191
- <button onclick="selectFigure(2)" id="fig-btn-2" class="fig-btn bg-white border border-blue-slate text-blue-slate p-3.5 rounded-lg text-xs text-left hover:bg-slate-50 font-medium">
192
  2. 11-Year August Trajectories
193
  </button>
194
- <button onclick="selectFigure(3)" id="fig-btn-3" class="fig-btn bg-white border border-blue-slate text-blue-slate p-3.5 rounded-lg text-xs text-left hover:bg-slate-50 font-medium">
195
  3. NASS Progress vs Yield Revisions
196
  </button>
197
- <button onclick="selectFigure(4)" id="fig-btn-4" class="fig-btn bg-white border border-blue-slate text-blue-slate p-3.5 rounded-lg text-xs text-left hover:bg-slate-50 font-medium">
198
  4. Follow-through Trade Volume
199
  </button>
200
- <button onclick="selectFigure(5)" id="fig-btn-5" class="fig-btn bg-white border border-blue-slate text-blue-slate p-3.5 rounded-lg text-xs text-left hover:bg-slate-50 font-medium">
201
  5. Cross-Commodity Ag Co-Movement
202
  </button>
203
  </div>
204
 
205
  <!-- Figure Container -->
206
- <div class="bg-ivory p-6 rounded-xl border border-blue-slate text-center mb-6">
207
- <img id="figure-img" src="reports/figures/fig_august_vs_months_v2.png" alt="Figure View" class="max-w-full h-auto mx-auto rounded-lg shadow-sm border border-slate-200">
208
  </div>
209
 
210
  <!-- Figure Writeup -->
211
- <div id="figure-desc" class="p-5 bg-ivory rounded-lg border border-blue-slate text-sm text-onyx leading-relaxed">
212
  <h3 class="font-subheader text-base mb-3">Figure 1 Breakdown</h3>
213
  <ul class="list-disc pl-5 space-y-2">
214
  <li><strong>Panel (a) Peak Spike by Month</strong>: Scatter plot of peak |1-min r| in 11:50–12:10 ET across 35 monthly WASDEs (+ 1 placebo). On 2023–25 alone, August median is 0.70%, but across the 11-year August extension (2015–25) August median is <strong>1.57%</strong> (highest of all months). Highlights clean placebo day (cancelled Oct 2025: 0.059%).</li>
@@ -220,14 +215,14 @@
220
 
221
  <!-- Tab 3: Hypotheses Scorecard -->
222
  <div id="tab-hypotheses" class="hidden space-y-4">
223
- <div class="bg-white p-8 rounded-xl border border-blue-slate shadow-sm">
224
  <div class="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 mb-6 pb-3 border-b border-slate-200">
225
  <div>
226
  <h2 class="text-xl font-subheader uppercase tracking-wide">Comprehensive Hypotheses Scorecard (H1–H23)</h2>
227
  <p class="text-xs text-slate-600 mt-0.5">23 Pre-Registered & Exploratory Hypotheses with Measured Evidence</p>
228
  </div>
229
  <div>
230
- <select id="status-filter" onchange="filterHypotheses()" class="bg-ivory border border-blue-slate text-onyx text-xs rounded-lg px-3 py-2 font-medium">
231
  <option value="ALL">All Statuses (23)</option>
232
  <option value="SUPPORTED">SUPPORTED</option>
233
  <option value="REJECTED">REJECTED</option>
@@ -241,10 +236,10 @@
241
  <table class="w-full text-xs text-left text-onyx">
242
  <thead class="text-xs uppercase bg-blue-slate text-white font-semibold">
243
  <tr>
244
- <th class="px-4 py-3 rounded-l-lg w-16">ID</th>
245
  <th class="px-4 py-3 w-1/3">Hypothesis Statement</th>
246
  <th class="px-4 py-3">Measured Evidence & Finding</th>
247
- <th class="px-4 py-3 rounded-r-lg w-32 text-center">Status</th>
248
  </tr>
249
  </thead>
250
  <tbody id="hypotheses-body" class="divide-y divide-slate-200">
@@ -257,7 +252,7 @@
257
 
258
  <!-- Tab 4: Data Architecture -->
259
  <div id="tab-data" class="hidden space-y-4">
260
- <div class="bg-white p-8 rounded-xl border border-blue-slate shadow-sm">
261
  <h2 class="text-xl font-subheader mb-2 uppercase tracking-wide">Data Architecture & Working Inventory</h2>
262
  <p class="text-xs text-slate-600 mb-6">Multi-tiered market data schema and file organization in the private dataset store.</p>
263
 
@@ -265,10 +260,10 @@
265
  <table class="w-full text-xs text-left text-onyx">
266
  <thead class="text-xs uppercase bg-blue-slate text-white font-semibold">
267
  <tr>
268
- <th class="px-4 py-3 rounded-l-lg">Data Layer</th>
269
  <th class="px-4 py-3">Store Location</th>
270
  <th class="px-4 py-3">Scope / Record Count</th>
271
- <th class="px-4 py-3 rounded-r-lg">Format / Partitioning</th>
272
  </tr>
273
  </thead>
274
  <tbody class="divide-y divide-slate-200">
@@ -331,7 +326,7 @@
331
  <!-- Footer -->
332
  <footer class="bg-white border-t border-blue-slate py-5 mt-auto">
333
  <div class="max-w-7xl mx-auto px-6 text-center text-xs text-slate-600 font-medium">
334
- WASDE Microstructure Study &bull; CME Corn Futures (ZCU/ZCZ 2015–2025) &bull; Hosted on Hugging Face Spaces
335
  </div>
336
  </footer>
337
 
@@ -422,9 +417,9 @@
422
  for (let i = 1; i <= 5; i++) {
423
  const btn = document.getElementById('fig-btn-' + i);
424
  if (i === num) {
425
- btn.className = "fig-btn bg-blue-slate text-white font-semibold p-3.5 rounded-lg text-xs text-left shadow-sm";
426
  } else {
427
- btn.className = "fig-btn bg-white border border-blue-slate text-blue-slate p-3.5 rounded-lg text-xs text-left hover:bg-slate-50 font-medium";
428
  }
429
  }
430
 
@@ -454,7 +449,7 @@
454
  <td class="px-4 py-3.5 font-medium text-onyx">${h.stmt}</td>
455
  <td class="px-4 py-3.5 text-slate-700">${h.ev}</td>
456
  <td class="px-4 py-3.5 text-center">
457
- <span class="px-2.5 py-1 rounded-md font-bold text-[10px] tracking-wide uppercase ${getPillClass(h.status)}">
458
  ${h.status}
459
  </span>
460
  </td>
 
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>August WASDE Study — 1min microstructure and fundamentals</title>
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <link rel="preconnect" href="https://fonts.googleapis.com">
9
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@700;800&display=swap" rel="stylesheet">
11
  <style>
12
+ /* Canva Brand Kit Rules - Sharp Rectangles (Zero Corner Rounding) */
13
  :root {
14
  --bg-ivory: #FFFFF0;
15
  --text-onyx: #0F0F0F;
 
17
  --golden-orange: #F39C12;
18
  --sage-green: #87A96B;
19
  }
20
+ * {
21
+ border-radius: 0 !important; /* Strictly remove all rounded corners */
22
+ }
23
  body {
24
  background-color: var(--bg-ivory);
25
  color: var(--text-onyx);
 
73
  <div class="max-w-7xl mx-auto px-6 py-5 flex flex-col md:flex-row md:items-center md:justify-between gap-4">
74
  <div>
75
  <h1 class="text-2xl md:text-3xl font-header tracking-tight">
76
+ August WASDE Study — 1min microstructure and fundamentals
77
  </h1>
78
  <p class="text-xs md:text-sm text-slate-600 font-medium mt-0.5">
79
  1-Minute CME Corn Futures Microstructure around USDA WASDE Releases (2015–2025)
80
  </p>
81
  </div>
82
  <div class="flex items-center gap-2 text-xs font-semibold">
83
+ <span class="bg-blue-slate text-white px-3 py-1">Private Dataset</span>
84
+ <span class="bg-sage-green text-white px-3 py-1">53 Events Panel</span>
85
  </div>
86
  </div>
87
  </header>
 
89
  <!-- Main Container -->
90
  <main class="max-w-7xl mx-auto px-6 py-8 flex-1 w-full">
91
 
92
+ <!-- Stat Callout Cards (First 2 boxes only per instructions) -->
93
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-5 mb-8">
94
+ <div class="bg-white p-5 border border-blue-slate shadow-sm">
95
  <div class="text-2xl md:text-3xl font-header text-onyx">1,256,807</div>
96
  <div class="text-xs font-semibold text-blue-slate uppercase tracking-wider mt-1">1-Min CME Futures Bars</div>
97
  </div>
98
+ <div class="bg-white p-5 border border-blue-slate shadow-sm">
99
  <div class="text-2xl md:text-3xl font-header text-onyx">43 Releases</div>
100
  <div class="text-xs font-semibold text-blue-slate uppercase tracking-wider mt-1">2015–2025 Event Panel</div>
101
  </div>
 
 
 
 
 
 
 
 
102
  </div>
103
 
104
  <!-- Navigation Tabs -->
105
+ <div class="border-b border-blue-slate mb-8 bg-white px-6 shadow-sm">
106
  <nav class="flex space-x-8 overflow-x-auto" aria-label="Tabs">
107
  <button onclick="showTab('findings')" id="tab-btn-findings" class="tab-btn active py-4 px-2 text-sm tracking-wide">
108
  RESEARCH FINDINGS
 
121
 
122
  <!-- Tab 1: Key Findings -->
123
  <div id="tab-findings" class="space-y-5">
124
+ <div class="bg-white p-8 border border-blue-slate shadow-sm">
125
  <h2 class="text-xl font-subheader mb-6 pb-3 border-b border-slate-200 uppercase tracking-wide">
126
  Core Research Questions & Empirical Findings
127
  </h2>
128
 
129
  <div class="space-y-5">
130
+ <div class="p-5 bg-ivory border border-blue-slate">
131
  <h3 class="font-subheader text-base mb-2">RQ1: Is information incorporated instantaneously at 12:00:00 ET, and is there any pre-release price anticipation?</h3>
132
  <p class="text-sm text-onyx leading-relaxed">
133
  <strong>Zero price anticipation</strong>. Across 43 releases (40 liquid), no bar strictly before 12:00 ET exceeds the post-release max |1-min r| in 11:50–12:10 ET (Spike Law 2a). Pre-noon drift sign-agrees with the release direction in only 6/11 Augusts (54.5% ≈ chance).
134
  </p>
135
  </div>
136
 
137
+ <div class="p-5 bg-ivory border border-blue-slate">
138
  <h3 class="font-subheader text-base mb-2">RQ2: Does the options market ex-ante expected move forecast shock magnitude? How large is the Variance Risk Premium (VRP)?</h3>
139
  <p class="text-sm text-onyx leading-relaxed">
140
+ ATM straddles price a <strong>4.04%</strong> average expected move on event eve. The initial 1-min shock |r₀| consumes only ~33% of the straddle value (<code class="bg-white px-1.5 py-0.5 border border-slate-300 font-mono text-xs">median |r0| / implied_move = 0.328</code>), proving a strong <strong>~3:1 VRP cushion</strong>. Linear correlation between expected move and |r₀| is zero (<code class="bg-white px-1.5 py-0.5 border border-slate-300 font-mono text-xs">r = -0.068</code>). IV crush ≤ -15% occurs in 4/11 Augusts (median crush = +0.9%).
141
  </p>
142
  </div>
143
 
144
+ <div class="p-5 bg-ivory border border-blue-slate">
145
  <h3 class="font-subheader text-base mb-2">RQ3: Do market makers pull liquidity before release? How does follow-through differ by typology?</h3>
146
  <p class="text-sm text-onyx leading-relaxed">
147
+ Quotes pull back dramatically even though prices show zero pre-event drift. Top-of-book depth collapses by <strong>85.8%</strong> at 11:59:59 ET (≤ 50% remaining depth in 10/11 Augusts). Thinner pre-event depth correlates (<code class="bg-white px-1.5 py-0.5 border border-slate-300 font-mono text-xs">r = -0.385</code>) with higher price impact per unit surprise. In stair-step absorption events, post-release trade volume (+1 to +10 min) is <strong>2.86×</strong> the 12:00 bar volume, compared to <strong>1.51×</strong> in spike-hold events.
148
  </p>
149
  </div>
150
 
151
+ <div class="p-5 bg-ivory border border-blue-slate">
152
  <h3 class="font-subheader text-base mb-2">RQ4: Is the August WASDE shock corn-isolated or common-ag co-moving?</h3>
153
  <p class="text-sm text-onyx leading-relaxed">
154
  August WASDE shocks are <strong>heavily common-ag co-moving (R² = 91.0%)</strong> across corn, soybeans (ZS), and wheat (ZW), because August releases first survey estimates for both corn and soybeans simultaneously. In non-August months, R² drops to <strong>24.9%</strong> (corn idiosyncratic variance = 75.1%).
155
  </p>
156
  </div>
157
 
158
+ <div class="p-5 bg-ivory border border-blue-slate">
159
  <h3 class="font-subheader text-base mb-2">RQ5: How strongly do pre-event crop condition ratings predict WASDE yield revisions?</h3>
160
  <p class="text-sm text-onyx leading-relaxed">
161
+ Early August NASS Crop Progress condition ratings (Good + Excellent %) correlate strongly (<code class="bg-white px-1.5 py-0.5 border border-slate-300 font-mono text-xs">r = +0.860</code>) with the August WASDE yield revision across 2006–2025.
162
  </p>
163
  </div>
164
 
165
+ <div class="p-5 bg-ivory border border-blue-slate">
166
  <h3 class="font-subheader text-base mb-2">RQ6: Why does 1-min direction persist at +60 min while daily returns resemble a coin flip?</h3>
167
  <p class="text-sm text-onyx leading-relaxed">
168
+ At the 1-min scale, 6/7 strong Augusts hold spike sign at +60 min (median <code class="bg-white px-1.5 py-0.5 border border-slate-300 font-mono text-xs">|P₆₀| / |P₁₀| = 1.37</code>). At the daily close-to-close scale, hit rate is 55% (11/20, coin flip), and neither move size nor yield revision z-score separates daily continuations from reversals. Structural trading edges live <strong>intraday</strong>, not daily.
169
  </p>
170
  </div>
171
  </div>
 
174
 
175
  <!-- Tab 2: Figures Atlas -->
176
  <div id="tab-figures" class="hidden space-y-6">
177
+ <div class="bg-white p-8 border border-blue-slate shadow-sm">
178
  <h2 class="text-xl font-subheader mb-2 uppercase tracking-wide">Publication Figures Atlas</h2>
179
  <p class="text-xs text-slate-600 mb-6">Select a figure below to inspect empirical charts and panel breakdown descriptions.</p>
180
 
181
  <!-- Figure Selector Buttons -->
182
  <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-5 gap-3 mb-6">
183
+ <button onclick="selectFigure(1)" id="fig-btn-1" class="fig-btn bg-blue-slate text-white font-semibold p-3.5 text-xs text-left shadow-sm">
184
  1. Monthly Context & Seasonality
185
  </button>
186
+ <button onclick="selectFigure(2)" id="fig-btn-2" class="fig-btn bg-white border border-blue-slate text-blue-slate p-3.5 text-xs text-left hover:bg-slate-50 font-medium">
187
  2. 11-Year August Trajectories
188
  </button>
189
+ <button onclick="selectFigure(3)" id="fig-btn-3" class="fig-btn bg-white border border-blue-slate text-blue-slate p-3.5 text-xs text-left hover:bg-slate-50 font-medium">
190
  3. NASS Progress vs Yield Revisions
191
  </button>
192
+ <button onclick="selectFigure(4)" id="fig-btn-4" class="fig-btn bg-white border border-blue-slate text-blue-slate p-3.5 text-xs text-left hover:bg-slate-50 font-medium">
193
  4. Follow-through Trade Volume
194
  </button>
195
+ <button onclick="selectFigure(5)" id="fig-btn-5" class="fig-btn bg-white border border-blue-slate text-blue-slate p-3.5 text-xs text-left hover:bg-slate-50 font-medium">
196
  5. Cross-Commodity Ag Co-Movement
197
  </button>
198
  </div>
199
 
200
  <!-- Figure Container -->
201
+ <div class="bg-ivory p-6 border border-blue-slate text-center mb-6">
202
+ <img id="figure-img" src="reports/figures/fig_august_vs_months_v2.png" alt="Figure View" class="max-w-full h-auto mx-auto shadow-sm border border-slate-200">
203
  </div>
204
 
205
  <!-- Figure Writeup -->
206
+ <div id="figure-desc" class="p-5 bg-ivory border border-blue-slate text-sm text-onyx leading-relaxed">
207
  <h3 class="font-subheader text-base mb-3">Figure 1 Breakdown</h3>
208
  <ul class="list-disc pl-5 space-y-2">
209
  <li><strong>Panel (a) Peak Spike by Month</strong>: Scatter plot of peak |1-min r| in 11:50–12:10 ET across 35 monthly WASDEs (+ 1 placebo). On 2023–25 alone, August median is 0.70%, but across the 11-year August extension (2015–25) August median is <strong>1.57%</strong> (highest of all months). Highlights clean placebo day (cancelled Oct 2025: 0.059%).</li>
 
215
 
216
  <!-- Tab 3: Hypotheses Scorecard -->
217
  <div id="tab-hypotheses" class="hidden space-y-4">
218
+ <div class="bg-white p-8 border border-blue-slate shadow-sm">
219
  <div class="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 mb-6 pb-3 border-b border-slate-200">
220
  <div>
221
  <h2 class="text-xl font-subheader uppercase tracking-wide">Comprehensive Hypotheses Scorecard (H1–H23)</h2>
222
  <p class="text-xs text-slate-600 mt-0.5">23 Pre-Registered & Exploratory Hypotheses with Measured Evidence</p>
223
  </div>
224
  <div>
225
+ <select id="status-filter" onchange="filterHypotheses()" class="bg-ivory border border-blue-slate text-onyx text-xs px-3 py-2 font-medium">
226
  <option value="ALL">All Statuses (23)</option>
227
  <option value="SUPPORTED">SUPPORTED</option>
228
  <option value="REJECTED">REJECTED</option>
 
236
  <table class="w-full text-xs text-left text-onyx">
237
  <thead class="text-xs uppercase bg-blue-slate text-white font-semibold">
238
  <tr>
239
+ <th class="px-4 py-3 w-16">ID</th>
240
  <th class="px-4 py-3 w-1/3">Hypothesis Statement</th>
241
  <th class="px-4 py-3">Measured Evidence & Finding</th>
242
+ <th class="px-4 py-3 w-32 text-center">Status</th>
243
  </tr>
244
  </thead>
245
  <tbody id="hypotheses-body" class="divide-y divide-slate-200">
 
252
 
253
  <!-- Tab 4: Data Architecture -->
254
  <div id="tab-data" class="hidden space-y-4">
255
+ <div class="bg-white p-8 border border-blue-slate shadow-sm">
256
  <h2 class="text-xl font-subheader mb-2 uppercase tracking-wide">Data Architecture & Working Inventory</h2>
257
  <p class="text-xs text-slate-600 mb-6">Multi-tiered market data schema and file organization in the private dataset store.</p>
258
 
 
260
  <table class="w-full text-xs text-left text-onyx">
261
  <thead class="text-xs uppercase bg-blue-slate text-white font-semibold">
262
  <tr>
263
+ <th class="px-4 py-3">Data Layer</th>
264
  <th class="px-4 py-3">Store Location</th>
265
  <th class="px-4 py-3">Scope / Record Count</th>
266
+ <th class="px-4 py-3">Format / Partitioning</th>
267
  </tr>
268
  </thead>
269
  <tbody class="divide-y divide-slate-200">
 
326
  <!-- Footer -->
327
  <footer class="bg-white border-t border-blue-slate py-5 mt-auto">
328
  <div class="max-w-7xl mx-auto px-6 text-center text-xs text-slate-600 font-medium">
329
+ August WASDE Study — 1min microstructure and fundamentals &bull; CME Corn Futures (2015–2025) &bull; Hosted on Hugging Face Spaces
330
  </div>
331
  </footer>
332
 
 
417
  for (let i = 1; i <= 5; i++) {
418
  const btn = document.getElementById('fig-btn-' + i);
419
  if (i === num) {
420
+ btn.className = "fig-btn bg-blue-slate text-white font-semibold p-3.5 text-xs text-left shadow-sm";
421
  } else {
422
+ btn.className = "fig-btn bg-white border border-blue-slate text-blue-slate p-3.5 text-xs text-left hover:bg-slate-50 font-medium";
423
  }
424
  }
425
 
 
449
  <td class="px-4 py-3.5 font-medium text-onyx">${h.stmt}</td>
450
  <td class="px-4 py-3.5 text-slate-700">${h.ev}</td>
451
  <td class="px-4 py-3.5 text-center">
452
+ <span class="px-2.5 py-1 font-bold text-[10px] tracking-wide uppercase ${getPillClass(h.status)}">
453
  ${h.status}
454
  </span>
455
  </td>