release: bump version to 0.75.0

This commit is contained in:
rayd1o committed 2026-09-23 21:20:12 +08:00
1 parent 60eefb19c9
commit 5bfc790dec
209 files changed
+13747 -1611

No files matched your search

@@ -16,6 +16,10 @@
- 只有达到城市级或更高精度的位置能渲染到 Earth。
- 本地 JSON registry 不作为算力中心或 BGP 观测站的运行时候选来源;持久事实写入数据库维表。
算力中心展示中,`precise` 和 `site` 候选保持源坐标。多个 `city`、`estimated`、`needs_confirmation` 记录坐标相同时,只在 `displayLatLon` 上分散:使用 `source` 与 `source_id` 的稳定 hash 选择不规则云状方向,并在 0.4–6 km 范围选择半径。偏移确定性与记录顺序无关,不使用数据库行 ID,也不是圆形、网格或螺旋;源坐标永不写回。tooltip 和详情卡标注“城市级近似位置(分散显示)”。
位置优先级为:确认缓存、源精确坐标、官方登记 site、源 city/site、未确认缓存。城市级近似不能标成 `precise`,也不能猜测总部。官方登记 helper 按精确 `source` + `source_id` 匹配;当前覆盖 Gyoukou 2.0/2.2 的 JAMSTEC Yokohama 与 Sophia ALCF,共 3 条、2 个园区。官方 access map 中心只作为 site 点,不表示 rack/building 测绘点,并在 `source_note` 保留官方 URL。
## 核心接口
```python
@@ -51,7 +55,7 @@ class LocationResolver(Protocol):
def resolve(self, query: LocationQuery) -> ResolverOutput: ...
```
`LocationPipeline.collect_candidates()` 返回排序后的候选和 `attempted_queries`;`resolve_best()` 返回最佳候选及诊断信息。默认排序按 source rank、precision rank、confidence,且对同 source 和同坐标候选去重。
`LocationPipeline.collect_candidates()` 返回排序后的候选和 `attempted_queries`;`resolve_best()` 返回最佳候选及诊断信息。默认排序按 source rank、precision rank、confidence,且对同 source 和同坐标候选去重。旧记录也经过同一条路径重新归类为 `country`、`region` 或 `unknown`;不可渲染记录保留在完整 `unresolved` 列表中。
## 内置 resolver