feat: configure compute comparisons and restore adaptive globe dragging
ci / backend (push) Has been cancelled
ci / frontend (push) Has been cancelled
ci / delivery (push) Has been cancelled

This commit is contained in:
rayd1o committed 2026-09-24 22:59:55 +08:00
1 parent 5bfc790dec
commit 0c40764c58
30 files changed
+1185 -113

No files matched your search

+3 -2
View File
@@ -262,6 +262,7 @@ def test_absolute_report_year_mapping_and_bilateral_denominator_ignore_other_cou
bilateral = compute_history(["CN", "US", "JP"], "bilateral_share")
values = next(row["values"] for row in bilateral["compute"] if row["year"] == 2023)
assert values == {"CN": 43.06, "US": 56.94, "JP": None}
for report in absolute["evidence"].values():
if report.get("report_year"):
for row in absolute["compute"]:
if row["evidence_id"]:
report = absolute["evidence"][row["evidence_id"]]
assert report["url"].startswith("https://www.caict.ac.cn/")