iter55-卡1:QA覆盖余量收口批: 46→45真缺口断言落地(违约词负面套件/结算与cap与换算率钉/配额满/rap端到端/布局/天赋树/状态行/L3变异/reward行)+p_perfect读表接线(行为零漂移)+豁免登记(ontology 154/controls 19)+探针扩面十一组真输入+登记件开发面过滤(DebugOverlay/调试角标/inter三根, seen开发面键0)+枚举器scan_screens基类分类(绘制域件与调试浮窗出圈, 868实体/未豁免未补测=0)+cell_mark_overlay渲染通道(采集态六类型注入全入帧, 棋盘三图基线换代用户过目, 渲染闸绿);卡修轮2用户裁两处不豁免(渲染通道+开发面出圈);独立审计U1修复闭合+增量轮通过
This commit is contained in:
1 parent
095bb4c91b
commit
c41ce9cfc5
25 files changed
+1502
-26
No files matched your search
+18
-2
@@ -43,6 +43,12 @@ SCHEMA_VAR_RE = re.compile(r"^@?export\s+var\s+(\w+)\s*:", re.M)
|
||||
TSCN_NODE_RE = re.compile(r'\[node name="([^"]+)"[^>]*type="(\w*Button\w*)"')
|
||||
GUI_INPUT_RE = re.compile(r"^func (_gui_input|_input)\(", re.M)
|
||||
VIEW_KIND_RE = re.compile(r"(screen|overlay|panel)$")
|
||||
EXTENDS_RE = re.compile(r"^extends\s+(\w+)", re.M)
|
||||
CLASS_NAME_RE = re.compile(r"^class_name\s+(\w+)", re.M)
|
||||
# 屏与模态按实体本相归类(QA覆盖余量收口批 2026-11-07 用户裁):
|
||||
VIEW_NON_SCENE_BASES = {"RefCounted", "Resource"} # 绘制域件/数据件出圈(如 cell_mark_overlay),禁文件名后缀近似
|
||||
DEV_FACE_CLASS_NAMES = {"DebugOverlay"} # 调试浮窗按 class_name 声明出圈——开发面不入玩家可达对账宇宙
|
||||
#(登记件 probe_coverage_recorder 头注同款边界,两处单点同源)
|
||||
|
||||
|
||||
def scan_tables() -> list[dict]:
|
||||
@@ -94,10 +100,20 @@ def scan_gui_input_classes() -> list[dict]:
|
||||
|
||||
|
||||
def scan_screens() -> list[dict]:
|
||||
# 屏与模态按实体本相归类:场景节点基类才入;RefCounted/Resource 绘制域件出圈;
|
||||
# DebugOverlay 调试浮窗出圈(判据见 DEV_FACE_CLASS_NAMES 注)。
|
||||
out: list[dict] = []
|
||||
for f in sorted((GAME / "presentation" / "views").glob("*.gd")):
|
||||
if VIEW_KIND_RE.search(f.stem):
|
||||
out.append({"category": "屏与模态", "id": f.stem, "id_field": "view"})
|
||||
if not VIEW_KIND_RE.search(f.stem):
|
||||
continue
|
||||
text = f.read_text(encoding="utf-8", errors="replace")
|
||||
m = EXTENDS_RE.search(text)
|
||||
if m is not None and m.group(1) in VIEW_NON_SCENE_BASES:
|
||||
continue
|
||||
cm = CLASS_NAME_RE.search(text)
|
||||
if cm is not None and cm.group(1) in DEV_FACE_CLASS_NAMES:
|
||||
continue
|
||||
out.append({"category": "屏与模态", "id": f.stem, "id_field": "view"})
|
||||
return out
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user