Files
aigc-home/docs/hel-892/zimage-photo-document-evidence/ruff-initial.txt
T

287 lines
12 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
E501 Line too long (110 > 100)
--> docs/hel-892/zimage-photo-document-evidence/build_definition.py:110:59
|
108 | }
109 | NOTE_MEANING = {
110 | "111": "作者说明黄色组缩放快捷键、LoRA与模式选择器可能影响质量。仅文案,不模拟快捷键、切换组或保证质量。",
| ^^^^^^^^^^
111 | "569": "作者称BAD连接用于避免插图模式同时启用REFINER/UPSCALER,实际节点566输入label='BAD',不是据此判非法边/类型;互斥控制未认证…
112 | "571": "作者前置Amazing Z-Photo WF v4.0、rgthree及四模型/URL/目录原文完整保留,模型建议含turbo bf16,与本图RED引用分列。仅文本,…
|
E501 Line too long (144 > 100)
--> docs/hel-892/zimage-photo-document-evidence/build_definition.py:111:74
|
109 | …
110 | … 影响质量。仅文案,不模拟快捷键、切换组或保证质量。",
111 | …UPSCALER,实际节点566输入label='BAD',不是据此判非法边/类型;互斥控制未认证,不修图。",
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
112 | … 型/URL/目录原文完整保留,模型建议含turbo bf16,与本图RED引用分列。仅文本,不浏览下载或当目标安装/许可/依赖已满足。",
113 | …h}及尚未完全验证的风格观察/实验性增强器;完整原文保留,不替换标签、执行拼接或保证效果。",
|
E501 Line too long (174 > 100)
--> docs/hel-892/zimage-photo-document-evidence/build_definition.py:112:78
|
110 | … 案,不模拟快捷键、切换组或保证质量。",
111 | … 点566输入label='BAD',不是据此判非法边/类型;互斥控制未认证,不修图。",
112 | … 完整保留,模型建议含turbo bf16,与本图RED引用分列。仅文本,不浏览下载或当目标安装/许可/依赖已满足。",
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
113 | … 的风格观察/实验性增强器;完整原文保留,不替换标签、执行拼接或保证效果。",
114 | …
|
E501 Line too long (146 > 100)
--> docs/hel-892/zimage-photo-document-evidence/build_definition.py:113:70
|
111 | …UPSCALER,实际节点566输入label='BAD',不是据此判非法边/类型;互斥控制未认证,不修图。",
112 | … 型/URL/目录原文完整保留,模型建议含turbo bf16,与本图RED引用分列。仅文本,不浏览下载或当目标安装/许可/依赖已满足。",
113 | …h}及尚未完全验证的风格观察/实验性增强器;完整原文保留,不替换标签、执行拼接或保证效果。",
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
114 | …
|
E501 Line too long (103 > 100)
--> docs/hel-892/zimage-photo-document-evidence/build_definition.py:314:77
|
312 | "saved_comparison_history": "完整A/B历史列表,仅文本,不访问/view",
313 | "width": "latent为像素请求;Resize按measurement解释百分比或像素,不试算最终尺寸",
314 | "height": "latent为像素请求;Resize按measurement解释百分比或像素,0值按准确实现条件看",
| ^^
315 | "batch_size": "图像批量数量,非帧率或分辨率",
316 | "strength_model": "LoRA模型权重强度,无物理单位;兼容与效果未知",
|
E501 Line too long (114 > 100)
--> docs/hel-892/zimage-photo-document-evidence/build_definition.py:417:80
|
415 | for (nid, name), (default, limits) in schemas.items():
416 | flow.append(
417 | f"节点{nid}准确具名schema {name}:default={default};{limits}。仅接口参考,不补缺保存或认证运行恢复。"
| ^^^^^^^^^^^^^
418 | )
419 | for pre, ptr, sg in scopes:
|
E501 Line too long (370 > 100)
--> docs/hel-892/zimage-photo-document-evidence/build_definition.py:427:66
|
425 | …
426 | …
427 | … 仅38 Hollywood filmmaker模板保存mode0,37黑色电影及其余16份mode2,不能视为18路同时生效或18张产物。完整英文主提示、两个编码空串、电影摄影历史、标签及LoRA对象均原样保留。RED_v1.5模型兼容、控制器、转接和静音恢复未核;标题不保证照片效果,不拼装prompt、计算sigma或保证最终尺寸。"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^…^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
428 | …
429 | …
|
E501 Line too long (202 > 100)
--> docs/hel-892/zimage-photo-document-evidence/build_definition.py:470:72
|
468 | …
469 | …
470 | … 无末尾换行,31/144/146/166替换、6/60编码空串和165电影摄影历史分别看。{$@}/{$spicy-content-with}不替换/求值/生成。",
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
471 | …st Muter、五Repeater、五Collector、16 Switch及普通/rgthree转接按准确身份或未知分层,不模拟控制改写/惰性/互斥/次序。566输入label BAD…
472 | … Advanced/五Custom/五Karras/三Split/两SetFirst/两Extend保存参数和latent出口分别看,不计算sigma或承诺无缝接力/完整步数/可复现。",
|
E501 Line too long (228 > 100)
--> docs/hel-892/zimage-photo-document-evidence/build_definition.py:471:68
|
469 | …
470 | … ,31/144/146/166替换、6/60编码空串和165电影摄影历史分别看。{$@}/{$spicy-content-with}不替换/求值/生成。",
471 | … Repeater、五Collector、16 Switch及普通/rgthree转接按准确身份或未知分层,不模拟控制改写/惰性/互斥/次序。566输入label BAD不当坏边。",
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
472 | …/五Custom/五Karras/三Split/两SetFirst/两Extend保存参数和latent出口分别看,不计算sigma或承诺无缝接力/完整步数/可复现。",
473 | … 件,不试算尺寸/加载模型。Save9仅按原images边714和正式output源码说明,日期模板只字符串;不造媒体产物或同时执行保证。",
|
I001 [*] Import block is un-sorted or un-formatted
--> docs/hel-892/zimage-photo-document-evidence/rebuild.py:3:1
|
1 | """Offline batch evidence tooling; no upstream execution."""
2 |
3 | / from __future__ import annotations
4 | | import hashlib
5 | | import json
6 | | import subprocess
7 | | from build_definition import OUT, PATHS, REPO, build, canonical
| |_______________________________________________________________^
8 |
9 | BASE = "e0bb6b81b18897618811ef4d732ad5d44ecbe3c9"
|
help: Organize imports
|
3 | from __future__ import annotations
4 +
5 | import hashlib
6 | import json
7 | import subprocess
8 +
9 | from build_definition import OUT, PATHS, REPO, build, canonical
|
I001 [*] Import block is un-sorted or un-formatted
--> docs/hel-892/zimage-photo-document-evidence/recompute.py:3:1
|
1 | """Offline batch evidence tooling; no upstream execution."""
2 |
3 | / from __future__ import annotations
4 | | import hashlib
5 | | import io
6 | | import json
7 | | import os
8 | | import sqlite3
9 | | import subprocess
10 | | import sys
11 | | import tarfile
12 | | import tempfile
13 | | import zipfile
14 | | from pathlib import Path
15 | | from build_definition import OUT, PATHS, REPO, canonical
16 | | from rebuild import BASE, RESOURCE, build_all
| |_____________________________________________^
17 |
18 | BASE = os.environ.get("TTS_IMPORT_BASE", BASE)
|
help: Organize imports
|
3 | from __future__ import annotations
4 +
5 | import hashlib
--------------------------------------------------------------------------------
15 | from pathlib import Path
16 +
17 | from build_definition import OUT, PATHS, REPO, canonical
|
E501 Line too long (156 > 100)
--> docs/hel-892/zimage-photo-document-evidence/recompute.py:351:101
|
349 | …
350 | …
351 | …back1, edits1/29cols, fresh155, 1217/3660/294, 74 definitions, frozen boundaries, wheel/sdist"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
352 | …
|
I001 [*] Import block is un-sorted or un-formatted
--> docs/hel-892/zimage-photo-document-evidence/render_report.py:3:1
|
1 | """Offline batch evidence tooling; no upstream execution."""
2 |
3 | / from __future__ import annotations
4 | | import hashlib
5 | | import json
6 | | from pathlib import Path
| |________________________^
7 |
8 | OUT = Path(__file__).resolve().parent
|
help: Organize imports
|
3 | from __future__ import annotations
4 +
5 | import hashlib
|
E501 Line too long (147 > 100)
--> docs/hel-892/zimage-photo-document-evidence/render_report.py:76:97
|
74 | …
75 | …
76 | …e['lines'][0]}~{e['lines'][1]}行;commit {e['commit']};SHA256 {e['sha256']};{e['url']}"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
77 | …
78 | … f["value"]:
|
E501 Line too long (140 > 100)
--> docs/hel-892/zimage-photo-document-evidence/render_report.py:107:94
|
105 | … e["sha256"]
106 | …
107 | …'lines'][0]}~{e['lines'][1]}行;提交{e['commit']};SHA256 {e['sha256']};{e['url']}",
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108 | …
109 | …
|
I001 [*] Import block is un-sorted or un-formatted
--> docs/hel-892/zimage-photo-document-evidence/repeat.py:3:1
|
1 | """Compare deterministic definitions and rendered artifacts."""
2 |
3 | / import hashlib
4 | | import json
5 | | from build_definition import OUT, REPO, canonical
6 | | from rebuild import RESOURCE, build_all
7 | | from render_report import main as render
| |________________________________________^
help: Organize imports
|
4 | import json
5 +
6 | from build_definition import OUT, REPO, canonical
|
I001 [*] Import block is un-sorted or un-formatted
--> docs/hel-892/zimage-photo-document-evidence/source_closure.py:3:1
|
1 | """List source texts and their identity/permission evidence, without self hashing."""
2 |
3 | / import hashlib
4 | | import json
5 | | from build_definition import OUT, REF, REPO
| |___________________________________________^
help: Organize imports
|
4 | import json
5 +
6 | from build_definition import OUT, REF, REPO
|
I001 [*] Import block is un-sorted or un-formatted
--> docs/hel-892/zimage-photo-document-evidence/verify_sources.py:3:1
|
1 | """Verify exact text, Git/package provenance and source graph without upstream imports."""
2 |
3 | / import ast
4 | | import hashlib
5 | | import json
6 | | import zlib
7 | | from build_definition import OUT, REF, build, canonical
8 | | from inventory import inventory
| |_______________________________^
help: Organize imports
|
6 | import zlib
7 +
8 | from build_definition import OUT, REF, build, canonical
|
E501 Line too long (116 > 100)
--> docs/hel-892/zimage-photo-document-evidence/verify_sources.py:36:101
|
34 | == "sha512-" + e["artifact_sha512_base64"]
35 | )
36 | proof = "Pinned frontend1.23.0 lock, exact0.15.15 member SHA; whole artifact digest reused, Git unknown"
| ^^^^^^^^^^^^^^^^
37 | elif "member_crc32" in e:
38 | root = REF / e["identity_root"]
|
E501 Line too long (107 > 100)
--> docs/hel-892/zimage-photo-document-evidence/verify_sources.py:67:101
|
65 | assert object_hash("tag", tag_raw) == tag["object"]
66 | assert tag_raw.decode().startswith("object " + e["commit"] + "\n")
67 | proof = "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
| ^^^^^^^
68 | if not e["license_file"].startswith("未知"):
69 | license_row = next(
|
Found 20 errors.
[*] 6 fixable with the `--fix` option.