@@ -132,7 +132,7 @@ def dashboard_href_for_paper_dir(paper_dir_name: str) -> str | None:
132132 return f"{ slug } /dashboard.html"
133133
134134
135- def build_dashboard_hrefs (output_root : Path , * , version : int = 1 ) -> dict [str , dict [str , str ]]:
135+ def build_dashboard_hrefs (output_root : Path , * , version : int = 2 ) -> dict [str , dict [str , str ]]:
136136 """Map CY-Bench country code -> horizon (``eos``/``mid``) -> dashboard HTML href."""
137137 hrefs : dict [str , dict [str , str ]] = {}
138138 for path in discover_summary_tables (output_root , version = version ):
@@ -146,7 +146,7 @@ def build_dashboard_hrefs(output_root: Path, *, version: int = 1) -> dict[str, d
146146 return hrefs
147147
148148
149- def discover_summary_tables (output_root : Path , * , version : int = 1 ) -> list [Path ]:
149+ def discover_summary_tables (output_root : Path , * , version : int = 2 ) -> list [Path ]:
150150 """Return walk_forward_summary.csv paths under paper_walk_forward_* dirs."""
151151 if not output_root .is_dir ():
152152 return []
@@ -1289,7 +1289,7 @@ def build_crop_comparison_payload(df: pd.DataFrame) -> dict[str, dict[str, Any]]
12891289 return out
12901290
12911291
1292- def build_insights_payload (output_root : Path , * , version : int = 1 ) -> dict [str , Any ]:
1292+ def build_insights_payload (output_root : Path , * , version : int = 2 ) -> dict [str , Any ]:
12931293 """Build JSON-serializable payload for the global insights dashboard."""
12941294 paths = discover_summary_tables (output_root , version = version )
12951295 df = load_summary_frame (paths )
0 commit comments