feat: configure compute comparisons and restore adaptive globe dragging
This commit is contained in:
1 parent
5bfc790dec
commit
0c40764c58
30 files changed
+1185
-113
No files matched your search
@@ -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/")
|
||||
Reference in new issue
Block a user