Skip to content

Commit d2679f9

Browse files
version 2
1 parent a7d0b50 commit d2679f9

13 files changed

Lines changed: 18 additions & 18 deletions

cybench/runs/analysis/build_global_insights_dashboard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def main() -> int:
6464
default=Path("/lustre/backup/SHARED/AIN/agml/CY-Bench-dashboard"),
6565
help="GitHub Pages clone root (used when --dest is omitted)",
6666
)
67-
parser.add_argument("--version", type=int, default=3, help="Batch version tag (default: 3)")
67+
parser.add_argument("--version", type=int, default=2, help="Batch version tag (default: 2)")
6868
args = parser.parse_args()
6969

7070
dest = args.dest or (args.publish_root / "insights.html")

cybench/runs/analysis/build_model_family_radar_dashboard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def main() -> int:
6666
default=Path("/lustre/backup/SHARED/AIN/agml/CY-Bench-dashboard"),
6767
help="GitHub Pages clone root (used when --dest is omitted)",
6868
)
69-
parser.add_argument("--version", type=int, default=3, help="Batch version tag (default: 3)")
69+
parser.add_argument("--version", type=int, default=2, help="Batch version tag (default: 2)")
7070
args = parser.parse_args()
7171

7272
dest = args.dest or (args.publish_root / "model_families.html")

cybench/runs/analysis/country_significance_tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
poetry run python cybench/runs/analysis/country_significance_tests.py \\
77
--output-root /lustre/backup/SHARED/AIN/agml/output \\
8-
--version 3 \\
8+
--version 2 \\
99
--horizon eos \\
1010
--latex-table ai_bootstrap_table.tex
1111
"""
@@ -36,7 +36,7 @@ def main() -> int:
3636
default=Path("/lustre/backup/SHARED/AIN/agml/output"),
3737
help="Root containing paper_walk_forward_* collect directories",
3838
)
39-
parser.add_argument("--version", type=int, default=3, help="Collect batch version tag")
39+
parser.add_argument("--version", type=int, default=2, help="Collect batch version tag")
4040
parser.add_argument("--horizon", default="eos", help="Batch horizon slug (default: eos)")
4141
parser.add_argument(
4242
"--crops",

cybench/runs/analysis/dashboard_targets.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Optional: uncomment ``include`` to pin a subset (also used by --mode planned).
1010

1111
defaults:
12-
version: 3
12+
version: 2
1313
output_root: /lustre/backup/SHARED/AIN/agml/output
1414
repo_root: /lustre/backup/SHARED/AIN/agml/AgML-CY-Bench-AAAI
1515
publish_root: /lustre/backup/SHARED/AIN/agml/CY-Bench-dashboard

cybench/runs/analysis/export_family_table_latex.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
poetry run python cybench/runs/analysis/export_family_table_latex.py \\
77
--output-root /lustre/backup/SHARED/AIN/agml/output \\
88
--horizon eos \\
9-
--version 3 \\
9+
--version 2 \\
1010
-o family_table.tex
1111
"""
1212

@@ -30,7 +30,7 @@ def main() -> int:
3030
default=Path("/lustre/backup/SHARED/AIN/agml/output"),
3131
help="Root containing paper_walk_forward_* collect directories",
3232
)
33-
parser.add_argument("--version", type=int, default=3, help="Collect batch version tag")
33+
parser.add_argument("--version", type=int, default=2, help="Collect batch version tag")
3434
parser.add_argument("--horizon", default="eos", help="Batch horizon slug (default: eos)")
3535
parser.add_argument(
3636
"--crops",

cybench/runs/analysis/generate_collect_manifest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def main() -> int:
9292
"--version",
9393
type=int,
9494
metavar="N",
95-
help="Limit to batch version suffix (e.g. 3 for baselines_DE_eos_v3)",
95+
help="Limit to batch version suffix (e.g. 2 for baselines_DE_eos_v2)",
9696
)
9797
parser.add_argument(
9898
"--plot",

cybench/runs/analysis/global_insights_lib.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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)

cybench/runs/analysis/model_family_radar_lib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ def build_paper_family_table_latex(
990990
def build_radar_payload(
991991
output_root: Path,
992992
*,
993-
version: int = 1,
993+
version: int = 2,
994994
representatives: dict[str, str] | None = None,
995995
) -> dict[str, Any]:
996996
"""JSON payload for the model-family radar dashboard."""

cybench/runs/analysis/orchestrate_dashboard_publish.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def main(argv: list[str] | None = None) -> int:
122122
"--version",
123123
type=int,
124124
metavar="N",
125-
help="Limit to batch version suffix (e.g. 3 for baselines_DE_eos_v3)",
125+
help="Limit to batch version suffix (e.g. 2 for baselines_DE_eos_v2)",
126126
)
127127
parser.add_argument(
128128
"--stages",

cybench/runs/analysis/publish_pipeline_lib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656

5757
@dataclass(frozen=True)
5858
class PipelineDefaults:
59-
version: int = 3
59+
version: int = 2
6060
output_root: Path = Path("/lustre/backup/SHARED/AIN/agml/output")
6161
repo_root: Path = Path("/lustre/backup/SHARED/AIN/agml/AgML-CY-Bench-AAAI")
6262
publish_root: Path = Path("/lustre/backup/SHARED/AIN/agml/CY-Bench-dashboard")
@@ -67,7 +67,7 @@ class PipelineDefaults:
6767
class PublishTarget:
6868
country: str
6969
batch_horizon: str # eos | mid | qtr (batch folder suffix)
70-
version: int = 3
70+
version: int = 2
7171
output_root: Path = field(default_factory=lambda: PipelineDefaults().output_root)
7272
repo_root: Path = field(default_factory=lambda: PipelineDefaults().repo_root)
7373
publish_root: Path = field(default_factory=lambda: PipelineDefaults().publish_root)

0 commit comments

Comments
 (0)