chore(spatial): 容差扫描的标记改成自解释的 ok/x/!
This commit is contained in:
1 parent
851e8888b5
commit
2f2a41ee3e
1 file changed
+5
-3
+5
-3
@@ -207,12 +207,14 @@ def report_tolerance(n: int = 8) -> None:
|
||||
got += 1
|
||||
forged += int(checker.validate_evidence(
|
||||
world, Query(kind="stability", a="T"), [tp[0].eid]))
|
||||
mark = "ok" if gap == 0 else ("!" if forged else " ")
|
||||
mark = "ok" if gap == 0 else ("x" if not forged else "!")
|
||||
cells.append(f"{got:2d}/{total} {mark:2s}")
|
||||
print(f"{fam:10s} {gap:4d} " + " ".join(f"{c:>9s}" for c in cells))
|
||||
print()
|
||||
print("单元格 = 提取到 T-P 边的样本数 / 总数;ok = 该边合法(间隙为 0,本来就贴着)")
|
||||
print("! = 该边被检查器当成有效凭证,但零件其实没有接触 —— 容差过大伪造了支撑")
|
||||
print("单元格 = 提取到 T-P 边的样本数 / 总数")
|
||||
print("ok = 该边合法(间隙为 0,零件本来就贴着)")
|
||||
print("x = 提取到了一条不存在的接触,但凭证校验按几何拒绝了它(正确行为)")
|
||||
print("! = 假边通过了凭证校验 —— 校验器有洞(修复前每一格都是这个)")
|
||||
print("间隙单位 0.25mm;真实装配的余隙是 0.2mm 级,即 1 格")
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user