E702 Multiple statements on one line (semicolon) --> calliope-backend/tests/test_flux2_print_fixed_document.py:86:13 | 85 | def test_print_extraction_semantics_and_exact_boundaries(): 86 | g=SOURCE; sub=g["definitions"]["subgraphs"][0] | ^ 87 | ns={n["id"]:n for n in g["nodes"]}; inner={n["id"]:n for n in sub["nodes"]} 88 | assert ns[144]["widgets_values"] == [False,"1080x1920 (9:16) (竖屏)",1024,1024] | E702 Multiple statements on one line (semicolon) --> calliope-backend/tests/test_flux2_print_fixed_document.py:87:39 | 85 | def test_print_extraction_semantics_and_exact_boundaries(): 86 | g=SOURCE; sub=g["definitions"]["subgraphs"][0] 87 | ns={n["id"]:n for n in g["nodes"]}; inner={n["id"]:n for n in sub["nodes"]} | ^ 88 | assert ns[144]["widgets_values"] == [False,"1080x1920 (9:16) (竖屏)",1024,1024] 89 | assert ns[146]["widgets_values"] == [512,512,"nearest-exact","crop","0, 0, 0","center",8,"cpu"] | E501 Line too long (167 > 100) --> calliope-backend/tests/test_flux2_print_fixed_document.py:90:101 | 88 | … 屏)",1024,1024] 89 | …rop","0, 0, 0","center",8,"cpu"] 90 | …84,76,0,147,0,"IMAGE"],[290,149,0,147,1,"IMAGE"],[289,149,0,9,0,"IMAGE"],[285,147,0,148,0,"IMAGE"]]: | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 91 | … 92 | …6,0,101,2),(141,0,140,1),(141,0,139,1),(111,0,103,4),(106,0,142,0),(142,0,102,0)]: | E501 Line too long (149 > 100) --> calliope-backend/tests/test_flux2_print_fixed_document.py:92:101 | 90 | …"INT"],[284,76,0,147,0,"IMAGE"],[290,149,0,147,1,"IMAGE"],[289,149,0,9,0,"IMAGE"],[285,147,0,148,0,"IMAGE"]]: 91 | … 92 | …11,1),(136,0,101,2),(141,0,140,1),(141,0,139,1),(111,0,103,4),(106,0,142,0),(142,0,102,0)]: | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 93 | …get_id"],e["target_slot"])==(a,ao,z,zi) for e in sub["links"]) 94 | … | E501 Line too long (120 > 100) --> calliope-backend/tests/test_flux2_print_fixed_document.py:93:101 | 91 | assert edge in g["links"] 92 | for a,ao,z,zi in [(135,0,111,0),(135,0,101,1),(136,0,111,1),(136,0,101,2),(141,0,140,1),(141,0,139,1),(111,0,103,4),(106,0,142,0),… 93 | assert any((e["origin_id"],e["origin_slot"],e["target_id"],e["target_slot"])==(a,ao,z,zi) for e in sub["links"]) | ^^^^^^^^^^^^^^^^^^^^ 94 | assert sub["outputs"][0]["linkIds"] == [201,201] 95 | assert ns[9]["outputs"] == ns[148]["outputs"] == [] | E501 Line too long (113 > 100) --> calliope-backend/tests/test_flux2_print_fixed_document.py:160:101 | 158 | sub=s["definitions"]["subgraphs"][0] 159 | if variant=="path": 160 | assert not build_document(PATH+".forged",s,None,None,[],r).get("fixed_version", {}).get("matched", False) | ^^^^^^^^^^^^^ 161 | return 162 | if variant=="source_sha":r["fixed_version_document"]["source_sha256"]="0"*64 | E701 Multiple statements on one line (colon) --> calliope-backend/tests/test_flux2_print_fixed_document.py:162:29 | 160 | assert not build_document(PATH+".forged",s,None,None,[],r).get("fixed_version", {}).get("matched", False) 161 | return 162 | if variant=="source_sha":r["fixed_version_document"]["source_sha256"]="0"*64 | ^ 163 | elif variant=="source_citation":r["fixed_version_document"]["sources"][0]["sha256"]="0"*64 164 | elif variant=="note":next(n for n in s["nodes"] if n["id"]==97)["widgets_values"][0]+="forged" | E701 Multiple statements on one line (colon) --> calliope-backend/tests/test_flux2_print_fixed_document.py:163:36 | 161 | return 162 | if variant=="source_sha":r["fixed_version_document"]["source_sha256"]="0"*64 163 | elif variant=="source_citation":r["fixed_version_document"]["sources"][0]["sha256"]="0"*64 | ^ 164 | elif variant=="note":next(n for n in s["nodes"] if n["id"]==97)["widgets_values"][0]+="forged" 165 | elif variant=="proxy":s["nodes"][6]["properties"]["proxyWidgets"][0][0]="999" | E701 Multiple statements on one line (colon) --> calliope-backend/tests/test_flux2_print_fixed_document.py:164:25 | 162 | if variant=="source_sha":r["fixed_version_document"]["source_sha256"]="0"*64 163 | elif variant=="source_citation":r["fixed_version_document"]["sources"][0]["sha256"]="0"*64 164 | elif variant=="note":next(n for n in s["nodes"] if n["id"]==97)["widgets_values"][0]+="forged" | ^ 165 | elif variant=="proxy":s["nodes"][6]["properties"]["proxyWidgets"][0][0]="999" 166 | elif variant=="output_duplicates":sub["outputs"][0]["linkIds"]=[201] | E701 Multiple statements on one line (colon) --> calliope-backend/tests/test_flux2_print_fixed_document.py:165:26 | 163 | elif variant=="source_citation":r["fixed_version_document"]["sources"][0]["sha256"]="0"*64 164 | elif variant=="note":next(n for n in s["nodes"] if n["id"]==97)["widgets_values"][0]+="forged" 165 | elif variant=="proxy":s["nodes"][6]["properties"]["proxyWidgets"][0][0]="999" | ^ 166 | elif variant=="output_duplicates":sub["outputs"][0]["linkIds"]=[201] 167 | elif variant=="boundary_name":sub["inputs"][7]["name"]="width" | E701 Multiple statements on one line (colon) --> calliope-backend/tests/test_flux2_print_fixed_document.py:166:38 | 164 | elif variant=="note":next(n for n in s["nodes"] if n["id"]==97)["widgets_values"][0]+="forged" 165 | elif variant=="proxy":s["nodes"][6]["properties"]["proxyWidgets"][0][0]="999" 166 | elif variant=="output_duplicates":sub["outputs"][0]["linkIds"]=[201] | ^ 167 | elif variant=="boundary_name":sub["inputs"][7]["name"]="width" 168 | elif variant=="boundary_type":sub["inputs"][7]["type"]="INT" | E701 Multiple statements on one line (colon) --> calliope-backend/tests/test_flux2_print_fixed_document.py:167:34 | 165 | elif variant=="proxy":s["nodes"][6]["properties"]["proxyWidgets"][0][0]="999" 166 | elif variant=="output_duplicates":sub["outputs"][0]["linkIds"]=[201] 167 | elif variant=="boundary_name":sub["inputs"][7]["name"]="width" | ^ 168 | elif variant=="boundary_type":sub["inputs"][7]["type"]="INT" 169 | elif variant=="definition_widgets":sub["widgets"]=[0] | E701 Multiple statements on one line (colon) --> calliope-backend/tests/test_flux2_print_fixed_document.py:168:34 | 166 | elif variant=="output_duplicates":sub["outputs"][0]["linkIds"]=[201] 167 | elif variant=="boundary_name":sub["inputs"][7]["name"]="width" 168 | elif variant=="boundary_type":sub["inputs"][7]["type"]="INT" | ^ 169 | elif variant=="definition_widgets":sub["widgets"]=[0] 170 | elif variant=="frontend":s["extra"]["frontendVersion"]="1.40.0" | E701 Multiple statements on one line (colon) --> calliope-backend/tests/test_flux2_print_fixed_document.py:169:39 | 167 | elif variant=="boundary_name":sub["inputs"][7]["name"]="width" 168 | elif variant=="boundary_type":sub["inputs"][7]["type"]="INT" 169 | elif variant=="definition_widgets":sub["widgets"]=[0] | ^ 170 | elif variant=="frontend":s["extra"]["frontendVersion"]="1.40.0" 171 | refuse(s,r) | E701 Multiple statements on one line (colon) --> calliope-backend/tests/test_flux2_print_fixed_document.py:170:29 | 168 | elif variant=="boundary_type":sub["inputs"][7]["type"]="INT" 169 | elif variant=="definition_widgets":sub["widgets"]=[0] 170 | elif variant=="frontend":s["extra"]["frontendVersion"]="1.40.0" | ^ 171 | refuse(s,r) | E501 Line too long (101 > 100) --> docs/hel-892/flux2-print-document-evidence/bind_sources.py:14:101 | 12 | def main(): 13 | rows = [] 14 | for stem, keys in [('flux2-img', {'core', 'lora', 'tt', 'kj'}), ('flux2-restore', {'frontend'})]: | ^ 15 | origin = REF.parent / (stem + '-reference') 16 | for old in json.loads((origin / 'sources.json').read_bytes())['sources']: | E501 Line too long (133 > 100) --> docs/hel-892/flux2-print-document-evidence/bind_sources.py:33:101 | 31 | assert hashlib.sha256((REF / e['local_file']).read_bytes()).hexdigest() == e['sha256'] 32 | rows.append(e) 33 | (REF / 'sources.json').write_text(json.dumps({'sources': rows, 'upstream_executed': False}, ensure_ascii=False, indent=2) + '\n') | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 34 | print('PASS', len(rows), 'static original texts rebound') | E501 Line too long (270 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:19:74 | 18 | … 19 | …ge1。MASK links=null未接。properties.image另保存clipspace/clipspace-painted-masked-1778737197714.png [input];它与控件文件名分开,不读取媒体,不证明MASK连接或实际图片内容。', | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 20 | … 支才用custom缓存;宽槽0经276→146.width、高槽1经278→146.height,覆盖两处512缓存。仅静态参考,不试算最终尺寸,TT许可未知。', 21 | … 0→149.pixels;准确宽slot1经300→宿主空名输入索引7(label width),高slot2经299→_1索引8(label height)。MASK输入无外线、mask出口links=[]未接,非局部遮罩编辑;不试算尺寸。', | E501 Line too long (220 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:20:77 | 18 | … 19 | …mage1。MASK links=null未接。properties.image另保存clipspace/clipspace-painted-masked-1778737197714.png [input];它与控件文件名分开,… 20 | … 分支才用custom缓存;宽槽0经276→146.width、高槽1经278→146.height,覆盖两处512缓存。仅静态参考,不试算最终尺寸,TT许可未知。', | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 21 | …E槽0→149.pixels;准确宽slot1经300→宿主空名输入索引7(label width),高slot2经299→_1索引8(label height)。MASK输入无外线、mask出口lin… 22 | …临时预览。原图在左、生成在右,非Comparer滑块。源两输入type原拼IMAGE,MASK,准确KJ假设schema只声明IMAGE;保留差异,不把逗号联合口当实际… | E501 Line too long (268 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:21:85 | 19 | …age1。MASK links=null未接。properties.image另保存clipspace/clipspace-painted-masked-1778737197714.png [input];它与控件文件名分开,不读取媒体,不证明MASK连接或实际图片内容。', 20 | … 分支才用custom缓存;宽槽0经276→146.width、高槽1经278→146.height,覆盖两处512缓存。仅静态参考,不试算最终尺寸,TT许可未知。', 21 | …槽0→149.pixels;准确宽slot1经300→宿主空名输入索引7(label width),高slot2经299→_1索引8(label height)。MASK输入无外线、mask出口links=[]未接,非局部遮罩编辑;不试算尺寸。', | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 22 | … 时预览。原图在左、生成在右,非Comparer滑块。源两输入type原拼IMAGE,MASK,准确KJ假设schema只声明IMAGE;保留差异,不把逗号联合口当实际MASK已连接。无提供方/版本,仅明确KJ1.3.9参考… 23 | …)一致,无IMAGE输出冲突。准确PNG、output目录/递增命名与ui.images描述仅静态说明,真实目录/history/成功未知;此处保存生成图,147拼接只送148临时预览。', | E501 Line too long (446 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:22:76 | 20 | … 分支才用custom缓存;宽槽0经276→146.width、高槽1经278→146.height,覆盖两处512缓存。仅静态参考,不试算最终尺寸,TT许可未知。', 21 | …槽0→149.pixels;准确宽slot1经300→宿主空名输入索引7(label width),高slot2经299→_1索引8(label height)。MASK输入无外线、mask出口links=[]未接,非局部遮罩编辑;不试算尺寸。', 22 | … 时预览。原图在左、生成在右,非Comparer滑块。源两输入type原拼IMAGE,MASK,准确KJ假设schema只声明IMAGE;保留差异,不把逗号联合口当实际MASK已连接。无提供方/版本,仅明确KJ1.3.9参考假设:批次不同重复较短批次最后图;right/left按image1高度保比例缩放image2(lanczos),上下按宽;通道不同时加全1通道后沿方向cat。未执行,不保证原图内容、像素、尺寸或批次不变。', | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^…^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 23 | …)一致,无IMAGE输出冲突。准确PNG、output目录/递增命名与ui.images描述仅静态说明,真实目录/history/成功未知;此处保存生成图,147拼接只送148临时预览。', 24 | … JSON类型,不保证抽取或白底效果。', | E501 Line too long (243 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:23:85 | 21 | …槽0→149.pixels;准确宽slot1经300→宿主空名输入索引7(label width),高slot2经299→_1索引8(label height)。MASK输入无外线、mask出口links=[]未接,非局部遮… 22 | … 时预览。原图在左、生成在右,非Comparer滑块。源两输入type原拼IMAGE,MASK,准确KJ假设schema只声明IMAGE;保留差异,不把逗号联合口当实际MASK已连接。无提供方… 23 | …)一致,无IMAGE输出冲突。准确PNG、output目录/递增命名与ui.images描述仅静态说明,真实目录/history/成功未知;此处保存生成图,147拼接只送148临时预览。', | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 24 | … JSON类型,不保证抽取或白底效果。', 25 | … 准确frontend1.36.13生成后控制与后端seed/缓存分列,不运行种子、钩子或计算下一值,不承诺复现。', | E501 Line too long (131 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:24:81 | 22 | …age2经290来自149生成;保存right/true,147→148临时预览。原图在左、生成在右,非Comparer滑块。源两输入type原拼IMAGE,MASK,准确KJ假设sche… 23 | …in。源outputs=[]与准确core0.8.2 RETURN_TYPES=()一致,无IMAGE输出冲突。准确PNG、output目录/递增命名与ui.images描述仅静态说明,真实目录… 24 | … 接142模型、140正向和139负向→103.guider;不改源JSON类型,不保证抽取或白底效果。', | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 25 | … 助,105.NOISE→103;宿主只有代理没有具名保存。准确frontend1.36.13生成后控制与后端seed/缓存分列,不运行种子、钩子或计算下一值,不承诺… 26 | … 读,不运行采样器,不保证质量/兼容/耗时。', | E501 Line too long (190 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:25:75 | 23 | …2 RETURN_TYPES=()一致,无IMAGE输出冲突。准确PNG、output目录/递增命名与ui.images描述仅静态说明,真实目录/history/成功未知;此处保存生… 24 | …103.guider;不改源JSON类型,不保证抽取或白底效果。', 25 | … 理没有具名保存。准确frontend1.36.13生成后控制与后端seed/缓存分列,不运行种子、钩子或计算下一值,不承诺复现。', | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 26 | …兼容/耗时。', 27 | … 线覆盖。141参考latent仅进入条件,非采样起点、像素复合或遮罩编辑。', | E501 Line too long (147 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:27:80 | 25 | …5.NOISE→103;宿主只有代理没有具名保存。准确frontend1.36.13生成后控制与后端seed/缓存分列,不运行种子、钩子或计算下一值,不承诺复现。', 26 | … 行采样器,不保证质量/兼容/耗时。', 27 | …1024/1,宽高经135/136外线覆盖。141参考latent仅进入条件,非采样起点、像素复合或遮罩编辑。', | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 28 | …IGMAS→103。135宽与136高分别同时覆盖101和111共四处1024缓存;不推定空宿主中的实际值,不求sigmas或最终尺寸。', 29 | …rs/default,106→142活动LoRA→102.model;unet_name经边界291来自宿主索引1,无外线与具名保存,内部缓存/代理未知分列。作者Note推荐base不… | E501 Line too long (165 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:28:87 | 26 | … 不保证质量/兼容/耗时。', 27 | … 高经135/136外线覆盖。141参考latent仅进入条件,非采样起点、像素复合或遮罩编辑。', 28 | …3。135宽与136高分别同时覆盖101和111共四处1024缓存;不推定空宿主中的实际值,不求sigmas或最终尺寸。', | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 29 | …t,106→142活动LoRA→102.model;unet_name经边界291来自宿主索引1,无外线与具名保存,内部缓存/代理未知分列。作者Note推荐base不证明实际非b… 30 | …lein-9B_lcs_consist_20260415_一致性小志版.safetensors/0.8。106→142→102;lora_name边界292对应宿主索引2无外线/保存。继承只更新MODEL,… | E501 Line too long (220 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:29:92 | 27 | … latent仅进入条件,非采样起点、像素复合或遮罩编辑。', 28 | …01和111共四处1024缓存;不推定空宿主中的实际值,不求sigmas或最终尺寸。', 29 | …;unet_name经边界291来自宿主索引1,无外线与具名保存,内部缓存/代理未知分列。作者Note推荐base不证明实际非base保存兼容或许可。', | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 30 | …_一致性小志版.safetensors/0.8。106→142→102;lora_name边界292对应宿主索引2无外线/保存。继承只更新MODEL,零强度返回、文件名缓存和非零… 31 | …ame边界293对应宿主索引3无外线、保存[]。模型元数据单列,不证明目标dtype/设备/模型许可或兼容。', | E501 Line too long (275 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:30:86 | 28 | …和111共四处1024缓存;不推定空宿主中的实际值,不求sigmas或最终尺寸。', 29 | …net_name经边界291来自宿主索引1,无外线与具名保存,内部缓存/代理未知分列。作者Note推荐base不证明实际非base保存兼容或许可。', 30 | … 致性小志版.safetensors/0.8。106→142→102;lora_name边界292对应宿主索引2无外线/保存。继承只更新MODEL,零强度返回、文件名缓存和非零读取条件仅读,不保证加载成功、一致性或印花效果。', | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 31 | …e边界293对应宿主索引3无外线、保存[]。模型元数据单列,不证明目标dtype/设备/模型许可或兼容。', 32 | … 编码和104生成解码;vae_name边界294对应宿主索引4无外线/保存。准确0.8.2动态枚举、解析文件、读取后构造VAE并校验的条件仅读,不据名称证明模型家族、目录存在或兼容。', | E501 Line too long (188 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:31:88 | 29 | … LoRA→102.model;unet_name经边界291来自宿主索引1,无外线与具名保存,内部缓存/代理未知分列。作者Note推荐base不证明实际非base保存兼容… 30 | …consist_20260415_一致性小志版.safetensors/0.8。106→142→102;lora_name边界292对应宿主索引2无外线/保存。继承只更新MODEL,零强度返回、… 31 | … 109负向;clip_name边界293对应宿主索引3无外线、保存[]。模型元数据单列,不证明目标dtype/设备/模型许可或兼容。', | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 32 | …er。110同时供141参考编码和104生成解码;vae_name边界294对应宿主索引4无外线/保存。准确0.8.2动态枚举、解析文件、读取后构造VAE并校验的条… 33 | … 案,以平整独立设计呈现在干净白底,特别要求不要擦除、模糊或移除图案。108→140追加141参考→102.positive;text边界295对应宿主索引5无外线… | E501 Line too long (258 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:32:84 | 30 | …一致性小志版.safetensors/0.8。106→142→102;lora_name边界292对应宿主索引2无外线/保存。继承只更新MODEL,零强度返回、文件名缓存和非零读取条件仅读,不保证加载成功、一致性… 31 | …me边界293对应宿主索引3无外线、保存[]。模型元数据单列,不证明目标dtype/设备/模型许可或兼容。', 32 | … 考编码和104生成解码;vae_name边界294对应宿主索引4无外线/保存。准确0.8.2动态枚举、解析文件、读取后构造VAE并校验的条件仅读,不据名称证明模型家族、目录存在或兼容。', | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 33 | … 计呈现在干净白底,特别要求不要擦除、模糊或移除图案。108→140追加141参考→102.positive;text边界295对应宿主索引5无外线、空保存/代理与内部缓存分列。全文原样保留,只是作者… 34 | … 应宿主text_1索引6无外线、空保存与代理恢复未知分列。空文本不等于负向条件不存在,不保证消除人体或衣服。', | E501 Line too long (330 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:33:56 | 31 | …me边界293对应宿主索引3无外线、保存[]。模型元数据单列,不证明目标dtype/设备/模型许可或兼容。', 32 | … 考编码和104生成解码;vae_name边界294对应宿主索引4无外线/保存。准确0.8.2动态枚举、解析文件、读取后构造VAE并校验的条件仅读,不据名称证明模型家族、目录存在或兼容。', 33 | … 计呈现在干净白底,特别要求不要擦除、模糊或移除图案。108→140追加141参考→102.positive;text边界295对应宿主索引5无外线、空保存/代理与内部缓存分列。全文原样保留,只是作者意图,不保证抽取、白底、透明PNG、矢量、无缝、文字/logo准确或版权。', | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 34 | … 应宿主text_1索引6无外线、空保存与代理恢复未知分列。空文本不等于负向条件不存在,不保证消除人体或衣服。', 35 | … | E501 Line too long (199 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:34:71 | 32 | …10同时供141参考编码和104生成解码;vae_name边界294对应宿主索引4无外线/保存。准确0.8.2动态枚举、解析文件、读取后构造VAE并校验的条件仅… 33 | … 以平整独立设计呈现在干净白底,特别要求不要擦除、模糊或移除图案。108→140追加141参考→102.positive;text边界295对应宿主索引5无外线、空… 34 | …ext边界296对应宿主text_1索引6无外线、空保存与代理恢复未知分列。空文本不等于负向条件不存在,不保证消除人体或衣服。', | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 35 | … 36 | … | E501 Line too long (202 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:38:78 | 36 | … 37 | …, 38 | …mp目录/随机前缀、压缩级别与ui.images;源outputs=[]与该假设一致,无IMAGE返回。临时预览不是9正式PNG或本次已生成证据。', | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 39 | … 9输入分开,不制造promoted/具名值。pixels/宽高有外线,其余无外线,UE/tab/宿主恢复未知。', 40 | … 和255→139负向。', | E501 Line too long (174 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:39:72 | 37 | … 不下载字体。', 38 | … SaveImage、temp目录/随机前缀、压缩级别与ui.images;源outputs=[]与该假设一致,无IMAGE返回。临时预览不是9正式PNG或本次已生成证据。', 39 | … 保留。10代理与9输入分开,不制造promoted/具名值。pixels/宽高有外线,其余无外线,UE/tab/宿主恢复未知。', | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 40 | … 经256→140正向和255→139负向。', 41 | …rence_latents按现列表append,非像素拼接。', | E501 Line too long (103 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:40:84 | 38 | 148: '147拼接→148;无提供方/版本,仅core0.8.2 PreviewImage假设:继承SaveImage、temp目录/随机前缀、压缩级别与ui.images;源outputs=[… 39 | 149: '宿主身份/版本未知;widgets_values=[]零位置、定义widgets=[]分别保留。10代理与9输入分开,不制造promoted/具名值。pixels/宽高有… 40 | 141: '149.pixels→边界281→141.VAEEncode,110.VAE供编码;参考latent同时经256→140正向和255→139负向。', | ^^ 41 | 140: '108正向经258→140,追加141参考latent后经261→102.positive;reference_latents按现列表append,非像素拼接。', 42 | 139: '109空串编码经259→139,同样追加141参考latent后经262→102.negative,不能省略负向引用。', | E501 Line too long (114 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:41:85 | 39 | 149: '宿主身份/版本未知;widgets_values=[]零位置、定义widgets=[]分别保留。10代理与9输入分开,不制造promoted/具名值。pixels/宽高有… 40 | 141: '149.pixels→边界281→141.VAEEncode,110.VAE供编码;参考latent同时经256→140正向和255→139负向。', 41 | 140: '108正向经258→140,追加141参考latent后经261→102.positive;reference_latents按现列表append,非像素拼接。', | ^^^^^^^^^^^^^^ 42 | 139: '109空串编码经259→139,同样追加141参考latent后经262→102.negative,不能省略负向引用。', 43 | 103: '111空latent是采样起点;103输出slot0经197→104解码,第二LATENT denoised_output links=[]未接,不冒充已去噪产物。', | E501 Line too long (121 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:43:84 | 41 | 140: '108正向经258→140,追加141参考latent后经261→102.positive;reference_latents按现列表append,非像素拼接。', 42 | 139: '109空串编码经259→139,同样追加141参考latent后经262→102.negative,不能省略负向引用。', 43 | 103: '111空latent是采样起点;103输出slot0经197→104解码,第二LATENT denoised_output links=[]未接,不冒充已去噪产物。', | ^^^^^^^^^^^^^^^^^^^^ 44 | 104: '103.slot0与110.VAE→104解码→定义201→149生成→9正式保存及147.image2;定义输出linkIds=[201,201]重复两次,物理201仅一条;两者分… 45 | 135: '宿主输入空名、label width,经边界297→135,再经244→101.width和253→111.width;来源146宽slot1经300,四处覆盖中的两处。Reroute… | E501 Line too long (164 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:44:84 | 42 | …egative,不能省略负向引用。', 43 | …TENT denoised_output links=[]未接,不冒充已去噪产物。', 44 | …7.image2;定义输出linkIds=[201,201]重复两次,物理201仅一条;两者分别保留,不去重或据此模拟恢复。', | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 45 | …dth和253→111.width;来源146宽slot1经300,四处覆盖中的两处。Reroute缺保存键,不造值。', 46 | …ght和254→111.height;来源146高slot2经299,四处覆盖中的另两处。Reroute缺保存键,不造值。', | E501 Line too long (152 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:45:82 | 43 | … 二LATENT denoised_output links=[]未接,不冒充已去噪产物。', 44 | … 及147.image2;定义输出linkIds=[201,201]重复两次,物理201仅一条;两者分别保留,不去重或据此模拟恢复。', 45 | …101.width和253→111.width;来源146宽slot1经300,四处覆盖中的两处。Reroute缺保存键,不造值。', | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 46 | …01.height和254→111.height;来源146高slot2经299,四处覆盖中的另两处。Reroute缺保存键,不造值。', 47 | … | E501 Line too long (155 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:46:84 | 44 | … 及147.image2;定义输出linkIds=[201,201]重复两次,物理201仅一条;两者分别保留,不去重或据此模拟恢复。', 45 | …01.width和253→111.width;来源146宽slot1经300,四处覆盖中的两处。Reroute缺保存键,不造值。', 46 | …1.height和254→111.height;来源146高slot2经299,四处覆盖中的另两处。Reroute缺保存键,不造值。', | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 47 | … | E501 Line too long (107 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:54:101 | 52 | g = json.loads(raw) 53 | sub = g['definitions']['subgraphs'][0] 54 | reviews = json.loads((REPO / 'calliope-backend/src/calliope/comfyui/source_reviews.json').read_bytes()) | ^^^^^^^ 55 | common = {} 56 | # Only schema descriptions are reused; this graph's values, effects and identities are independent. | E501 Line too long (103 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:56:101 | 54 | reviews = json.loads((REPO / 'calliope-backend/src/calliope/comfyui/source_reviews.json').read_bytes()) 55 | common = {} 56 | # Only schema descriptions are reused; this graph's values, effects and identities are independent. | ^^^ 57 | for stem in ['双图像或视频合并显示', '2_flux2_klein_图生图']: 58 | matches = [r for p, r in reviews.items() if p.endswith('/' + stem + '.json')] | E501 Line too long (123 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:69:101 | 67 | assert hashlib.sha256(data).hexdigest() == e['sha256'] 68 | assert 1 <= first <= last <= len(data.decode().splitlines()) 69 | sources.append(dict(e, local_file='../flux2-print-reference/' + e['local_file'], lines=[first, last], claim=claim)) | ^^^^^^^^^^^^^^^^^^^^^^^ 70 | return len(sources) - 1 | E501 Line too long (101 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:79:95 | 77 | save = cite('core', 'nodes.py', 1578, 1646, '9准确正式PNG;148仅core0.8.2临时Preview假设') 78 | cfg = cite('core', 'comfy_extras/nodes_custom_sampler.py', 801, 825, '准确CFG条件和默认') 79 | noise = cite('core', 'comfy_extras/nodes_custom_sampler.py', 898, 913, '准确seed schema,不执行') | ^ 80 | sample = cite('core', 'comfy_extras/nodes_custom_sampler.py', 915, 969, '准确采样双LATENT与x0条件') 81 | sampler = cite('core', 'comfy_extras/nodes_custom_sampler.py', 376, 395, '准确采样器枚举') | E501 Line too long (103 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:80:94 | 78 | cfg = cite('core', 'comfy_extras/nodes_custom_sampler.py', 801, 825, '准确CFG条件和默认') 79 | noise = cite('core', 'comfy_extras/nodes_custom_sampler.py', 898, 913, '准确seed schema,不执行') 80 | sample = cite('core', 'comfy_extras/nodes_custom_sampler.py', 915, 969, '准确采样双LATENT与x0条件') | ^^ 81 | sampler = cite('core', 'comfy_extras/nodes_custom_sampler.py', 376, 395, '准确采样器枚举') 82 | latent = cite('core', 'comfy_extras/nodes_flux.py', 36, 57, '准确空latent尺寸批量') | E501 Line too long (102 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:86:82 | 84 | ref = cite('core', 'comfy_extras/nodes_edit_model.py', 1, 38, '参考latent追加条件,非采样起点') 85 | lora = cite('lora', 'nodes.py', 670, 732, '准确0.21.1继承、强度、文件缓存/读取条件') 86 | tt = cite('tt', 'nodes/resolution_selector.py', 1, 80, '准确完整TT提交的预设和真假分支;许可未知') | ^^ 87 | kj = cite('kj', 'nodes/image_nodes.py', 2784, 3074, '146准确KJ1.3.9缩放schema/设备/尺寸/出口') 88 | concat = cite('kj', 'nodes/image_nodes.py', 334, 429, '147缺提供方版本,仅KJ1.3.9空间拼接参考假设') | E501 Line too long (103 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:88:86 | 86 | tt = cite('tt', 'nodes/resolution_selector.py', 1, 80, '准确完整TT提交的预设和真假分支;许可未知') 87 | kj = cite('kj', 'nodes/image_nodes.py', 2784, 3074, '146准确KJ1.3.9缩放schema/设备/尺寸/出口') 88 | concat = cite('kj', 'nodes/image_nodes.py', 334, 429, '147缺提供方版本,仅KJ1.3.9空间拼接参考假设') | ^^ 89 | front = cite('frontend', 'src/scripts/widgets.ts', 1, 270, '准确1.36.13种子辅助,非后端实际seed') 90 | host = cite('frontend', 'src/lib/litegraph/src/subgraph/SubgraphNode.ts', 1, 400, '准确1.36.13子图边界恢复参考;目标宿主/UE/tab组… | E501 Line too long (101 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:89:89 | 87 | kj = cite('kj', 'nodes/image_nodes.py', 2784, 3074, '146准确KJ1.3.9缩放schema/设备/尺寸/出口') 88 | concat = cite('kj', 'nodes/image_nodes.py', 334, 429, '147缺提供方版本,仅KJ1.3.9空间拼接参考假设') 89 | front = cite('frontend', 'src/scripts/widgets.ts', 1, 270, '准确1.36.13种子辅助,非后端实际seed') | ^ 90 | host = cite('frontend', 'src/lib/litegraph/src/subgraph/SubgraphNode.ts', 1, 400, '准确1.36.13子图边界恢复参考;目标宿主/UE/tab组… 91 | cite('frontend', 'src/lib/litegraph/src/subgraph/SubgraphNode.ts', 605, 638, '准确1.36.13序列化前边界同步条件;不回填空宿主') | E501 Line too long (141 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:90:98 | 88 | …29, '147缺提供方版本,仅KJ1.3.9空间拼接参考假设') 89 | … 1, 270, '准确1.36.13种子辅助,非后端实际seed') 90 | …graph/SubgraphNode.ts', 1, 400, '准确1.36.13子图边界恢复参考;目标宿主/UE/tab组合未知') | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 91 | …ubgraphNode.ts', 605, 638, '准确1.36.13序列化前边界同步条件;不回填空宿主') 92 | … | E501 Line too long (129 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:91:96 | 89 | front = cite('frontend', 'src/scripts/widgets.ts', 1, 270, '准确1.36.13种子辅助,非后端实际seed') 90 | host = cite('frontend', 'src/lib/litegraph/src/subgraph/SubgraphNode.ts', 1, 400, '准确1.36.13子图边界恢复参考;目标宿主/UE/tab组… 91 | cite('frontend', 'src/lib/litegraph/src/subgraph/SubgraphNode.ts', 605, 638, '准确1.36.13序列化前边界同步条件;不回填空宿主') | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 92 | for e in manifest: 93 | if not any(s['id'] == e['id'] and s['file'] == e['file'] for s in sources): | E501 Line too long (157 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:94:101 | 92 | … 93 | …'] for s in sources): 94 | …le']).read_bytes().decode().splitlines()), '同树注册/helper/依赖锁/许可闭包;不证明安装或执行') | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 95 | … 96 | …, 'resolution', 'custom_width', 'custom_height'], | E501 Line too long (111 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:96:101 | 94 | cite(e['id'], e['file'], 1, len((REF / e['local_file']).read_bytes().decode().splitlines()), '同树注册/helper/依赖锁/许可… 95 | names = { 96 | 76: ['image', 'upload'], 144: ['use_custom_resolution', 'resolution', 'custom_width', 'custom_height'], | ^^^^^^^^^^^ 97 | 9: ['filename_prefix'], 147: ['direction', 'match_image_size'], 98 | 146: ['width', 'height', 'upscale_method', 'keep_proportion', 'pad_color', 'crop_position', 'divisible_by', 'device'], | E501 Line too long (126 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:98:101 | 96 | 76: ['image', 'upload'], 144: ['use_custom_resolution', 'resolution', 'custom_width', 'custom_height'], 97 | 9: ['filename_prefix'], 147: ['direction', 'match_image_size'], 98 | 146: ['width', 'height', 'upscale_method', 'keep_proportion', 'pad_color', 'crop_position', 'divisible_by', 'device'], | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 99 | 102: ['cfg'], 105: ['noise_seed', 'control_after_generate'], 100: ['sampler_name'], 100 | 111: ['width', 'height', 'batch_size'], 101: ['steps', 'width', 'height'], | E501 Line too long (256 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:104:101 | 102 | … 103 | … 104 | …ont],100:[sampler],111:[latent,sample],101:[sched],106:[model,host],142:[lora,host],107:[model,host],110:[loader,vae,host],108:[enc,ref,host],109:[enc,ref,host]} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 105 | … 106 | … 于有效高。', | E501 Line too long (108 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:106:70 | 104 | evidence = {76:[load,front],144:[tt],9:[save],147:[concat],146:[kj],102:[cfg],105:[noise,front],100:[sampler],111:[latent,sample]… 105 | extra = { 106 | 'width': '保存512为外线覆盖缓存,不等于有效宽。', 'height': '保存512为外线覆盖缓存,不等于有效高。', | ^^^^^^^^ 107 | 'upscale_method': '保存nearest-exact,按准确实现插值分支仅读。', 108 | 'keep_proportion': '保存crop,参考按目标比例裁切分支;schema字面False与枚举分列,不保证保留全部图案。', | E501 Line too long (111 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:108:73 | 106 | 'width': '保存512为外线覆盖缓存,不等于有效宽。', 'height': '保存512为外线覆盖缓存,不等于有效高。', 107 | 'upscale_method': '保存nearest-exact,按准确实现插值分支仅读。', 108 | 'keep_proportion': '保存crop,参考按目标比例裁切分支;schema字面False与枚举分列,不保证保留全部图案。', | ^^^^^^^^^^ 109 | 'pad_color': '保存字符串0, 0, 0(黑色),非JSON数组;crop不证明已填黑边。', 110 | 'crop_position': '保存center,裁切居中意图,不处理图片。', | E702 Multiple statements on one line (semicolon) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:117:24 | 115 | for prefix, graph in [('',g),('/definitions/subgraphs/0',sub)]: 116 | for i,n in enumerate(graph['nodes']): 117 | nid=n['id']; ptr=f'{prefix}/nodes/{i}'; display=str(nid) if not prefix else f'149:{nid}' | ^ 118 | if n['type'] == 'MarkdownNote': 119 | comments.append(dict(node_id=display,pointer=ptr+'/widgets_values/0',text=n['widgets_values'][0],meaning='完整1396字… | E702 Multiple statements on one line (semicolon) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:117:51 | 115 | for prefix, graph in [('',g),('/definitions/subgraphs/0',sub)]: 116 | for i,n in enumerate(graph['nodes']): 117 | nid=n['id']; ptr=f'{prefix}/nodes/{i}'; display=str(nid) if not prefix else f'149:{nid}' | ^ 118 | if n['type'] == 'MarkdownNote': 119 | comments.append(dict(node_id=display,pointer=ptr+'/widgets_values/0',text=n['widgets_values'][0],meaning='完整1396字… | E501 Line too long (235 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:123:101 | 121 | … 122 | … 123 | … if not prefix else prefix,state=state,effect=('源缺widgets_values键;' if state=='missing' else '源widgets_values=[]零位置;')+EMPTY[nid])) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 124 | … 125 | … | E501 Line too long (127 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:126:97 | 124 | continue 125 | for j,(name,v) in enumerate(zip(names[nid],n['widgets_values'],strict=True)): 126 | f=copy.deepcopy(common.get((n['type'],name), {'label': '拼接方向' if name == 'direction' else '匹配图像尺寸'})) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 127 | inp=next((k for k,x in enumerate(n.get('inputs',[])) if x['name']==name),None) 128 | aux=name in ['upload','control_after_generate'] | E501 Line too long (794 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:130:101 | 128 | … 129 | … 130 | … else prefix,class_type=n['type'],field=name,pointer=f'{ptr}/widgets_values/{j}',value=v,json_type=type(v).__name__,named_pointer='源无widgets_values_named,不构造具名保存指针',input_pointer=f'{ptr}/inputs/{inp}' if inp is not None else '无独立后端输入:前端辅助',input_name=n['inputs'][inp]['name'] if inp is not None else None,type=n['inputs'][inp]['type'] if inp is not None else '前端辅助',role='frontend_reference_only' if aux else 'linked_saved_cache' if linked else 'saved_layout_reference',effect=MEANING[nid],evidence=evidence[nid],execution_note='保存现值、准确参考默认、外线覆盖、宿主代理与实际运行值分列;目标安装/恢复/许可/目录/模型素材兼容与效果未知,保持停用,不新增转换或执行资格。') | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^…^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 131 | … 132 | … | E701 Multiple statements on one line (colon) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:131:28 | 129 | … linked=not aux and inp is not None and n['inputs'][inp].get('link') is not None 130 | … f.update(node_id=display,definition_node_id=str(nid),scope='root' if not prefix else prefix,class_type=n['type'],field=name,poi… 131 | … if nid==146:f['effect']+=' '+extra[name] | ^ 132 | … if nid in [108,109]: 133 | … f.update(label='完整印花提取正向缓存' if nid==108 else '空串负向缓存',unit='编码文本',schema_default='无显式default;不以… | E501 Line too long (236 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:133:83 | 131 | … 132 | … 133 | …'编码文本',schema_default='无显式default;不以保存文本冒充默认',limits='准确core0.8.2 STRING multiline/dynamicPrompts;全文只读,不执行指令') | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134 | … 135 | … | E701 Multiple statements on one line (colon) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:134:51 | 132 | … if nid in [108,109]: 133 | … f.update(label='完整印花提取正向缓存' if nid==108 else '空串负向缓存',unit='编码文本',schema_default='无显式default;不以… 134 | … if nid==105 and name=='noise_seed': f['schema_default']='0' | ^ 135 | … if nid==147: 136 | … f.update(schema_default='right' if name=='direction' else 'true',unit='方向枚举' if name=='direction' else '布尔',limits='… | E501 Line too long (270 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:136:97 | 134 | … 135 | … 136 | … 举' if name=='direction' else '布尔',limits='仅KJ1.3.9假设:right/down/left/up' if name=='direction' else '仅KJ1.3.9假设:BOOLEAN,匹配image2到image1对应边,不保证像素不变') | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 137 | … 138 | … | E501 Line too long (428 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:140:101 | 138 | … 139 | …A与参考特征从空latent生成,正式保存生成图,并临时预览原图在左、生成在右的拼接。提取、去衣服人体和保留图案只是作者意图,实际效果尚未验证。' 140 | …utputNode','inputs','outputs','widgets']}),dict(h…] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^…^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 141 | … 142 | … ,完整MarkdownNote97另计1396字符,无具名保存。Label143、内部135/136缺键;宿主149、148与五内部[]各零位置,定义widgets=[]分开。'] | E501 Line too long (328 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:149:82 | 147 | … 化前同步相连内部widget,再受serialize_widgets和serialize=false控制。源空宿主与10代理只是线索,UE7.5.2/7.7/7.8、tab/宿主恢复未知,不模拟回填。', 148 | …noise,Sampler传noise.seed给guider。不运行钩子、种子、状态或缓存,不保证复现。', 149 | …47与148缺身份,仅显式KJ1.3.9/core0.8.2假设;149宿主和Label未知。无Primitive0.28.3、LayerUtility、rgthreeComparer或Impact适用证据。TT许可仍未知,KJ必要成员SHA/CRC不是完整包SHA或Git绑定;安装/目录/许可适用性/模型素材兼容与效果未知。', | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 150 | … 按控件位置猜最终值、不试算尺寸。拼接图不是正式9保存图,临时预览不证明执行成功;源SaveImage没有输出冲突,但整图转换/执行资格继续关闭。'] 151 | … | E501 Line too long (137 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:154:94 | 152 | …False) for e in sub['links']] 153 | …phs/0',sub)]: 154 | … 性 '+json.dumps(n.get('properties',{}),ensure_ascii=False) for n in graph['nodes']] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 155 | …re_ascii=False) for b in boundaries] 156 | … | E501 Line too long (110 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:159:96 | 157 | for key in ['core','lora','frontend','tt','kj']: 158 | e=next(s for s in sources if s['id']==key) 159 | versions.append(f'{key} {e["tag"]} commit {e["commit"]};tree {e["tree"]};许可见{e["license_file"]}') | ^^^^^^^^^^ 160 | versions+=['local_file以docs/hel-892/flux2-print-document-evidence为基准;原字节SHA256 '+hashlib.sha256(raw).hexdigest(),'旧57块2… 161 | return dict(source_path=PATHS[index],source_sha1=hashlib.sha1(raw).hexdigest(),source_sha256=hashlib.sha256(raw).hexdigest(),cano… | E501 Line too long (251 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:160:93 | 158 | … 159 | …cense_file"]}') 160 | …shlib.sha256(raw).hexdigest(),'旧57块2201位置+65注释逐对象冻结;完整KJ包SHA/Git、TT许可未知。仅静态文本,不执行上游/模型/表达式/种子/媒体,不构造prompt。'] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 161 | …6=hashlib.sha256(raw).hexdigest(),canonical_sha256=hashlib.sha256(canonical(g)).hexdigest(),notice='仅参考:目标安装/恢复、模型/素材/许可与实际印花提取效果未核… | E501 Line too long (1273 > 100) --> docs/hel-892/flux2-print-document-evidence/build_definition.py:161:101 | 159 | …cense_file"]}') 160 | …shlib.sha256(raw).hexdigest(),'旧57块2201位置+65注释逐对象冻结;完整KJ包SHA/Git、TT许可未知。仅静态文本,不执行上游/模型/表达式/种子/媒体,不构造prompt。'] 161 | …6=hashlib.sha256(raw).hexdigest(),canonical_sha256=hashlib.sha256(canonical(g)).hexdigest(),notice='仅参考:目标安装/恢复、模型/素材/许可与实际印花提取效果未核,保持停用和转换关闭。',user_overview=overview,versions=versions,counts=dict(saved_fields=37,root_saved_fields=17,internal_saved_fields=20,linked_saved_fields=sum(f['role']=='linked_saved_cache' for f in fields),frontend_only=sum(f['role']=='frontend_reference_only' for f in fields),source_nodes=27,root_nodes=9,internal_nodes=18,physical_edges=42,source_notes=1,history_objects=0,final_scalars=0,final_prompt_constructed=False),fields=fields,sources=sources,comments=comments,flow=flow,flow_evidence=list(range(len(sources))),zero_saved_nodes=empty,boundaries=boundaries,steps=[overview,'阅读1:逐原图文件名、独立clipspace属性、完整英文正向/中文解释、空串负向和完整Note,仅读文本,不打开媒体或链接。','阅读2:核对TT/缩放六处尺寸覆盖、宽slot1/高slot2、正负参考与空latent起点、10代理9输入、活动LoRA、正式保存和左原图右生成的临时空间拼接;缓存不是实际运行值。','阅读3:安装/许可/目录/恢复与效果未知,保持停用,155全量完成审核后才发布;不连接目标、不构造prompt、不执行上游/模型/GPU/媒体/种子/缓存,不下载或代接受协议。']) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^…^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E501 Line too long (101 > 100) --> docs/hel-892/flux2-print-document-evidence/verify_sources.py:25:101 | 23 | assert zlib.crc32(raw) == info["crc"] == e["member_crc32"] 24 | assert json.loads((root / "kj-registry.json").read_bytes())["version"] == "1.3.9" 25 | assert e["git_commit_binding"] == "unknown" and e["package_sha256"].startswith("unknown") | ^ 26 | proof = "exact 1.3.9 registry + necessary ZIP CRC/SHA; full package SHA/Git unknown" 27 | else: | E501 Line too long (105 > 100) --> docs/hel-892/flux2-print-document-evidence/verify_sources.py:34:101 | 32 | assert next(t["sha"] for t in tree["tree"] if t["path"] == e["file"]) == blob 33 | c = (root / (key + "-commit.txt")).read_bytes() 34 | assert hashlib.sha1(b"commit " + str(len(c)).encode() + b"\0" + c).hexdigest() == e["commit"] | ^^^^^ 35 | assert c.decode().splitlines()[0] == "tree " + e["tree"] 36 | tag = json.loads((root / (key + "-tag.json")).read_bytes()) | E501 Line too long (108 > 100) --> docs/hel-892/flux2-print-document-evidence/verify_sources.py:40:101 | 38 | t = (root / (key + "-tag.txt")).read_bytes() 39 | if tag["object"] != e["commit"]: 40 | assert hashlib.sha1(b"tag " + str(len(t)).encode() + b"\0" + t).hexdigest() == tag["object"] | ^^^^^^^^ 41 | assert t.decode().startswith("object " + e["commit"] + "\n") 42 | else: | E501 Line too long (104 > 100) --> docs/hel-892/flux2-print-document-evidence/verify_sources.py:46:101 | 44 | proof = "raw commit/tag + real tree + selected blobs; no full tree rehash" 45 | if key == "tt": 46 | assert not any(t["path"].lower().split("/")[-1].startswith("license") for t in tree["tree"]) | ^^^^ 47 | assert e["license_file"].startswith("未知") 48 | else: | E501 Line too long (102 > 100) --> docs/hel-892/flux2-print-document-evidence/verify_sources.py:50:101 | 48 | else: 49 | lic = next(x for x in rows if x["id"] == e["id"] and x["file"] == "LICENSE") 50 | assert hashlib.sha256((REF / e["license_file"]).read_bytes()).hexdigest() == lic["sha256"] | ^^ 51 | checks.append( 52 | dict( | E501 Line too long (125 > 100) --> docs/hel-892/flux2-print-document-evidence/verify_sources.py:74:101 | 72 | } 73 | for a, f in zip(inv["fields"], block["fields"], strict=True): 74 | assert (a["pointer"], a["json_type"], canonical(a["value"])) == (f["pointer"], f["json_type"], canonical(f["value"])) | ^^^^^^^^^^^^^^^^^^^^^^^^^ 75 | for e in block["sources"]: 76 | raw = (OUT / e["local_file"]).read_bytes() | E501 Line too long (144 > 100) --> docs/hel-892/flux2-print-document-evidence/verify_sources.py:98:101 | 96 | …et("links", [])) 97 | …else target["link"] == eid 98 | …rce["type"].split(",")) and (target["type"] == "*" or kind in target["type"].split(",")) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 99 | … 100 | … | E501 Line too long (190 > 100) --> docs/hel-892/flux2-print-document-evidence/verify_sources.py:138:101 | 136 | … 137 | … 138 | …ources"]), counts=block["counts"], sources=checks, endpoints=endpoints, inventory=inv, upstream_executed=False) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 139 | …e, indent=2)+"\n") 140 | …eferences with explicit assumptions") | E501 Line too long (116 > 100) --> docs/hel-892/flux2-print-document-evidence/verify_sources.py:140:101 | 138 | result = dict(all_pass=True, source_files=len(rows), citations=len(block["sources"]), counts=block["counts"], sources=checks, end… 139 | (OUT / "source-check.json").write_text(json.dumps(result, ensure_ascii=False, indent=2)+"\n") 140 | print("PASS 37 scalar positions, full Note, 42 bidirectional edges, exact references with explicit assumptions") | ^^^^^^^^^^^^^^^^ Found 80 errors.