564 lines
36 KiB
Plaintext
564 lines
36 KiB
Plaintext
E702 Multiple statements on one line (semicolon)
|
||
--> calliope-backend/tests/test_rtx_fixed_document.py:108:52
|
||
|
|
||
106 | @pytest.mark.parametrize('variant',['empty','missing','slide','ue','frontend','summary','citation','source_sha','path','layout','dyna…
|
||
107 | def test_special_shapes_and_identity_fail_closed(variant):
|
||
108 | s,r=copy.deepcopy(SOURCE),copy.deepcopy(REVIEW);ns={n['id']:n for n in s['nodes']};b=r['fixed_version_document']
|
||
| ^
|
||
109 | if variant=='empty': ns[7]['widgets_values']=[]
|
||
110 | elif variant=='missing': del ns[7]['widgets_values']
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> calliope-backend/tests/test_rtx_fixed_document.py:108:87
|
||
|
|
||
106 | @pytest.mark.parametrize('variant',['empty','missing','slide','ue','frontend','summary','citation','source_sha','path','layout','dyna…
|
||
107 | def test_special_shapes_and_identity_fail_closed(variant):
|
||
108 | s,r=copy.deepcopy(SOURCE),copy.deepcopy(REVIEW);ns={n['id']:n for n in s['nodes']};b=r['fixed_version_document']
|
||
| ^
|
||
109 | if variant=='empty': ns[7]['widgets_values']=[]
|
||
110 | elif variant=='missing': del ns[7]['widgets_values']
|
||
|
|
||
|
||
E501 Line too long (116 > 100)
|
||
--> calliope-backend/tests/test_rtx_fixed_document.py:108:101
|
||
|
|
||
106 | @pytest.mark.parametrize('variant',['empty','missing','slide','ue','frontend','summary','citation','source_sha','path','layout','dyna…
|
||
107 | def test_special_shapes_and_identity_fail_closed(variant):
|
||
108 | s,r=copy.deepcopy(SOURCE),copy.deepcopy(REVIEW);ns={n['id']:n for n in s['nodes']};b=r['fixed_version_document']
|
||
| ^^^^^^^^^^^^^^^^
|
||
109 | if variant=='empty': ns[7]['widgets_values']=[]
|
||
110 | elif variant=='missing': del ns[7]['widgets_values']
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_rtx_fixed_document.py:109:24
|
||
|
|
||
107 | def test_special_shapes_and_identity_fail_closed(variant):
|
||
108 | s,r=copy.deepcopy(SOURCE),copy.deepcopy(REVIEW);ns={n['id']:n for n in s['nodes']};b=r['fixed_version_document']
|
||
109 | if variant=='empty': ns[7]['widgets_values']=[]
|
||
| ^
|
||
110 | elif variant=='missing': del ns[7]['widgets_values']
|
||
111 | elif variant=='slide': ns[7]['properties']['comparer_mode']='Click'
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_rtx_fixed_document.py:110:28
|
||
|
|
||
108 | s,r=copy.deepcopy(SOURCE),copy.deepcopy(REVIEW);ns={n['id']:n for n in s['nodes']};b=r['fixed_version_document']
|
||
109 | if variant=='empty': ns[7]['widgets_values']=[]
|
||
110 | elif variant=='missing': del ns[7]['widgets_values']
|
||
| ^
|
||
111 | elif variant=='slide': ns[7]['properties']['comparer_mode']='Click'
|
||
112 | elif variant=='ue': ns[1]['properties']['ue_properties']['version']='forged'
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_rtx_fixed_document.py:111:26
|
||
|
|
||
109 | if variant=='empty': ns[7]['widgets_values']=[]
|
||
110 | elif variant=='missing': del ns[7]['widgets_values']
|
||
111 | elif variant=='slide': ns[7]['properties']['comparer_mode']='Click'
|
||
| ^
|
||
112 | elif variant=='ue': ns[1]['properties']['ue_properties']['version']='forged'
|
||
113 | elif variant=='frontend': s['extra']['frontendVersion']='forged'
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_rtx_fixed_document.py:112:23
|
||
|
|
||
110 | elif variant=='missing': del ns[7]['widgets_values']
|
||
111 | elif variant=='slide': ns[7]['properties']['comparer_mode']='Click'
|
||
112 | elif variant=='ue': ns[1]['properties']['ue_properties']['version']='forged'
|
||
| ^
|
||
113 | elif variant=='frontend': s['extra']['frontendVersion']='forged'
|
||
114 | elif variant=='summary': b['user_overview']='forged'
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_rtx_fixed_document.py:113:29
|
||
|
|
||
111 | elif variant=='slide': ns[7]['properties']['comparer_mode']='Click'
|
||
112 | elif variant=='ue': ns[1]['properties']['ue_properties']['version']='forged'
|
||
113 | elif variant=='frontend': s['extra']['frontendVersion']='forged'
|
||
| ^
|
||
114 | elif variant=='summary': b['user_overview']='forged'
|
||
115 | elif variant=='citation': b['sources'][0]['sha256']='0'*64
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_rtx_fixed_document.py:114:28
|
||
|
|
||
112 | elif variant=='ue': ns[1]['properties']['ue_properties']['version']='forged'
|
||
113 | elif variant=='frontend': s['extra']['frontendVersion']='forged'
|
||
114 | elif variant=='summary': b['user_overview']='forged'
|
||
| ^
|
||
115 | elif variant=='citation': b['sources'][0]['sha256']='0'*64
|
||
116 | elif variant=='source_sha': b['source_sha1']='0'*40
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_rtx_fixed_document.py:115:29
|
||
|
|
||
113 | elif variant=='frontend': s['extra']['frontendVersion']='forged'
|
||
114 | elif variant=='summary': b['user_overview']='forged'
|
||
115 | elif variant=='citation': b['sources'][0]['sha256']='0'*64
|
||
| ^
|
||
116 | elif variant=='source_sha': b['source_sha1']='0'*40
|
||
117 | elif variant=='path': b['source_path']='forged'
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_rtx_fixed_document.py:116:31
|
||
|
|
||
114 | elif variant=='summary': b['user_overview']='forged'
|
||
115 | elif variant=='citation': b['sources'][0]['sha256']='0'*64
|
||
116 | elif variant=='source_sha': b['source_sha1']='0'*40
|
||
| ^
|
||
117 | elif variant=='path': b['source_path']='forged'
|
||
118 | elif variant=='layout': ns[1]['pos'][0]+=1
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_rtx_fixed_document.py:117:25
|
||
|
|
||
115 | elif variant=='citation': b['sources'][0]['sha256']='0'*64
|
||
116 | elif variant=='source_sha': b['source_sha1']='0'*40
|
||
117 | elif variant=='path': b['source_path']='forged'
|
||
| ^
|
||
118 | elif variant=='layout': ns[1]['pos'][0]+=1
|
||
119 | elif variant=='dynamic': ns[1]['inputs'][2]['name']='width'
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_rtx_fixed_document.py:118:27
|
||
|
|
||
116 | elif variant=='source_sha': b['source_sha1']='0'*40
|
||
117 | elif variant=='path': b['source_path']='forged'
|
||
118 | elif variant=='layout': ns[1]['pos'][0]+=1
|
||
| ^
|
||
119 | elif variant=='dynamic': ns[1]['inputs'][2]['name']='width'
|
||
120 | elif variant=='mask': ns[2]['outputs'][1]['links']=[1]
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_rtx_fixed_document.py:119:28
|
||
|
|
||
117 | elif variant=='path': b['source_path']='forged'
|
||
118 | elif variant=='layout': ns[1]['pos'][0]+=1
|
||
119 | elif variant=='dynamic': ns[1]['inputs'][2]['name']='width'
|
||
| ^
|
||
120 | elif variant=='mask': ns[2]['outputs'][1]['links']=[1]
|
||
121 | refuse(s,r)
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_rtx_fixed_document.py:120:25
|
||
|
|
||
118 | elif variant=='layout': ns[1]['pos'][0]+=1
|
||
119 | elif variant=='dynamic': ns[1]['inputs'][2]['name']='width'
|
||
120 | elif variant=='mask': ns[2]['outputs'][1]['links']=[1]
|
||
| ^
|
||
121 | refuse(s,r)
|
||
|
|
||
|
||
E501 Line too long (107 > 100)
|
||
--> calliope-backend/tests/test_rtx_fixed_document.py:131:101
|
||
|
|
||
129 | assert ns[7]['widgets_values']==[[]] and ns[7]['properties']['comparer_mode']=='Slide'
|
||
130 | assert not any(k in ns[7]['properties'] for k in ['cnr_id','aux_id','ver'])
|
||
131 | assert ns[2]['widgets_values']==['ComfyUI_01117_.png','image'] and ns[3]['widgets_values']==['ComfyUI']
|
||
| ^^^^^^^
|
||
132 | assert ns[2]['outputs'][1]['links'] is None
|
||
133 | assert ns[1]['inputs'][2]['type']=='FLOAT' and ns[1]['inputs'][2]['link'] is None
|
||
|
|
||
|
||
E501 Line too long (109 > 100)
|
||
--> calliope-backend/tests/test_rtx_fixed_document.py:134:101
|
||
|
|
||
132 | assert ns[2]['outputs'][1]['links'] is None
|
||
133 | assert ns[1]['inputs'][2]['type']=='FLOAT' and ns[1]['inputs'][2]['link'] is None
|
||
134 | assert SOURCE['links']==[[1,2,0,1,0,'IMAGE'],[2,1,0,3,0,'IMAGE'],[5,1,0,7,1,'IMAGE'],[6,2,0,7,0,'IMAGE']]
|
||
| ^^^^^^^^^
|
||
135 | for e,src,slot,dst,inp,_ in SOURCE['links']:
|
||
136 | assert e in ns[src]['outputs'][slot]['links'] and ns[dst]['inputs'][inp]['link']==e
|
||
|
|
||
|
||
E501 Line too long (123 > 100)
|
||
--> calliope-backend/tests/test_rtx_fixed_document.py:143:93
|
||
|
|
||
141 | assert doc()['dependencies']['check_state']=='unchecked'
|
||
142 | assert doc()['status']==dict(imported=True,doc_done=False,exec_verified=False)
|
||
143 | for word in ['原图A','放大B','round','8','Git绑定未知','MAX_PIXELS','CUDA','temp','output','UE7.7','缺version','[[]]']:
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^
|
||
144 | assert word in ' '.join(BLOCK['flow'])
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> calliope-backend/tests/test_rtx_fixed_document.py:150:49
|
||
|
|
||
148 | resource='calliope-backend/src/calliope/comfyui/source_reviews.json'
|
||
149 | old=json.loads(subprocess.check_output(['git','show','82621b3:'+resource],cwd=REPO))
|
||
150 | now=json.loads((REPO/resource).read_bytes());now[PATH].pop('fixed_version_document')
|
||
| ^
|
||
151 | assert now==old and len(DEFINITIONS)==29
|
||
152 | blocks=[r['fixed_version_document'] for r in old.values() if 'fixed_version_document' in r]
|
||
|
|
||
|
||
E501 Line too long (163 > 100)
|
||
--> calliope-backend/tests/test_rtx_fixed_document.py:154:101
|
||
|
|
||
152 | …fixed_version_document' in r]
|
||
153 | …s)==888
|
||
154 | …()),None,None,[],r)['source_notes']) for p,r in old.items() if 'fixed_version_document' in r)==21
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
155 | …
|
||
|
|
||
|
||
E501 Line too long (125 > 100)
|
||
--> docs/hel-892/rtx-document-evidence/build_definition.py:11:72
|
||
|
|
||
9 | OUT = Path(__file__).resolve().parent
|
||
10 | REF = OUT.parent / 'rtx-reference'
|
||
11 | PATHS = ['example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_image_upscale.json']
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
12 |
|
||
13 | def canonical(value):
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> docs/hel-892/rtx-document-evidence/build_definition.py:17:22
|
||
|
|
||
16 | def build(index=0):
|
||
17 | path=PATHS[index];raw=(REPO/path).read_bytes();graph=json.loads(raw)
|
||
| ^
|
||
18 | entries=json.loads((REF/'sources.json').read_bytes())['sources'];refs=[]
|
||
19 | def ref(key,file,first,last,claim):
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> docs/hel-892/rtx-document-evidence/build_definition.py:17:51
|
||
|
|
||
16 | def build(index=0):
|
||
17 | path=PATHS[index];raw=(REPO/path).read_bytes();graph=json.loads(raw)
|
||
| ^
|
||
18 | entries=json.loads((REF/'sources.json').read_bytes())['sources'];refs=[]
|
||
19 | def ref(key,file,first,last,claim):
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> docs/hel-892/rtx-document-evidence/build_definition.py:18:69
|
||
|
|
||
16 | def build(index=0):
|
||
17 | path=PATHS[index];raw=(REPO/path).read_bytes();graph=json.loads(raw)
|
||
18 | entries=json.loads((REF/'sources.json').read_bytes())['sources'];refs=[]
|
||
| ^
|
||
19 | def ref(key,file,first,last,claim):
|
||
20 | e=next(e for e in entries if e['id']==key and e['file']==file)
|
||
|
|
||
|
||
E501 Line too long (102 > 100)
|
||
--> docs/hel-892/rtx-document-evidence/build_definition.py:29:84
|
||
|
|
||
27 | run=ref('rtx','__init__.py',51,109,'准确包实现的尺寸计算、8倍数对齐、质量映射、CUDA与nvvfx调用;不执行')
|
||
28 | ref('rtx','__init__.py',112,121,'准确包扩展入口与节点注册')
|
||
29 | pkg=ref('rtx','pyproject.toml',1,16,'发布包版本0.1.0、依赖nvidia-vfx及仓库声明,不证明Git commit')
|
||
| ^^
|
||
30 | dynamic=ref('core','comfy_api/latest/_io.py',1090,1142,'core0.16.4 DynamicCombo schema与所选分支展开条件')
|
||
31 | front=ref('frontend','src/core/graph/widgets/dynamicWidgets.ts',72,206,'前端1.39.19所选子控件插入/移除与值恢复回调;不证明UE次序')
|
||
|
|
||
|
||
E501 Line too long (110 > 100)
|
||
--> docs/hel-892/rtx-document-evidence/build_definition.py:30:96
|
||
|
|
||
28 | ref('rtx','__init__.py',112,121,'准确包扩展入口与节点注册')
|
||
29 | pkg=ref('rtx','pyproject.toml',1,16,'发布包版本0.1.0、依赖nvidia-vfx及仓库声明,不证明Git commit')
|
||
30 | dynamic=ref('core','comfy_api/latest/_io.py',1090,1142,'core0.16.4 DynamicCombo schema与所选分支展开条件')
|
||
| ^^^^^^^^^^
|
||
31 | front=ref('frontend','src/core/graph/widgets/dynamicWidgets.ts',72,206,'前端1.39.19所选子控件插入/移除与值恢复回调;不证明UE次序')
|
||
32 | load=ref('core','nodes.py',1702,1779,'core0.16.4 LoadImage动态列表、RGB与遮罩、文件检查条件')
|
||
|
|
||
|
||
E501 Line too long (377 > 100)
|
||
--> docs/hel-892/rtx-document-evidence/build_definition.py:45:84
|
||
|
|
||
43 | … 可原文;rgthree仅参考假设')
|
||
44 | …
|
||
45 | …,'未声明文本长度范围;实际路径按output配置和保存命名规则处理','保存ComfyUI,与默认一致。1放大结果经边2到3.images;若实际运行成功,按配置output目录写计数PNG,非Comparer临时预览。元数据受disable_metadata/prompt/extra_pnginfo条件控制;无实际写入或目录可用性证明。',[save],'scalar')],
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^…^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
46 | …
|
||
47 | …e by multiplier、target dimensions','模式标签','准确包仅这两个分支;源保存模式为scale by multiplier','选择倍率分支才使用resize_type.scale;target dimensions才读取width/height。源未保存目标宽高,不补1920/1080为当前值。标签不是实际尺寸或效果证明。',[schema,dynamic,front],'scalar'),
|
||
|
|
||
|
||
E501 Line too long (376 > 100)
|
||
--> docs/hel-892/rtx-document-evidence/build_definition.py:47:83
|
||
|
|
||
45 | … ','未声明文本长度范围;实际路径按output配置和保存命名规则处理','保存ComfyUI,与默认一致。1放大结果经边2到3.images;若实际运行成功,按配置output目录写计数PNG,非Comparer临时预览。元数据受disable_metadata/prompt/extra_pnginfo条件控制;无实际写入或目录可用性证明。',[save],'scalar')],
|
||
46 | …
|
||
47 | …le by multiplier、target dimensions','模式标签','准确包仅这两个分支;源保存模式为scale by multiplier','选择倍率分支才使用resize_type.scale;target dimensions才读取width/height。源未保存目标宽高,不补1920/1080为当前值。标签不是实际尺寸或效果证明。',[schema,dynamic,front],'scalar'),
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^…^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
48 | … ','schema 1.0~4.0,step0.01;仅scale by multiplier分支有效','原JSON int 2与FLOAT schema默认2.0分开。准确实现先int(w*scale)/int(h*scale),再各max(8,round(维度/8)*8);依赖输入尺寸和实际恢复,不把2直接称为实测双倍尺寸或保证清晰度。无物理外线覆盖。',[schema,run,dynamic,front],'scalar'),
|
||
49 | …A','保存ULTRA,准确包映射到nvvfx.effects.QualityLevel.ULTRA;未知值实现回退HIGH不等于允许非法输入。实现经VideoSuperRes.load/run、CUDA张量处理;算法内部、显存/耗时/实际画质及设备可用性未核,ULTRA不保证新增细节。',[schema,run,pkg],'scalar')],
|
||
|
|
||
|
||
E501 Line too long (380 > 100)
|
||
--> docs/hel-892/rtx-document-evidence/build_definition.py:48:83
|
||
|
|
||
46 | …
|
||
47 | …le by multiplier、target dimensions','模式标签','准确包仅这两个分支;源保存模式为scale by multiplier','选择倍率分支才使用resize_type.scale;target dimensions才读取width/height。源未保存目标宽高,不补1920/1080为当前值。标签不是实际尺寸或效果证明。',[schema,dynamic,front],'scalar'),
|
||
48 | … ','schema 1.0~4.0,step0.01;仅scale by multiplier分支有效','原JSON int 2与FLOAT schema默认2.0分开。准确实现先int(w*scale)/int(h*scale),再各max(8,round(维度/8)*8);依赖输入尺寸和实际恢复,不把2直接称为实测双倍尺寸或保证清晰度。无物理外线覆盖。',[schema,run,dynamic,front],'scalar'),
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^…^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
49 | …A','保存ULTRA,准确包映射到nvvfx.effects.QualityLevel.ULTRA;未知值实现回退HIGH不等于允许非法输入。实现经VideoSuperRes.load/run、CUDA张量处理;算法内部、显存/耗时/实际画质及设备可用性未核,ULTRA不保证新增细节。',[schema,run,pkg],'scalar')],
|
||
50 | …
|
||
|
|
||
|
||
E501 Line too long (335 > 100)
|
||
--> docs/hel-892/rtx-document-evidence/build_definition.py:49:87
|
||
|
|
||
47 | …e by multiplier、target dimensions','模式标签','准确包仅这两个分支;源保存模式为scale by multiplier','选择倍率分支才使用resize_type.scale;target dimensions才读取width/height。源未保存目标宽高,不补1920/1080为当前值。标签不是实际尺寸或效果证明…
|
||
48 | …,'schema 1.0~4.0,step0.01;仅scale by multiplier分支有效','原JSON int 2与FLOAT schema默认2.0分开。准确实现先int(w*scale)/int(h*scale),再各max(8,round(维度/8)*8);依赖输入尺寸和实际恢复,不把2直接称为实测双倍尺寸或保证清晰度。无物理外线覆盖。…
|
||
49 | …','保存ULTRA,准确包映射到nvvfx.effects.QualityLevel.ULTRA;未知值实现回退HIGH不等于允许非法输入。实现经VideoSuperRes.load/run、CUDA张量处理;算法内部、显存/耗时/实际画质及设备可用性未核,ULTRA不保证新增细节。',[schema,run,pkg],'scalar')],
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
50 | …
|
||
51 | …目录图片过滤并排序;实际列表/文件存在未知','原样保存ComfyUI_01117_.png,仅文件名不证明已上传或可读。准确核心加载会RGB转换、EXIF方向处理;IMAGE经边1到RTX,另经边6到Comparer.image_a作原图A,MASK未接,不称本图在使用遮罩。',[load],'scalar'),
|
||
|
|
||
|
||
E501 Line too long (591 > 100)
|
||
--> docs/hel-892/rtx-document-evidence/build_definition.py:53:81
|
||
|
|
||
51 | …t目录图片过滤并排序;实际列表/文件存在未知','原样保存ComfyUI_01117_.png,仅文件名不证明已上传或可读。准确核心加载会RGB转换、EXIF方向处理;IMAGE经边1到RTX,另经边6到Comparer.image_a作原图A,MASK未接,不称本图在使用遮罩。',[load],'scalar'),
|
||
52 | … 端状态,无数值单位','源保存image;未核宿主/UE加载次序,不当图片内容、路径或执行参数','保存字符串image是上传控件占位,和上一个图片引用分开保留;不是第二张图、不是上传成功证明。准确前端仅给出注入依据;本轮不执行上传、不访问素材。',[load,upload],'frontend_control')],
|
||
53 | …,'本图身份/版本未知,不能给实际schema默认;固定参考构造images:[]','前端保存列表,无数值单位','原widgets_values=[[]]:唯一顶层位置值=[],不等于缺键、零保存或历史对象','本图无cnr_id/aux_id/ver;只按固定rgthree参考假设解释空列表,不制造A/B缓存、URL或预览。Slide是独立properties.comparer_mode而非第二保存位置。原图A来自2,放大B来自1;准确固定参考实现继承PreviewImage向temp保存比较图,但不能据同名认定本图安装该版本,更不是3的正式output保存。',[compare,comparer_js,empty,preview],'frontend_control')]
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^…^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
54 | …
|
||
55 | …
|
||
|
|
||
|
||
E501 Line too long (263 > 100)
|
||
--> docs/hel-892/rtx-document-evidence/build_definition.py:62:61
|
||
|
|
||
60 | …limits=limits,effect=effect,evidence=ev,role=role,node_id=str(n['id']),scope='root',class_type=n['type'],pointer=f'/nodes/{i}/widgets_values/{k}',value=v,json_type=type(v).…
|
||
61 | …
|
||
62 | … 倍率模式、JSON int 2和ULTRA仅源状态;输入尺寸、动态列表、素材、GPU/驱动和真实效果未核。Comparer无提供方版本、UE7.7与恢复/加载次序未知;仅固定参考,转换关闭、未实跑。'
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
63 | …
|
||
64 | …d_images→3.SaveImage.images;边5:1.upscaled_images→7.image_b(放大B);边6:2.IMAGE→7.image_a(原图A)。LoadImage.MASK未接,无音频/视频节点,不把节点名Video说成当前视频流…
|
||
|
|
||
|
||
E501 Line too long (258 > 100)
|
||
--> docs/hel-892/rtx-document-evidence/build_definition.py:65:84
|
||
|
|
||
63 | …
|
||
64 | …ed_images→3.SaveImage.images;边5:1.upscaled_images→7.image_b(放大B);边6:2.IMAGE→7.image_a(原图A)。LoadImage.MASK未接,无音频/视频节点,不把节点名Video说成当前…
|
||
65 | … 准确0.1.0分支只在倍率模式用scale,先乘输入宽高转int再round到8倍数且至少8;target dimensions的默认1920/1080不当本图保存值。输入未知,不能推实际尺寸/清晰度/速度。',
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
66 | … 射到nvvfx枚举,算法内部未知;实现batch.cuda()、VideoSuperRes.load/run。nvidia-vfx依赖及CUDA设备条件不是已装证明,未固定该运行库版本,硬件代际/驱动最低版本无本包文本依…
|
||
67 | … ,Slide仅属性,不是历史缓存。参考rgthree实现继承PreviewImage向temp写比较预览,与正式保存分开;本图无提供方/版本,无法把参考当实际插件身份,不创建预览、不请求/api/view…
|
||
|
|
||
|
||
E501 Line too long (265 > 100)
|
||
--> docs/hel-892/rtx-document-evidence/build_definition.py:68:86
|
||
|
|
||
66 | … 射到nvvfx枚举,算法内部未知;实现batch.cuda()、VideoSuperRes.load/run。nvidia-vfx依赖及CUDA设备条件不是已装证明,未固定该运行库版本,硬件代际/驱动最低版本无本包文本依据,不…
|
||
67 | … ,Slide仅属性,不是历史缓存。参考rgthree实现继承PreviewImage向temp写比较预览,与正式保存分开;本图无提供方/版本,无法把参考当实际插件身份,不创建预览、不请求/api/view。',
|
||
68 | …Nodes_ComfyUI、comfyui_nvidia_rtx_nodes 0.1.0,准确Registry包固定但Git绑定未知,仓库tag集合为空,不用当前main补齐。Comparer未声明身份,只复用已审固定rgthree文本作假设。',
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
69 | … 是源文本而非目标安装,空ue_links/links_added_by_ue和空可连接表不证明无回调;动态子控件恢复、扩展加载次序未核。不重复调查旧式SetGet/UE历史。',
|
||
70 | …55完整定稿0/必要实跑0/新增转换0,145UI仍9参考候选136关闭。动态图片枚举、文件尺寸/权限、目标安装/设备与最终效果待核。']
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> docs/hel-892/rtx-document-evidence/build_definition.py:71:28
|
||
|
|
||
69 | 'SaveImage/RTX/LoadImage各UE7.7;Comparer的ue_properties缺version。frontendVersion与UE版本是源文本而非目标安装,空ue_links/links…
|
||
70 | '7非注释保存位置=6标量(含上传占位)+1完整空列表,零源注释、无历史媒体对象。原文件不动;155完整定稿0/必要实跑0/新增转换0,145U…
|
||
71 | for e in graph['links']: flow.append('原边 root '+json.dumps(e,ensure_ascii=False))
|
||
| ^
|
||
72 | for n in graph['nodes']: flow.append('原节点 root '+json.dumps({k:n[k] for k in ['id','type','mode','inputs','outputs','properties…
|
||
73 | return dict(source_path=path,source_sha1=hashlib.sha1(raw).hexdigest(),source_sha256=hashlib.sha256(raw).hexdigest(),canonical_sha…
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> docs/hel-892/rtx-document-evidence/build_definition.py:72:28
|
||
|
|
||
70 | '7非注释保存位置=6标量(含上传占位)+1完整空列表,零源注释、无历史媒体对象。原文件不动;155完整定稿0/必要实跑0/新增转换0,145U…
|
||
71 | for e in graph['links']: flow.append('原边 root '+json.dumps(e,ensure_ascii=False))
|
||
72 | for n in graph['nodes']: flow.append('原节点 root '+json.dumps({k:n[k] for k in ['id','type','mode','inputs','outputs','properties…
|
||
| ^
|
||
73 | return dict(source_path=path,source_sha1=hashlib.sha1(raw).hexdigest(),source_sha256=hashlib.sha256(raw).hexdigest(),canonical_sha…
|
||
|
|
||
|
||
E501 Line too long (168 > 100)
|
||
--> docs/hel-892/rtx-document-evidence/build_definition.py:72:98
|
||
|
|
||
70 | … 历史媒体对象。原文件不动;155完整定稿0/必要实跑0/新增转换0,145UI仍9参考候选136关闭。动态图片枚举、文件尺寸/权限、目标安装/设备与最…
|
||
71 | …nsure_ascii=False))
|
||
72 | …k:n[k] for k in ['id','type','mode','inputs','outputs','properties'] if k in n},ensure_ascii=False))
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
73 | …gest(),source_sha256=hashlib.sha256(raw).hexdigest(),canonical_sha256=hashlib.sha256(canonical(graph)).hexdigest(),notice='准确来源…
|
||
|
|
||
|
||
E501 Line too long (1248 > 100)
|
||
--> docs/hel-892/rtx-document-evidence/build_definition.py:73:101
|
||
|
|
||
71 | …
|
||
72 | …','mode','inputs','outputs','properties'] if k in n},ensure_ascii=False))
|
||
73 | …b.sha256(raw).hexdigest(),canonical_sha256=hashlib.sha256(canonical(graph)).hexdigest(),notice='准确来源仅参考;RTX包Git绑定、Comparer身份、UE恢复与设备/效果未知,转换关闭、未实跑。',user_overview=overview,versions=['core0.16.4→a7a6335be538f55faa2abf7404c9b8e970847d1f;frontend1.39.19→d91c283b7b758787b4d29126c1a9ac39dc14d6a7。','RTX准确Registry0.1.0发布包SHA另列,Git绑定未知;不借最新版。','Comparer仅复用rgthree449c58fcdd612f7733e54c51f6758ead63fa180b固定参考,源身份未知;UE7.7及Comparer缺版本、恢复次序未知。'],counts=dict(saved_fields=7,source_nodes=4,physical_edges=4,source_notes=0,history_objects=0,linked_saved_fields=0,frontend_only=2,final_scalars=0,final_prompt_constructed=False),fields=fields,sources=refs,comments=[],flow=flow,flow_evidence=list(range(len(refs))),zero_saved_nodes=[],steps=[overview,'操作1:核原图A/放大B四条物理边及MASK未接,保持停用,不上传素材。','操作2:区分倍率2的JSON类型、条件schema与未测尺寸/效果,核GPU/驱动条件但不执行。','操作3:核ComfyUI正式前缀与Comparer空列表/Slide属性,未知身份只参考,不创建缓存。','常见问题:动态图片列表/文件、运行库/设备、Comparer版本和UE恢复次序未知;当前不是可靠转换或生成入口。'])
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^…^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> docs/hel-892/rtx-document-evidence/fetch_metadata.py:22:57
|
||
|
|
||
20 | def main():
|
||
21 | for name,url in URLS.items():
|
||
22 | with urllib.request.urlopen(url,timeout=30) as r: raw=r.read(3000001)
|
||
| ^
|
||
23 | assert len(raw)<3000000
|
||
24 | (REF/(name+'.json')).write_bytes(raw)
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> docs/hel-892/rtx-document-evidence/fetch_metadata.py:27:69
|
||
|
|
||
25 | meta=json.loads((REF/'rtx-version.json').read_bytes())
|
||
26 | assert meta['version']=='0.1.0' and meta['node_id']=='comfyui_nvidia_rtx_nodes'
|
||
27 | with urllib.request.urlopen(meta['downloadUrl'],timeout=30) as r: raw=r.read(2000001)
|
||
| ^
|
||
28 | assert len(raw)<2000000 and hashlib.sha256(raw).hexdigest()=='90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba'
|
||
29 | (REF/'rtx-0.1.0-source.zip').write_bytes(raw)
|
||
|
|
||
|
||
E501 Line too long (131 > 100)
|
||
--> docs/hel-892/rtx-document-evidence/fetch_metadata.py:28:101
|
||
|
|
||
26 | assert meta['version']=='0.1.0' and meta['node_id']=='comfyui_nvidia_rtx_nodes'
|
||
27 | with urllib.request.urlopen(meta['downloadUrl'],timeout=30) as r: raw=r.read(2000001)
|
||
28 | assert len(raw)<2000000 and hashlib.sha256(raw).hexdigest()=='90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba'
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
29 | (REF/'rtx-0.1.0-source.zip').write_bytes(raw)
|
||
30 | with zipfile.ZipFile(io.BytesIO(raw)) as z:
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> docs/hel-892/rtx-document-evidence/fetch_metadata.py:35:24
|
||
|
|
||
33 | print('PASS bounded metadata/source package; no runtime library downloaded')
|
||
34 |
|
||
35 | if __name__=='__main__': main()
|
||
| ^
|
||
|
||
E501 Line too long (146 > 100)
|
||
--> docs/hel-892/rtx-document-evidence/fetch_sources.py:10:101
|
||
|
|
||
8 | …
|
||
9 | …
|
||
10 | …4c9b8e970847d1f', ['nodes.py', 'folder_paths.py', 'comfy_api/latest/_io.py', 'LICENSE']),
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
11 | …8787b4d29126c1a9ac39dc14d6a7', ['src/core/graph/widgets/dynamicWidgets.ts', 'src/scripts/widgets.ts', 'src/extensions/core/uploadImag…
|
||
12 | …
|
||
|
|
||
|
||
E501 Line too long (209 > 100)
|
||
--> docs/hel-892/rtx-document-evidence/fetch_sources.py:11:101
|
||
|
|
||
9 | …
|
||
10 | …'folder_paths.py', 'comfy_api/latest/_io.py', 'LICENSE']),
|
||
11 | …['src/core/graph/widgets/dynamicWidgets.ts', 'src/scripts/widgets.ts', 'src/extensions/core/uploadImage.ts', 'LICENSE']),
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
12 | …
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> docs/hel-892/rtx-document-evidence/fetch_sources.py:25:40
|
||
|
|
||
23 | blob=hashlib.sha1(b'blob '+str(len(raw)).encode()+b'\0'+raw).hexdigest()
|
||
24 | assert blob==blobs[file]
|
||
25 | name=key+'__'+file.replace('/','__');(REF/name).write_bytes(raw)
|
||
| ^
|
||
26 | es.append(dict(id=key,file=file,local_file=name,url=url,commit=commit,sha256=hashlib.sha256(raw).hexdigest(),git_blob_sha1=blob))
|
||
27 | for e in json.loads((OUT.parent/'qwen-edit-reference/sources.json').read_bytes())['sources']:
|
||
|
|
||
|
||
E501 Line too long (120 > 100)
|
||
--> docs/hel-892/rtx-document-evidence/fetch_sources.py:28:101
|
||
|
|
||
26 | es.append(dict(id=key,file=file,local_file=name,url=url,commit=commit,sha256=hashlib.sha256(raw).hexdigest(),git_blob_sha1=blob))
|
||
27 | for e in json.loads((OUT.parent/'qwen-edit-reference/sources.json').read_bytes())['sources']:
|
||
28 | if e['id'].startswith('rgthree/') and e['file'] in ['py/image_comparer.py','web/comfyui/image_comparer.js','LICENSE']:
|
||
| ^^^^^^^^^^^^^^^^^^^^
|
||
29 | es.append({**e,'id':'rgthree','local_file':'../qwen-edit-reference/'+e['local_file'],'identity_binding':'reference hypothesis only;…
|
||
30 | package=json.loads((REF/'rtx-package.json').read_bytes())
|
||
|
|
||
|
||
E501 Line too long (173 > 100)
|
||
--> docs/hel-892/rtx-document-evidence/fetch_sources.py:29:101
|
||
|
|
||
27 | …ead_bytes())['sources']:
|
||
28 | …er.py','web/comfyui/image_comparer.js','LICENSE']:
|
||
29 | …'+e['local_file'],'identity_binding':'reference hypothesis only; source node has no provider/version'})
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
30 | …
|
||
31 | …
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> docs/hel-892/rtx-document-evidence/fetch_sources.py:32:20
|
||
|
|
||
30 | package=json.loads((REF/'rtx-package.json').read_bytes())
|
||
31 | for file in ['__init__.py','pyproject.toml','README.md','LICENSE']:
|
||
32 | name='rtx__'+file;raw=(REF/name).read_bytes()
|
||
| ^
|
||
33 | es.append(dict(id='rtx',file=file,local_file=name,url=package['url'],commit='发布包SHA256:'+package['sha256'],git_commit_binding='un…
|
||
34 | (REF/'sources.json').write_text(json.dumps({'sources':es},ensure_ascii=False,indent=2)+'\n')
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> docs/hel-892/rtx-document-evidence/fetch_sources.py:37:24
|
||
|
|
||
35 | print('PASS bounded exact texts',len(es))
|
||
36 |
|
||
37 | if __name__=='__main__': main()
|
||
| ^
|
||
|
||
E501 Line too long (105 > 100)
|
||
--> docs/hel-892/rtx-document-evidence/verify_sources.py:34:101
|
||
|
|
||
32 | assert tree['sha']==e['commit'] and not tree['truncated']
|
||
33 | blob=hashlib.sha1(b'blob '+str(len(raw)).encode()+b'\0'+raw).hexdigest()
|
||
34 | assert blob==e['git_blob_sha1']==next(x['sha'] for x in tree['tree'] if x['path']==e['file'])
|
||
| ^^^^^
|
||
35 | counts['git_texts']+=1
|
||
36 | tags={}
|
||
|
|
||
|
||
E501 Line too long (114 > 100)
|
||
--> docs/hel-892/rtx-document-evidence/verify_sources.py:39:101
|
||
|
|
||
37 | for key in ['core','frontend']:
|
||
38 | t=json.loads((REF/(key+'-tag.json')).read_bytes())
|
||
39 | assert t['object']['type']=='commit' and t['object']['sha']==next(e['commit'] for e in es if e['id']==key)
|
||
| ^^^^^^^^^^^^^^
|
||
40 | tags[key]=t['object']['sha']
|
||
41 | b=build()
|
||
|
|
||
|
||
E501 Line too long (286 > 100)
|
||
--> docs/hel-892/rtx-document-evidence/verify_sources.py:46:101
|
||
|
|
||
44 | …
|
||
45 | …
|
||
46 | …ags=tags,package_git_binding='unknown',comparer_identity='unknown; fixed reference only',all_pass=True,local_file_base='docs/hel-892/rtx-document-evidence'),ensure_ascii=False,indent=2)+'\n')
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
47 | …
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> docs/hel-892/rtx-document-evidence/verify_sources.py:49:24
|
||
|
|
||
47 | print('PASS exact sources',counts)
|
||
48 |
|
||
49 | if __name__=='__main__': main()
|
||
| ^
|
||
|
||
Found 56 errors (3 fixed, 53 remaining).
|