Zipeng365 commited on
Commit
54a2406
·
verified ·
1 Parent(s): 662dbeb

Align leaderboard with paper core protocol

Browse files
Files changed (3) hide show
  1. README.md +1 -1
  2. app.py +52 -38
  3. assets/selected_radar_charts.png +2 -2
README.md CHANGED
@@ -22,4 +22,4 @@ The Space reads leaderboard tables from the dataset repository:
22
 
23
  The dataset repository remains the source of record. This Space is only the web presentation layer.
24
 
25
- The default view is paper-first: it anchors the web leaderboard to the camera-ready Table 2 / Figure 3 six-family summary. The 22-row neural-style board is retained as a post-rebuttal expansion view rather than as the paper's primary leaderboard.
 
22
 
23
  The dataset repository remains the source of record. This Space is only the web presentation layer.
24
 
25
+ The default view is paper-first: it anchors the web leaderboard to the camera-ready Table 2 / Figure 3 six-family summary from the 6-scenario, 50-draw core protocol. Table 2 uses tier-balanced aggregation over valid metric values: stationary columns average Tier 1 and Tier 2 means with equal weight, and non-stationary columns use Tier 3 means. The 22-method synthetic and semi-synthetic views are benchmark-only living extensions that use the released five-metric ranking files from the dataset repository; they are not replacements for the primary Table 2 view and are not camera-ready paper claims.
app.py CHANGED
@@ -18,8 +18,10 @@ SITE_FILES = {
18
  "paper_global": "data/paper_tables/global_performance_summary.csv",
19
  "paper_radar": "data/paper_figures/selected_radar_charts.png",
20
  "synthetic": f"site_data/{DATA_VERSION}/leaderboard_synthetic_full22_overall.csv",
 
21
  "real_proxy": f"site_data/{DATA_VERSION}/leaderboard_real_proxy22_overall.csv",
22
  "semisynth": f"site_data/{DATA_VERSION}/leaderboard_semisynth_transfer_by_method.csv",
 
23
  "track_b": f"site_data/{DATA_VERSION}/leaderboard_post_rebuttal_real_physics_track_b.csv",
24
  "track_c": f"site_data/{DATA_VERSION}/leaderboard_post_rebuttal_real_proxy_track_c.csv",
25
  "methods": f"site_data/{DATA_VERSION}/methods.json",
@@ -29,9 +31,9 @@ SITE_FILES = {
29
 
30
  VIEW_LABELS = {
31
  "paper_global": "Paper Table 2 / Figure 3 Anchors",
32
- "synthetic": "Post-Rebuttal Synthetic Full22 Expansion",
33
- "real_proxy": "Paper-Aligned Real Proxy 22",
34
- "semisynth": "Semi-Synthetic Transfer",
35
  "track_b": "Post-Rebuttal Track B: CO2 / Tides",
36
  "track_c": "Post-Rebuttal Track C: Real Proxy Panel",
37
  }
@@ -39,25 +41,30 @@ VIEW_LABELS = {
39
  VIEW_NOTES = {
40
  "paper_global": (
41
  "Camera-ready paper-aligned view. This reproduces Table 2's six-family "
42
- "global performance summary. Table 2 reports two of the five paper-core "
43
- "component-recovery metrics, split by stationary and non-stationary regimes; "
44
- "Figure 3 shows the five-axis capability profile. This is not a single "
45
- "universal ranking."
 
46
  ),
47
  "synthetic": (
48
- "Post-rebuttal expanded synthetic board: 6 scenarios x 50 draws = 300 generated "
49
  "time-series instances. The expanded roster gives 22 method rows, "
50
- "or 6,600 method-instance evaluations. This is an extension view, not the "
51
  "paper's primary Table 2/Figure 3 view. It reuses the five component-recovery "
52
- "metrics and adds a mean-rank convenience summary."
53
  ),
54
  "real_proxy": (
55
- "Paper-aligned real-data companion track. These are proxy diagnostics, "
56
- "not exact component-recovery labels. Lower overall mean rank is better."
 
57
  ),
58
  "semisynth": (
59
- "Known synthetic mechanisms injected into real monthly backgrounds. "
60
- "The displayed rank is recomputed from trend and seasonal recovery metrics."
 
 
 
61
  ),
62
  "track_b": (
63
  "Post-rebuttal mechanism-aware checks on CO2 and tides. These use "
@@ -112,9 +119,9 @@ HIGHER_IS_BETTER = {
112
 
113
  DEFAULT_METRIC = {
114
  "paper_global": "stationary_trend_r2",
115
- "synthetic": "mean_metric_rank",
116
  "real_proxy": "overall_mean_rank",
117
- "semisynth": "mean_metric_rank",
118
  "track_b": "seasonal_r2",
119
  "track_c": "band_plausibility",
120
  }
@@ -136,6 +143,7 @@ COLUMN_LABELS = {
136
  "metric_S_maxlag_corr_mean": "Seasonal max-lag corr mean",
137
  "mean_metric_rank": "Mean metric rank",
138
  "overall_mean_rank": "Overall mean rank",
 
139
  "coverage_success": "Coverage",
140
  "row_count": "Rows",
141
  "setting_count": "Settings",
@@ -154,6 +162,8 @@ TABLE_LABELS = {
154
  "metric_S_r2_mean": "S R2",
155
  "metric_S_spectral_corr_mean": "S spec.",
156
  "metric_S_maxlag_corr_mean": "S max-lag",
 
 
157
  }
158
 
159
  PAPER_GLOBAL_METRICS = [
@@ -231,7 +241,8 @@ def metrics_html() -> str:
231
  <p>
232
  <strong>Table 2</strong> displays only <strong>{int(meta.get("paper_table2_display_metric_count", 2))}</strong>
233
  of those metrics: Trend R2 and Seasonal spectral correlation, split over stationary regimes (Tiers 1-2)
234
- and the non-stationary regime (Tier 3). <strong>Figure 3</strong> is the five-metric profile view.
 
235
  </p>
236
  <div class="metric-grid">{''.join(cards)}</div>
237
  </section>
@@ -290,6 +301,24 @@ def _add_mean_rank(df: pd.DataFrame, metrics: list[str]) -> pd.DataFrame:
290
  return out
291
 
292
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
293
  @lru_cache(maxsize=1)
294
  def load_data() -> dict[str, pd.DataFrame]:
295
  methods = _method_table()
@@ -297,16 +326,7 @@ def load_data() -> dict[str, pd.DataFrame]:
297
 
298
  synthetic = pd.read_csv(_download(SITE_FILES["synthetic"]))
299
  synthetic = _attach_methods(_numeric(synthetic), methods)
300
- synthetic = _add_mean_rank(
301
- synthetic,
302
- [
303
- "metric_T_r2_mean",
304
- "metric_T_dtw_mean",
305
- "metric_S_r2_mean",
306
- "metric_S_spectral_corr_mean",
307
- "metric_S_maxlag_corr_mean",
308
- ],
309
- )
310
 
311
  real_proxy = pd.read_csv(_download(SITE_FILES["real_proxy"]))
312
  real_proxy = _attach_methods(_numeric(real_proxy), methods)
@@ -314,16 +334,7 @@ def load_data() -> dict[str, pd.DataFrame]:
314
 
315
  semisynth = pd.read_csv(_download(SITE_FILES["semisynth"]))
316
  semisynth = _attach_methods(_numeric(semisynth), methods)
317
- semisynth = _add_mean_rank(
318
- semisynth,
319
- [
320
- "metric_T_r2_mean",
321
- "metric_T_dtw_mean",
322
- "metric_S_r2_mean",
323
- "metric_S_spectral_corr_mean",
324
- "metric_S_maxlag_corr_mean",
325
- ],
326
- )
327
 
328
  track_b = pd.read_csv(_download(SITE_FILES["track_b"]))
329
  track_b = _attach_methods(_numeric(track_b), methods)
@@ -373,7 +384,10 @@ def filter_table(view: str, metric: str, family: str, query: str, top_n: int):
373
  df = df[mask]
374
 
375
  ascending = not HIGHER_IS_BETTER.get(metric, True)
376
- ranked = df.sort_values(metric, ascending=ascending, na_position="last").head(int(top_n))
 
 
 
377
 
378
  if view == "paper_global":
379
  show_cols = ["display_name", metric]
 
18
  "paper_global": "data/paper_tables/global_performance_summary.csv",
19
  "paper_radar": "data/paper_figures/selected_radar_charts.png",
20
  "synthetic": f"site_data/{DATA_VERSION}/leaderboard_synthetic_full22_overall.csv",
21
+ "synthetic_rank": "data/synthetic_full22_extension/results/summary/ranking_paper_5metric_overall.csv",
22
  "real_proxy": f"site_data/{DATA_VERSION}/leaderboard_real_proxy22_overall.csv",
23
  "semisynth": f"site_data/{DATA_VERSION}/leaderboard_semisynth_transfer_by_method.csv",
24
+ "semisynth_rank": "data/semisynth_transfer/results/summary/ranking_paper_5metric_overall.csv",
25
  "track_b": f"site_data/{DATA_VERSION}/leaderboard_post_rebuttal_real_physics_track_b.csv",
26
  "track_c": f"site_data/{DATA_VERSION}/leaderboard_post_rebuttal_real_proxy_track_c.csv",
27
  "methods": f"site_data/{DATA_VERSION}/methods.json",
 
31
 
32
  VIEW_LABELS = {
33
  "paper_global": "Paper Table 2 / Figure 3 Anchors",
34
+ "synthetic": "Benchmark 22-Method Synthetic Extension",
35
+ "real_proxy": "Benchmark 22-Method Real Proxy",
36
+ "semisynth": "Benchmark 22-Method Semi-Synthetic Transfer",
37
  "track_b": "Post-Rebuttal Track B: CO2 / Tides",
38
  "track_c": "Post-Rebuttal Track C: Real Proxy Panel",
39
  }
 
41
  VIEW_NOTES = {
42
  "paper_global": (
43
  "Camera-ready paper-aligned view. This reproduces Table 2's six-family "
44
+ "global performance summary from the 6-scenario, 50-draw core protocol. "
45
+ "Table 2 reports two of the five paper-core component-recovery metrics, "
46
+ "using tier-balanced stationary aggregation over Tiers 1-2 and Tier 3 for "
47
+ "the non-stationary columns; Figure 3 shows the "
48
+ "five-axis capability profile. This is not a single universal ranking."
49
  ),
50
  "synthetic": (
51
+ "Benchmark-only expanded synthetic board: 6 scenarios x 50 draws = 300 generated "
52
  "time-series instances. The expanded roster gives 22 method rows, "
53
+ "or 6,600 method-instance evaluations. This is a living extension view, not the "
54
  "paper's primary Table 2/Figure 3 view. It reuses the five component-recovery "
55
+ "metrics and uses the released five-metric mean within-setting ranking."
56
  ),
57
  "real_proxy": (
58
+ "Benchmark-only real-data companion track. These are proxy diagnostics, "
59
+ "not exact component-recovery labels and not camera-ready paper rankings. "
60
+ "Lower overall mean rank is better."
61
  ),
62
  "semisynth": (
63
+ "Benchmark-only 22-method semi-synthetic transfer track: known synthetic "
64
+ "mechanisms injected into six real monthly backgrounds with three mechanisms, "
65
+ "two background scales, and eight windows per setting. This is a living "
66
+ "benchmark extension, not a camera-ready paper table; the displayed rank uses "
67
+ "the released five-metric mean within-setting ranking."
68
  ),
69
  "track_b": (
70
  "Post-rebuttal mechanism-aware checks on CO2 and tides. These use "
 
119
 
120
  DEFAULT_METRIC = {
121
  "paper_global": "stationary_trend_r2",
122
+ "synthetic": "overall_mean_rank",
123
  "real_proxy": "overall_mean_rank",
124
+ "semisynth": "overall_mean_rank",
125
  "track_b": "seasonal_r2",
126
  "track_c": "band_plausibility",
127
  }
 
143
  "metric_S_maxlag_corr_mean": "Seasonal max-lag corr mean",
144
  "mean_metric_rank": "Mean metric rank",
145
  "overall_mean_rank": "Overall mean rank",
146
+ "overall_std_rank": "Overall rank SD",
147
  "coverage_success": "Coverage",
148
  "row_count": "Rows",
149
  "setting_count": "Settings",
 
162
  "metric_S_r2_mean": "S R2",
163
  "metric_S_spectral_corr_mean": "S spec.",
164
  "metric_S_maxlag_corr_mean": "S max-lag",
165
+ "overall_mean_rank": "Mean rank",
166
+ "overall_std_rank": "Rank SD",
167
  }
168
 
169
  PAPER_GLOBAL_METRICS = [
 
241
  <p>
242
  <strong>Table 2</strong> displays only <strong>{int(meta.get("paper_table2_display_metric_count", 2))}</strong>
243
  of those metrics: Trend R2 and Seasonal spectral correlation, split over stationary regimes (Tiers 1-2)
244
+ and the non-stationary regime (Tier 3). Its stationary columns use a tier-balanced average of Tier 1
245
+ and Tier 2 means over valid metric values; non-stationary columns use Tier 3 means. <strong>Figure 3</strong> is the five-metric profile view.
246
  </p>
247
  <div class="metric-grid">{''.join(cards)}</div>
248
  </section>
 
301
  return out
302
 
303
 
304
+ def _attach_released_rank(df: pd.DataFrame, rank_file: str) -> pd.DataFrame:
305
+ rank = pd.read_csv(_download(rank_file))
306
+ rank = _numeric(rank)
307
+ keep = [
308
+ col
309
+ for col in ["method", "overall_mean_rank", "overall_std_rank", "setting_count", "rank_order"]
310
+ if col in rank.columns
311
+ ]
312
+ out = df.drop(columns=[col for col in keep if col != "method" and col in df.columns])
313
+ out = out.merge(rank[keep], on="method", how="left")
314
+ if "rank_order" in out.columns:
315
+ out["rank"] = pd.to_numeric(out["rank_order"], errors="coerce")
316
+ elif "overall_mean_rank" in out.columns:
317
+ values = pd.to_numeric(out["overall_mean_rank"], errors="coerce")
318
+ out["rank"] = values.rank(ascending=True, method="min")
319
+ return out
320
+
321
+
322
  @lru_cache(maxsize=1)
323
  def load_data() -> dict[str, pd.DataFrame]:
324
  methods = _method_table()
 
326
 
327
  synthetic = pd.read_csv(_download(SITE_FILES["synthetic"]))
328
  synthetic = _attach_methods(_numeric(synthetic), methods)
329
+ synthetic = _attach_released_rank(synthetic, SITE_FILES["synthetic_rank"])
 
 
 
 
 
 
 
 
 
330
 
331
  real_proxy = pd.read_csv(_download(SITE_FILES["real_proxy"]))
332
  real_proxy = _attach_methods(_numeric(real_proxy), methods)
 
334
 
335
  semisynth = pd.read_csv(_download(SITE_FILES["semisynth"]))
336
  semisynth = _attach_methods(_numeric(semisynth), methods)
337
+ semisynth = _attach_released_rank(semisynth, SITE_FILES["semisynth_rank"])
 
 
 
 
 
 
 
 
 
338
 
339
  track_b = pd.read_csv(_download(SITE_FILES["track_b"]))
340
  track_b = _attach_methods(_numeric(track_b), methods)
 
384
  df = df[mask]
385
 
386
  ascending = not HIGHER_IS_BETTER.get(metric, True)
387
+ if view == "paper_global":
388
+ ranked = df.head(int(top_n))
389
+ else:
390
+ ranked = df.sort_values(metric, ascending=ascending, na_position="last").head(int(top_n))
391
 
392
  if view == "paper_global":
393
  show_cols = ["display_name", metric]
assets/selected_radar_charts.png CHANGED

Git LFS Details

  • SHA256: 07c754ac6c104e9d597e23991a240ead919a392318f438ad61d7507cc387413b
  • Pointer size: 131 Bytes
  • Size of remote file: 323 kB

Git LFS Details

  • SHA256: bf9d88174e8b6173ec2ab77c38bf8db3ce15b866eee933f5e796f76f0e8ad3f3
  • Pointer size: 131 Bytes
  • Size of remote file: 704 kB