feat(spatial): 观测声明自己的盲区(按类别计数,不含身份)
cond.p1 从 0.602 到 1.000 证实了这一点:缺的不是容量,是"我看不到什么"这个输入。
剩下 area.sup2h / dof.c6h 弃权率仍为 0,是同一个病在另两个域——生成器把底座/配合
藏起来了,却不让观测声明。
schema 增加 Observation.hidden:{entity: {kind: 数量}, edge: {kind: 数量}},
由 _observe 从"全状态减可见"自动导出,所以新增遮挡物不可能忘记声明。
只记数量不记身份:"少了一条接触"是能据以行动的事实,"少的是 kPT"是泄题。
scene 特征扩到 17 维:隐藏层指示、未见面的数量、各实体类别缺失数、各边类别缺失数、
是否有任何缺失、场景规模。
This commit is contained in:
1 parent
08153b987d
commit
515bee2f01
4 files changed
+37
-7
No files matched your search
+5
-4
@@ -46,10 +46,11 @@ QUERY_KINDS = ("connection", "stability", "freedom")
|
||||
HOP_MAX = 4 # longer paths collapse into one bucket
|
||||
FAR = HOP_MAX + 1 # unreachable, or "involves the query token"
|
||||
# what the observation admits it is missing: hidden layer markers, unseen faces,
|
||||
# and one bit for "something was withheld at all". Without this the two worlds
|
||||
# "no hidden branch exists" and "a hidden branch exists off-view" are literally
|
||||
# the same tensor, and no amount of reasoning can separate them.
|
||||
SCENE_DIM = 6
|
||||
# one count per entity kind and per edge kind, an "anything withheld" bit, and
|
||||
# the scene size. Without this the two worlds "no hidden branch exists" and "a
|
||||
# hidden branch exists off-view" are literally the same tensor, and no amount of
|
||||
# reasoning can separate them.
|
||||
SCENE_DIM = 4 + N_KIND + N_EDGE + 2
|
||||
|
||||
|
||||
def hop_distance(edge_index, edge_mask, edge_removed, n_ent: int) -> torch.Tensor:
|
||||
|
||||
Reference in new issue
Block a user