205 lines
11 KiB
Plaintext
205 lines
11 KiB
Plaintext
E702 Multiple statements on one line (semicolon)
|
||
--> calliope-backend/tests/test_zimage_seed8k_fixed_document.py:128:46
|
||
|
|
||
127 | def test_seed_boundaries_texts_outputs_and_identity_gaps():
|
||
128 | root={n["id"]:n for n in SOURCE["nodes"]};sg=SOURCE["definitions"]["subgraphs"][0];ns={n["id"]:n for n in sg["nodes"]}
|
||
| ^
|
||
129 | assert len(root[110]["inputs"])==13 and len(root[110]["widgets_values"])==11
|
||
130 | assert "proxyWidgets" not in root[110]["properties"] and sg["widgets"]==[]
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> calliope-backend/tests/test_zimage_seed8k_fixed_document.py:128:87
|
||
|
|
||
127 | def test_seed_boundaries_texts_outputs_and_identity_gaps():
|
||
128 | root={n["id"]:n for n in SOURCE["nodes"]};sg=SOURCE["definitions"]["subgraphs"][0];ns={n["id"]:n for n in sg["nodes"]}
|
||
| ^
|
||
129 | assert len(root[110]["inputs"])==13 and len(root[110]["widgets_values"])==11
|
||
130 | assert "proxyWidgets" not in root[110]["properties"] and sg["widgets"]==[]
|
||
|
|
||
|
||
E501 Line too long (122 > 100)
|
||
--> calliope-backend/tests/test_zimage_seed8k_fixed_document.py:128:101
|
||
|
|
||
127 | def test_seed_boundaries_texts_outputs_and_identity_gaps():
|
||
128 | root={n["id"]:n for n in SOURCE["nodes"]};sg=SOURCE["definitions"]["subgraphs"][0];ns={n["id"]:n for n in sg["nodes"]}
|
||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||
129 | assert len(root[110]["inputs"])==13 and len(root[110]["widgets_values"])==11
|
||
130 | assert "proxyWidgets" not in root[110]["properties"] and sg["widgets"]==[]
|
||
|
|
||
|
||
E501 Line too long (106 > 100)
|
||
--> calliope-backend/tests/test_zimage_seed8k_fixed_document.py:131:101
|
||
|
|
||
129 | assert len(root[110]["inputs"])==13 and len(root[110]["widgets_values"])==11
|
||
130 | assert "proxyWidgets" not in root[110]["properties"] and sg["widgets"]==[]
|
||
131 | assert root[110]["inputs"][0]["link"]==195 and all(i["link"] is None for i in root[110]["inputs"][1:])
|
||
| ^^^^^^
|
||
132 | assert len(sg["inputs"])==13 and ns[50]["mode"]==4
|
||
133 | assert root[17]["widgets_values"][0] == root[5]["widgets_values"][0]+"\n"
|
||
|
|
||
|
||
E501 Line too long (117 > 100)
|
||
--> calliope-backend/tests/test_zimage_seed8k_fixed_document.py:138:101
|
||
|
|
||
136 | assert root[106]["inputs"][0]["link"]==171 and root[124]["inputs"][0]["link"]==209
|
||
137 | assert ns[109]["inputs"][4]["link"]==65 and ns[55]["inputs"][4]["link"] is None
|
||
138 | assert root[110]["widgets_values"][7].startswith("Seedvr2") and ns[52]["widgets_values"][0].startswith("seedvr2")
|
||
| ^^^^^^^^^^^^^^^^^
|
||
139 | assert ns[51]["widgets_values"][0]!=root[110]["widgets_values"][8]
|
||
140 | assert SOURCE["extra"]["frontendVersion"]=="1.23.0"
|
||
|
|
||
|
||
E501 Line too long (173 > 100)
|
||
--> docs/hel-892/zimage-seed8k-document-evidence/build_definition.py:231:82
|
||
|
|
||
229 | …
|
||
230 | …ensure_ascii=False),
|
||
231 | …n.dumps(n["widgets_values_named"], ensure_ascii=False) if "widgets_values_named" in n else "missing"),
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
232 | …
|
||
233 | …
|
||
|
|
||
|
||
E501 Line too long (338 > 100)
|
||
--> docs/hel-892/zimage-seed8k-document-evidence/build_definition.py:377:76
|
||
|
|
||
375 | …
|
||
376 | …
|
||
377 | …edVR2子图,内部合并alpha(50旁路)、4倍插值、预处理、分块编码、采样、分块解码、后处理,输出只预览/比较/清理。比较A为原文生图、B为Seed处理。宿主11缓存与13输入边界独立,标题8K不等于精确尺寸或永久导出;模型、alpha、动态接口、恢复及实际效果未知。"
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
378 | …
|
||
379 | …
|
||
|
|
||
|
||
E501 Line too long (176 > 100)
|
||
--> docs/hel-892/zimage-seed8k-document-evidence/build_definition.py:421:75
|
||
|
|
||
419 | … 列;CR外线193覆盖缓存,qwen_image枚举不改lumina2。不构造prompt,不访问历史媒体。",
|
||
420 | …6、Set113、Purge49,Set/Get无准确版本,不造物理跨别名线。",
|
||
421 | …pha=null;50 mode4不模拟恢复,57四倍插值不保证超分质量;109编码才有temporal_size边界65,55解码无此线。",
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
422 | …24身份未知、106和48源IMAGE出口与准确后端返回差异保留。155定稿、可靠转换、环境核对与必要实跑未完成。",
|
||
423 | … 复现。Seedvr2/seedvr2大小写、两VAE异名不归一化,LoRA/模型许可与兼容待核;UE/0246/LG/组开关/宿主恢复均不认证。",
|
||
|
|
||
|
||
E501 Line too long (121 > 100)
|
||
--> docs/hel-892/zimage-seed8k-document-evidence/verify_sources.py:98:101
|
||
|
|
||
96 | assert [s["named_nodes"] for s in inv["scopes"]] == [16,7]
|
||
97 | for a,f in zip(inv["fields"], block["fields"], strict=True):
|
||
98 | assert (a["pointer"],a["json_type"],canonical(a["value"])) == (f["pointer"],f["json_type"],canonical(f["value"]))
|
||
| ^^^^^^^^^^^^^^^^^^^^^
|
||
99 | from build_definition import PATHS, REPO
|
||
100 | graph=json.loads((REPO/PATHS[0]).read_bytes())
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> docs/hel-892/zimage-seed8k-document-evidence/verify_sources.py:105:37
|
||
|
|
||
103 | ns={n["id"]:n for n in scope["nodes"]}
|
||
104 | for edge in scope["links"]:
|
||
105 | if isinstance(edge,list): eid,a,ao,z,zi,kind=edge
|
||
| ^
|
||
106 | else: eid,a,ao,z,zi,kind=[edge[k] for k in ["id","origin_id","origin_slot","target_id","target_slot","type"]]
|
||
107 | if a in ns: assert eid in ns[a]["outputs"][ao]["links"]
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> docs/hel-892/zimage-seed8k-document-evidence/verify_sources.py:106:17
|
||
|
|
||
104 | for edge in scope["links"]:
|
||
105 | if isinstance(edge,list): eid,a,ao,z,zi,kind=edge
|
||
106 | else: eid,a,ao,z,zi,kind=[edge[k] for k in ["id","origin_id","origin_slot","target_id","target_slot","type"]]
|
||
| ^
|
||
107 | if a in ns: assert eid in ns[a]["outputs"][ao]["links"]
|
||
108 | else: assert a == -10 and eid in scope["inputs"][ao]["linkIds"]
|
||
|
|
||
|
||
E501 Line too long (121 > 100)
|
||
--> docs/hel-892/zimage-seed8k-document-evidence/verify_sources.py:106:101
|
||
|
|
||
104 | for edge in scope["links"]:
|
||
105 | if isinstance(edge,list): eid,a,ao,z,zi,kind=edge
|
||
106 | else: eid,a,ao,z,zi,kind=[edge[k] for k in ["id","origin_id","origin_slot","target_id","target_slot","type"]]
|
||
| ^^^^^^^^^^^^^^^^^^^^^
|
||
107 | if a in ns: assert eid in ns[a]["outputs"][ao]["links"]
|
||
108 | else: assert a == -10 and eid in scope["inputs"][ao]["linkIds"]
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> docs/hel-892/zimage-seed8k-document-evidence/verify_sources.py:107:23
|
||
|
|
||
105 | if isinstance(edge,list): eid,a,ao,z,zi,kind=edge
|
||
106 | else: eid,a,ao,z,zi,kind=[edge[k] for k in ["id","origin_id","origin_slot","target_id","target_slot","type"]]
|
||
107 | if a in ns: assert eid in ns[a]["outputs"][ao]["links"]
|
||
| ^
|
||
108 | else: assert a == -10 and eid in scope["inputs"][ao]["linkIds"]
|
||
109 | if z in ns: assert ns[z]["inputs"][zi]["link"] == eid
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> docs/hel-892/zimage-seed8k-document-evidence/verify_sources.py:108:17
|
||
|
|
||
106 | else: eid,a,ao,z,zi,kind=[edge[k] for k in ["id","origin_id","origin_slot","target_id","target_slot","type"]]
|
||
107 | if a in ns: assert eid in ns[a]["outputs"][ao]["links"]
|
||
108 | else: assert a == -10 and eid in scope["inputs"][ao]["linkIds"]
|
||
| ^
|
||
109 | if z in ns: assert ns[z]["inputs"][zi]["link"] == eid
|
||
110 | else: assert z == -20 and eid in scope["outputs"][zi]["linkIds"]
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> docs/hel-892/zimage-seed8k-document-evidence/verify_sources.py:109:23
|
||
|
|
||
107 | if a in ns: assert eid in ns[a]["outputs"][ao]["links"]
|
||
108 | else: assert a == -10 and eid in scope["inputs"][ao]["linkIds"]
|
||
109 | if z in ns: assert ns[z]["inputs"][zi]["link"] == eid
|
||
| ^
|
||
110 | else: assert z == -20 and eid in scope["outputs"][zi]["linkIds"]
|
||
111 | checked+=1
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> docs/hel-892/zimage-seed8k-document-evidence/verify_sources.py:110:17
|
||
|
|
||
108 | else: assert a == -10 and eid in scope["inputs"][ao]["linkIds"]
|
||
109 | if z in ns: assert ns[z]["inputs"][zi]["link"] == eid
|
||
110 | else: assert z == -20 and eid in scope["outputs"][zi]["linkIds"]
|
||
| ^
|
||
111 | checked+=1
|
||
112 | assert checked==46
|
||
|
|
||
|
||
E501 Line too long (102 > 100)
|
||
--> docs/hel-892/zimage-seed8k-document-evidence/verify_sources.py:120:101
|
||
|
|
||
118 | if e["id"]=="core0270" and e["file"].endswith(".py"):
|
||
119 | parsed=ast.parse((REF/e["local_file"]).read_bytes())
|
||
120 | assert not any(isinstance(n,ast.ClassDef) and n.name in classes for n in ast.walk(parsed))
|
||
| ^^
|
||
121 | e=next(e for e in rows if e["id"]=="core051" and e["file"]=="nodes.py")
|
||
122 | parsed=ast.parse((REF/e["local_file"]).read_bytes())
|
||
|
|
||
|
||
E501 Line too long (144 > 100)
|
||
--> docs/hel-892/zimage-seed8k-document-evidence/verify_sources.py:124:101
|
||
|
|
||
122 | …
|
||
123 | ….ClassDef) and c.name=="SaveImage")
|
||
124 | …ast.Assign) and any(isinstance(n,ast.Name) and n.id=="RETURN_TYPES" for n in c.targets))
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
125 | …
|
||
126 | …
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> docs/hel-892/zimage-seed8k-document-evidence/verify_sources.py:133:24
|
||
|
|
||
131 | print("PASS exact Git/package texts, 61 positions, 0 notes, 46 physical edges")
|
||
132 |
|
||
133 | if __name__=="__main__": main()
|
||
| ^
|
||
|
||
Found 19 errors.
|