Report: crossing readings from traceroutes and cable owners; flat-fit section removed

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Toby
2026-10-27 20:19:08 -04:00
parent c094eb88fa
commit df29028ae8
9 changed files with 178 additions and 181 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ def nets():
ends.sort(key=lambda e: (e["kind"], e["city"]))
cname = {c["id"]: c["name"].replace(" Cable", "") for c in json.load(open(P("data/cables.json")))["cables"]}
xs = [dict(src_city=city(x["src"].split(":")[-1]), dst_city=city(x["dst"].split(":")[-1]), cable_name=cname.get(x["cable"]) if x["cable"] else None,
owners=x["owners"], before=x["before"], after=x["after"]) for x in a["crossings"]]
owners=x["owners"], path=x["path"], reading=x["reading"], assumed=x["cable"] == "tasman-global-access-tga-cable") for x in a["crossings"]]
return dict(summary=a["summary"], traces=a["traces"], endpoints=ends, gp=sorted(gp.values(), key=lambda x: -x["probes"]),
transit=a["transit"], ixps=a["ixps"], crossings=xs)