HEL-892: apply user exclusion to the 155-workflow delivery scope
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -12,6 +12,8 @@ import json
|
||||
from collections import Counter
|
||||
from pathlib import Path
|
||||
|
||||
from calliope.comfyui.delivery_scope import exclusion_for
|
||||
|
||||
|
||||
def graph_rows(graph: dict, pointer: str = "", scope: str = ""):
|
||||
(
|
||||
@@ -127,7 +129,7 @@ RULES = {
|
||||
}
|
||||
|
||||
|
||||
def inventory(repo: Path) -> dict:
|
||||
def inventory(repo: Path, *, historical: bool = False) -> dict:
|
||||
docs = repo / "docs/hel-892"
|
||||
manifest = json.loads((docs / "offline/manifest.json").read_text(encoding="utf-8"))
|
||||
cases = json.loads((docs / "golden-cases.json").read_text(encoding="utf-8"))["cases"]
|
||||
@@ -332,7 +334,7 @@ def inventory(repo: Path) -> dict:
|
||||
}
|
||||
assert len(files) == len(actual_ui) == 146
|
||||
assert {f["path"] for f in files} == actual_ui
|
||||
return {
|
||||
report = {
|
||||
"schema_version": 1,
|
||||
"files": files,
|
||||
"total_ui_files": len(files),
|
||||
@@ -347,6 +349,22 @@ def inventory(repo: Path) -> dict:
|
||||
"negative_finding_limit": "未命中命名候选或静态环不证明没有插件隐藏循环/虚拟语义",
|
||||
}
|
||||
|
||||
if not historical:
|
||||
excluded = [f for f in files if exclusion_for(f["path"])]
|
||||
active = [f for f in files if not exclusion_for(f["path"])]
|
||||
for row in files:
|
||||
row["delivery_status"] = "user_excluded" if exclusion_for(row["path"]) else "in_scope"
|
||||
report.update(
|
||||
inventory_scope="all_source_files_with_current_delivery_scope",
|
||||
source_files=len(manifest), target_files=len(manifest) - len(excluded),
|
||||
target_ui_files=len(active), user_excluded=len(excluded),
|
||||
remaining_reliable_conversions=len(active),
|
||||
historical_exact_golden_candidates=report["exact_golden_candidates"],
|
||||
exact_golden_candidates=sum(bool(f["golden_case_ids"]) for f in active),
|
||||
exclusions=[{"path": f["path"], **exclusion_for(f["path"])} for f in excluded],
|
||||
)
|
||||
return report
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
parser = argparse.ArgumentParser(description=__doc__)
|
||||
|
||||
@@ -9,6 +9,8 @@ import json
|
||||
from collections import Counter
|
||||
from pathlib import Path
|
||||
|
||||
from calliope.comfyui.delivery_scope import exclusion_for
|
||||
|
||||
|
||||
def audit(repo: Path, directory: Path) -> dict:
|
||||
manifest = json.loads((directory / "manifest.json").read_text(encoding="utf-8"))
|
||||
@@ -17,8 +19,12 @@ def audit(repo: Path, directory: Path) -> dict:
|
||||
for p in (repo / "example_ComfyUI_workflows").rglob("*")
|
||||
if p.is_file()
|
||||
}
|
||||
assert {e["path"] for e in manifest} == sources
|
||||
assert len(manifest) == len(sources)
|
||||
manifest_paths = {e["path"] for e in manifest}
|
||||
# Old immutable reports still audit against their historical full source set.
|
||||
historical = manifest_paths == sources
|
||||
target_sources = {p for p in sources if not exclusion_for(p)}
|
||||
assert manifest_paths == (sources if historical else target_sources)
|
||||
assert len(manifest) == len(manifest_paths)
|
||||
files = []
|
||||
for entry in manifest:
|
||||
raw = (repo / entry["path"]).read_bytes()
|
||||
@@ -126,6 +132,10 @@ def audit(repo: Path, directory: Path) -> dict:
|
||||
return {
|
||||
"files": files,
|
||||
"total": len(files),
|
||||
"audit_scope": "historical_source_inventory" if historical else "current_delivery",
|
||||
"source_files": len(sources),
|
||||
"target_files": len(target_sources),
|
||||
"user_excluded": len(sources - target_sources),
|
||||
"source_structure_purpose_partially_reviewed": len(files),
|
||||
"full_documents_completed": 0,
|
||||
"files_with_selected_named_fields_reviewed": sum(
|
||||
|
||||
@@ -9,6 +9,7 @@ from collections import Counter
|
||||
from pathlib import Path
|
||||
|
||||
from calliope.comfyui.companions import load_companions, resolve_companion
|
||||
from calliope.comfyui.delivery_scope import exclusion_for
|
||||
from calliope.comfyui.library import _json
|
||||
from calliope.db import get_db
|
||||
|
||||
@@ -20,6 +21,23 @@ def audit(repo: Path, manifest: Path, db: Path, output: Path):
|
||||
output.mkdir(parents=True, exist_ok=True)
|
||||
try:
|
||||
for path, record in records.items():
|
||||
excluded = exclusion_for(path)
|
||||
if excluded:
|
||||
history = conn.execute(
|
||||
"SELECT id FROM workflows WHERE source_repo_path=?", (path,)
|
||||
).fetchone()
|
||||
rows.append(
|
||||
{
|
||||
"id": record["binding"]["id"],
|
||||
"source_path": path,
|
||||
"state": "user_excluded",
|
||||
"adopted": False,
|
||||
"new_api_literal_params": 0,
|
||||
"exclusion": excluded,
|
||||
"historical_row_preserved": history is not None,
|
||||
}
|
||||
)
|
||||
continue
|
||||
raw = (repo / path).read_bytes()
|
||||
prompt, evidence, issues = resolve_companion(record, path, raw, json.loads(raw))
|
||||
row = conn.execute(
|
||||
@@ -82,6 +100,9 @@ def audit(repo: Path, manifest: Path, db: Path, output: Path):
|
||||
report = {
|
||||
"cases": rows,
|
||||
"adopted": sum(r["adopted"] for r in rows),
|
||||
"user_excluded": sum(r["state"] == "user_excluded" for r in rows),
|
||||
"source_files": 156,
|
||||
"target_files": 155,
|
||||
"general_conversion_verified": 0,
|
||||
"execution_verified": 0,
|
||||
"new_api_literal_params": sum(r["new_api_literal_params"] for r in rows),
|
||||
|
||||
@@ -11,6 +11,7 @@ import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
from calliope.comfyui.delivery_scope import exclusion_for
|
||||
from calliope.comfyui.library import load_snapshot
|
||||
from calliope.comfyui.ui2api import convert
|
||||
|
||||
@@ -86,6 +87,9 @@ def preserved_fields(expected, actual, pointer=""):
|
||||
|
||||
def compare_case(repo, exports, case, snapshot=None):
|
||||
row = {**case, "executable": False, "execution_verified": False}
|
||||
excluded = exclusion_for(case["source_path"])
|
||||
if excluded:
|
||||
return {**row, "status": "user_excluded", "exclusion": excluded}
|
||||
try:
|
||||
raw = (repo / case["source_path"]).read_bytes()
|
||||
if hashlib.sha1(raw).hexdigest() != case["source_sha"]:
|
||||
@@ -103,9 +107,9 @@ def compare_case(repo, exports, case, snapshot=None):
|
||||
"missing": missing,
|
||||
"cannot_check": case["comparison"],
|
||||
"node_definitions_available": bool(snapshot),
|
||||
"missing_definitions": [] if snapshot else [
|
||||
"未提供可信节点定义;UI位置控件和插件行为不能仅凭源文件确认"
|
||||
],
|
||||
"missing_definitions": []
|
||||
if snapshot
|
||||
else ["未提供可信节点定义;UI位置控件和插件行为不能仅凭源文件确认"],
|
||||
}
|
||||
export_raw = (exports / case["export_file"]).read_bytes()
|
||||
binding = json.loads((exports / case["binding_file"]).read_text(encoding="utf-8"))
|
||||
@@ -191,10 +195,15 @@ def main():
|
||||
else:
|
||||
rows = [compare_case(args.repo, args.exports, case, snapshot) for case in cases]
|
||||
report = {
|
||||
"status": "equal"
|
||||
if rows and all(r["status"] == "equal" for r in rows)
|
||||
"status": "user_excluded"
|
||||
if rows and all(r["status"] == "user_excluded" for r in rows)
|
||||
else "equal"
|
||||
if any(r["status"] != "user_excluded" for r in rows)
|
||||
and all(r["status"] in ("equal", "user_excluded") for r in rows)
|
||||
else "not_ready",
|
||||
"cases": rows,
|
||||
"active_cases": sum(r["status"] != "user_excluded" for r in rows),
|
||||
"user_excluded": sum(r["status"] == "user_excluded" for r in rows),
|
||||
"execution_verified": False,
|
||||
"snapshot_source": (snapshot or {}).get("source_url"),
|
||||
"snapshot_captured_at": (snapshot or {}).get("captured_at"),
|
||||
@@ -212,7 +221,7 @@ def main():
|
||||
ensure_ascii=False,
|
||||
)
|
||||
)
|
||||
return 0 if report["status"] == "equal" else 1
|
||||
return 0 if report["status"] in ("equal", "user_excluded") else 1
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
@@ -10,6 +10,7 @@ import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
from calliope.comfyui.delivery_scope import exclusion_for
|
||||
from calliope.comfyui.ui2api import convert
|
||||
|
||||
|
||||
@@ -39,6 +40,10 @@ def load_companions(path: Path) -> dict:
|
||||
raise ValueError("必须明确记录导出时间/版本的未知状态")
|
||||
if key in records:
|
||||
raise ValueError("配套源路径重复")
|
||||
if exclusion_for(key):
|
||||
# Keep the receipt, without requiring excluded execution materials.
|
||||
records[key] = {"binding": entry, "raw": None}
|
||||
continue
|
||||
# Store bytes, not a live path: the same bytes are hashed and imported.
|
||||
relative = Path(entry["export_file"])
|
||||
if relative.is_absolute() or ".." in relative.parts:
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"excluded": {
|
||||
"example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_rCM_数字人对口型多动态(KJ版).json": {
|
||||
"status": "user_excluded",
|
||||
"case_id": "06",
|
||||
"reason": "用户明确排除这一份,不补导、不修补,不作为剩余阻塞",
|
||||
"decision": {
|
||||
"issue_id": "01a17910-fd9c-72aa-9e76-331f0cfdf896",
|
||||
"comment_id": "01a187e6-5df9-7c98-8afe-05fc9baa5b55",
|
||||
"issue_link": "mention://issue/01a17910-fd9c-72aa-9e76-331f0cfdf896",
|
||||
"quote": "缺的那份不需要了"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
"""Current delivery exclusions, independent of immutable source/material history."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def exclusion_for(source_path: str) -> dict | None:
|
||||
scope = json.loads(Path(__file__).with_suffix(".json").read_text(encoding="utf-8"))
|
||||
return scope["excluded"].get(source_path)
|
||||
@@ -12,6 +12,7 @@ from pathlib import Path
|
||||
from typing import Any
|
||||
|
||||
from calliope.comfyui.companions import resolve_companion
|
||||
from calliope.comfyui.delivery_scope import exclusion_for
|
||||
from calliope.comfyui.lint import workflow_warnings
|
||||
from calliope.comfyui.output_map import auto_output_map, needs_user_output_map
|
||||
from calliope.comfyui.parser import classify_usage, parse_dynamic_inputs, parse_dynamic_outputs
|
||||
@@ -325,6 +326,18 @@ def import_library(
|
||||
"SELECT * FROM workflows WHERE source_repo_path=?", (relative,)
|
||||
).fetchone()
|
||||
record = {"path": relative, "source_sha": sha}
|
||||
excluded = exclusion_for(relative)
|
||||
if excluded:
|
||||
report["files"].append(
|
||||
{
|
||||
**record,
|
||||
"result": "user_excluded",
|
||||
"scope": excluded,
|
||||
"workflow_id": existing["id"] if existing else None,
|
||||
"historical_row_preserved": bool(existing),
|
||||
}
|
||||
)
|
||||
continue
|
||||
companion = (companions or {}).get(relative)
|
||||
# Version companion documentation separately from the immutable received bytes.
|
||||
companion_sha = hashlib.sha256(
|
||||
@@ -502,7 +515,14 @@ def import_library(
|
||||
}
|
||||
)
|
||||
report["counts"] = dict(Counter(r["result"] for r in report["files"]))
|
||||
report["states"] = dict(Counter(r.get("state", "conflict") for r in report["files"]))
|
||||
report["states"] = dict(
|
||||
Counter(
|
||||
r.get("state", "conflict") for r in report["files"] if r["result"] != "user_excluded"
|
||||
)
|
||||
)
|
||||
report["source_total"] = len(report["files"])
|
||||
report["excluded_total"] = sum(r["result"] == "user_excluded" for r in report["files"])
|
||||
report["target_total"] = report["source_total"] - report["excluded_total"]
|
||||
report["total"] = len(report["files"])
|
||||
report["doc_completed"] = 0
|
||||
report["exec_verified"] = 0
|
||||
|
||||
@@ -12,6 +12,7 @@ from pathlib import Path
|
||||
import httpx
|
||||
|
||||
from calliope.comfyui.companions import load_companions
|
||||
from calliope.comfyui.delivery_scope import exclusion_for
|
||||
from calliope.comfyui.library import import_library, load_snapshot, rollback_batch
|
||||
from calliope.db import get_db, migrate_db
|
||||
|
||||
@@ -82,6 +83,9 @@ def main() -> None:
|
||||
"SELECT source_repo_path, source_sha, import_state, doc_json "
|
||||
"FROM workflows WHERE source_repo_path IS NOT NULL ORDER BY source_repo_path"
|
||||
):
|
||||
if exclusion_for(row["source_repo_path"]):
|
||||
# Historical rows stay in the DB, outside current delivery exports.
|
||||
continue
|
||||
doc = json.loads(row["doc_json"])
|
||||
key = hashlib.sha256(row["source_repo_path"].encode()).hexdigest()[:16]
|
||||
write(args.output_dir / "documents" / (key + ".json"), doc)
|
||||
|
||||
@@ -0,0 +1,176 @@
|
||||
"""Current delivery excludes one exact path, preserving historical sources and rows."""
|
||||
|
||||
import json
|
||||
|
||||
from scripts.compare_frontend_exports import compare_case
|
||||
|
||||
from calliope.comfyui import delivery_scope
|
||||
from calliope.comfyui.companions import load_companions
|
||||
from calliope.comfyui.library import import_library, rollback_batch
|
||||
from calliope.db import get_db, migrate_db
|
||||
from tests.test_supplied_companions import MANIFEST, REPO, ROOT
|
||||
|
||||
EXCLUDED = next(
|
||||
c["source_path"] for c in json.loads(MANIFEST.read_text())["cases"] if c["id"] == "06"
|
||||
)
|
||||
|
||||
|
||||
def test_exclusion_is_exact_and_comparison_never_requests_materials(tmp_path):
|
||||
case = next(c for c in json.loads(MANIFEST.read_text())["cases"] if c["id"] == "06")
|
||||
result = compare_case(tmp_path, tmp_path, case)
|
||||
assert result["status"] == "user_excluded"
|
||||
assert not result["executable"] and not result["execution_verified"]
|
||||
assert result["exclusion"]["decision"]["comment_id"] == "01a187e6-5df9-7c98-8afe-05fc9baa5b55"
|
||||
assert delivery_scope.exclusion_for(EXCLUDED)
|
||||
assert delivery_scope.exclusion_for(EXCLUDED.replace("KJ版", "其他版本")) is None
|
||||
assert delivery_scope.exclusion_for(EXCLUDED.replace("5-数字人", "其他目录")) is None
|
||||
assert (REPO / EXCLUDED).is_file()
|
||||
assert (MANIFEST.parent / "06.api.json").is_file()
|
||||
|
||||
|
||||
async def test_new_library_scope_and_old_user_row_preserved(tmp_path, monkeypatch):
|
||||
await migrate_db(tmp_path / "local.db")
|
||||
conn = get_db(tmp_path / "local.db")
|
||||
# Reconstruct the previous historical scope without mutating its recorded files.
|
||||
with monkeypatch.context() as patch:
|
||||
patch.setattr("calliope.comfyui.library.exclusion_for", lambda path: None)
|
||||
prior = import_library(conn, ROOT, source_commit="historical")
|
||||
assert prior["counts"] == {"imported": 156}
|
||||
conn.execute(
|
||||
"UPDATE workflows SET description='用户旧数据' WHERE source_repo_path=?", (EXCLUDED,)
|
||||
)
|
||||
conn.commit()
|
||||
before = dict(
|
||||
conn.execute("SELECT * FROM workflows WHERE source_repo_path=?", (EXCLUDED,)).fetchone()
|
||||
)
|
||||
report = import_library(
|
||||
conn, ROOT, source_commit="current", companions=load_companions(MANIFEST)
|
||||
)
|
||||
assert (report["source_total"], report["target_total"], report["excluded_total"]) == (
|
||||
156,
|
||||
155,
|
||||
1,
|
||||
)
|
||||
assert report["counts"] == {"updated": 6, "skipped": 149, "user_excluded": 1}
|
||||
record = next(r for r in report["files"] if r["path"] == EXCLUDED)
|
||||
assert record["historical_row_preserved"] and record["result"] == "user_excluded"
|
||||
assert (
|
||||
dict(
|
||||
conn.execute("SELECT * FROM workflows WHERE source_repo_path=?", (EXCLUDED,)).fetchone()
|
||||
)
|
||||
== before
|
||||
)
|
||||
assert all(
|
||||
r["workflow_id"] != before["id"] for r in rollback_batch(conn, report["batch_id"])["files"]
|
||||
)
|
||||
assert (
|
||||
dict(
|
||||
conn.execute("SELECT * FROM workflows WHERE source_repo_path=?", (EXCLUDED,)).fetchone()
|
||||
)
|
||||
== before
|
||||
)
|
||||
conn.close()
|
||||
|
||||
|
||||
def test_excluded_missing_material_does_not_block_six_active_exports(tmp_path):
|
||||
manifest = json.loads(MANIFEST.read_text())
|
||||
for case in manifest["cases"]:
|
||||
if case["id"] != "06":
|
||||
(tmp_path / case["export_file"]).write_bytes(
|
||||
(MANIFEST.parent / case["export_file"]).read_bytes()
|
||||
)
|
||||
path = tmp_path / "manifest.json"
|
||||
path.write_text(json.dumps(manifest))
|
||||
records = load_companions(path)
|
||||
assert records[EXCLUDED]["raw"] is None
|
||||
assert sum(r["raw"] is not None for r in records.values()) == 6
|
||||
|
||||
|
||||
def test_comparison_only_excluded_is_skipped_successfully(tmp_path, monkeypatch):
|
||||
from scripts.compare_frontend_exports import main
|
||||
|
||||
case = next(c for c in json.loads(MANIFEST.read_text())["cases"] if c["id"] == "06")
|
||||
cases = tmp_path / "cases.json"
|
||||
cases.write_text(json.dumps({"cases": [case]}))
|
||||
output = tmp_path / "report.json"
|
||||
monkeypatch.setattr(
|
||||
"sys.argv",
|
||||
[
|
||||
"compare",
|
||||
"--repo",
|
||||
str(tmp_path),
|
||||
"--cases",
|
||||
str(cases),
|
||||
"--exports",
|
||||
str(tmp_path),
|
||||
"--output",
|
||||
str(output),
|
||||
],
|
||||
)
|
||||
assert main() == 0
|
||||
report = json.loads(output.read_text())
|
||||
assert report["status"] == "user_excluded"
|
||||
assert report["active_cases"] == 0 and report["user_excluded"] == 1
|
||||
assert not report["execution_verified"]
|
||||
|
||||
|
||||
def test_cli_delivery_manifest_filters_preserved_history(tmp_path, monkeypatch):
|
||||
import asyncio
|
||||
|
||||
from calliope.comfyui.library_cli import main
|
||||
|
||||
db = tmp_path / "history.db"
|
||||
asyncio.run(migrate_db(db))
|
||||
conn = get_db(db)
|
||||
with monkeypatch.context() as patch:
|
||||
patch.setattr("calliope.comfyui.library.exclusion_for", lambda path: None)
|
||||
import_library(conn, ROOT, source_commit="historical")
|
||||
before = dict(
|
||||
conn.execute("SELECT * FROM workflows WHERE source_repo_path=?", (EXCLUDED,)).fetchone()
|
||||
)
|
||||
conn.close()
|
||||
output = tmp_path / "delivery"
|
||||
monkeypatch.setattr(
|
||||
"sys.argv",
|
||||
[
|
||||
"library_cli",
|
||||
"import",
|
||||
"--root",
|
||||
str(ROOT),
|
||||
"--db",
|
||||
str(db),
|
||||
"--source-commit",
|
||||
"current",
|
||||
"--companions",
|
||||
str(MANIFEST),
|
||||
"--output-dir",
|
||||
str(output),
|
||||
],
|
||||
)
|
||||
main()
|
||||
manifest = json.loads((output / "manifest.json").read_text())
|
||||
assert len(manifest) == 155
|
||||
assert EXCLUDED not in {row["path"] for row in manifest}
|
||||
conn = get_db(db)
|
||||
assert conn.execute("SELECT count(*) FROM workflows").fetchone()[0] == 156
|
||||
assert (
|
||||
dict(
|
||||
conn.execute("SELECT * FROM workflows WHERE source_repo_path=?", (EXCLUDED,)).fetchone()
|
||||
)
|
||||
== before
|
||||
)
|
||||
conn.close()
|
||||
|
||||
|
||||
def test_prerequisite_inventory_separates_historical_and_current_scope():
|
||||
from scripts.audit_conversion_prerequisites import inventory
|
||||
|
||||
report = inventory(REPO)
|
||||
assert report["total_ui_files"] == 146
|
||||
assert report["remaining_reliable_conversions"] == report["target_ui_files"] == 145
|
||||
assert report["source_files"] == 156 and report["target_files"] == 155
|
||||
assert report["historical_exact_golden_candidates"] == 7
|
||||
assert report["exact_golden_candidates"] == 6 and report["user_excluded"] == 1
|
||||
excluded = next(f for f in report["files"] if f["path"] == EXCLUDED)
|
||||
assert excluded["delivery_status"] == "user_excluded"
|
||||
assert not excluded["converted_reliably"] and not excluded["execution_verified"]
|
||||
@@ -29,7 +29,7 @@ def test_actual_field_partition_preserves_every_prior_review():
|
||||
|
||||
def test_conversion_inventory_is_complete_scoped_and_never_readiness_evidence():
|
||||
repo = ROOT.parent
|
||||
report = inventory(repo)
|
||||
report = inventory(repo, historical=True)
|
||||
assert report["total_ui_files"] == report["remaining_reliable_conversions"] == 146
|
||||
assert report["exact_golden_candidates"] == 7
|
||||
expected = json.loads(
|
||||
@@ -85,7 +85,10 @@ async def test_all_16_changed_reviews_refresh_and_user_row_stays_exact(tmp_path,
|
||||
await migrate_db(db)
|
||||
conn = get_db(db)
|
||||
try:
|
||||
assert import_library(conn, ROOT, source_commit="fixture")["counts"] == {"imported": 156}
|
||||
assert import_library(conn, ROOT, source_commit="fixture")["counts"] == {
|
||||
"imported": 155,
|
||||
"user_excluded": 1,
|
||||
}
|
||||
prior = {r["source_repo_path"]: dict(r) for r in conn.execute("SELECT * FROM workflows")}
|
||||
protected_path = sorted(revised)[0]
|
||||
conn.execute(
|
||||
@@ -101,11 +104,13 @@ async def test_all_16_changed_reviews_refresh_and_user_row_stays_exact(tmp_path,
|
||||
monkeypatch.setattr(source_reviews, "_reviews", lambda: current)
|
||||
assert import_library(conn, ROOT, source_commit="fixture")["counts"] == {
|
||||
"updated": 15,
|
||||
"skipped": 140,
|
||||
"skipped": 139,
|
||||
"user_excluded": 1,
|
||||
"conflict": 1,
|
||||
}
|
||||
assert import_library(conn, ROOT, source_commit="fixture")["counts"] == {
|
||||
"skipped": 155,
|
||||
"skipped": 154,
|
||||
"user_excluded": 1,
|
||||
"conflict": 1,
|
||||
}
|
||||
for row in conn.execute("SELECT * FROM workflows"):
|
||||
|
||||
@@ -25,7 +25,9 @@ def test_actual_review_partition_and_evidence_match_original_sources():
|
||||
assert report["full_documents_completed"] == report["real_executions"] == 0
|
||||
|
||||
|
||||
async def test_all_140_reviews_refresh_but_user_modified_row_is_preserved(tmp_path, monkeypatch):
|
||||
async def test_current_scope_reviews_refresh_but_user_modified_row_is_preserved(
|
||||
tmp_path, monkeypatch
|
||||
):
|
||||
current = json.loads(Path(source_reviews.__file__).with_suffix(".json").read_text())
|
||||
previous = copy.deepcopy(current)
|
||||
revised = {path for path, review in current.items() if review.get("semantic_review")}
|
||||
@@ -37,7 +39,10 @@ async def test_all_140_reviews_refresh_but_user_modified_row_is_preserved(tmp_pa
|
||||
await migrate_db(tmp_path / "catalogue.db")
|
||||
conn = get_db(tmp_path / "catalogue.db")
|
||||
try:
|
||||
assert import_library(conn, ROOT, source_commit="fixture")["counts"] == {"imported": 156}
|
||||
assert import_library(conn, ROOT, source_commit="fixture")["counts"] == {
|
||||
"imported": 155,
|
||||
"user_excluded": 1,
|
||||
}
|
||||
prior = {
|
||||
row["source_repo_path"]: dict(row)
|
||||
for row in conn.execute("SELECT * FROM workflows")
|
||||
@@ -56,9 +61,15 @@ async def test_all_140_reviews_refresh_but_user_modified_row_is_preserved(tmp_pa
|
||||
)
|
||||
monkeypatch.setattr(source_reviews, "_reviews", lambda: current)
|
||||
result = import_library(conn, ROOT, source_commit="fixture")
|
||||
assert result["counts"] == {"updated": 139, "skipped": 16, "conflict": 1}
|
||||
assert result["counts"] == {
|
||||
"updated": 138,
|
||||
"skipped": 16,
|
||||
"conflict": 1,
|
||||
"user_excluded": 1,
|
||||
}
|
||||
assert import_library(conn, ROOT, source_commit="fixture")["counts"] == {
|
||||
"skipped": 155,
|
||||
"skipped": 154,
|
||||
"user_excluded": 1,
|
||||
"conflict": 1,
|
||||
}
|
||||
for row in conn.execute("SELECT * FROM workflows"):
|
||||
|
||||
@@ -23,6 +23,9 @@ def test_real_exports_preserved_and_case06_closed():
|
||||
assert len(records) == 7
|
||||
for path, record in records.items():
|
||||
raw = (REPO / path).read_bytes()
|
||||
if record["binding"]["id"] == "06":
|
||||
# Validate the historical receipt explicitly, outside current delivery.
|
||||
record = {**record, "raw": (MANIFEST.parent / "06.api.json").read_text()}
|
||||
prompt, audit, issues = resolve_companion(record, path, raw, json.loads(raw))
|
||||
assert not audit["general_conversion_verified"]
|
||||
assert not audit["execution_verified"]
|
||||
@@ -113,10 +116,13 @@ async def test_pair_import_repeat_upgrade_user_protection_and_rollback(tmp_path)
|
||||
original = import_library(conn, ROOT, source_commit="fixture")
|
||||
before = {r["source_repo_path"]: dict(r) for r in conn.execute("SELECT * FROM workflows")}
|
||||
paired = import_library(conn, ROOT, source_commit="fixture", companions=records)
|
||||
assert paired["counts"] == {"updated": 7, "skipped": 149}
|
||||
assert paired["states"] == {"pending_check": 16, "needs_conversion": 140}
|
||||
assert paired["counts"] == {"updated": 6, "skipped": 149, "user_excluded": 1}
|
||||
assert paired["states"] == {"pending_check": 16, "needs_conversion": 139}
|
||||
for path, record in records.items():
|
||||
row = conn.execute("SELECT * FROM workflows WHERE source_repo_path=?", (path,)).fetchone()
|
||||
if record["binding"]["id"] == "06":
|
||||
assert row is None
|
||||
continue
|
||||
doc = json.loads(row["doc_json"])
|
||||
assert row["is_enabled"] == 0
|
||||
assert row["doc_completed_at"] is row["exec_verified_at"] is None
|
||||
@@ -128,9 +134,10 @@ async def test_pair_import_repeat_upgrade_user_protection_and_rollback(tmp_path)
|
||||
if record["binding"]["id"] == "02":
|
||||
assert row["kind"] == "unknown" and json.loads(row["output_map"]) == []
|
||||
assert import_library(conn, ROOT, source_commit="fixture", companions=records)["counts"] == {
|
||||
"skipped": 156
|
||||
"skipped": 155,
|
||||
"user_excluded": 1,
|
||||
}
|
||||
assert len(rollback_batch(conn, paired["batch_id"])["files"]) == 7
|
||||
assert len(rollback_batch(conn, paired["batch_id"])["files"]) == 6
|
||||
assert {
|
||||
r["source_repo_path"]: dict(r) for r in conn.execute("SELECT * FROM workflows")
|
||||
} == before
|
||||
@@ -140,13 +147,15 @@ async def test_pair_import_repeat_upgrade_user_protection_and_rollback(tmp_path)
|
||||
changed[path]["binding"]["instruction"] += "更新说明"
|
||||
assert import_library(conn, ROOT, source_commit="fixture", companions=changed)["counts"] == {
|
||||
"updated": 1,
|
||||
"skipped": 155,
|
||||
"skipped": 154,
|
||||
"user_excluded": 1,
|
||||
}
|
||||
conn.execute("UPDATE workflows SET description='用户修改' WHERE source_repo_path=?", (path,))
|
||||
conn.commit()
|
||||
assert import_library(conn, ROOT, source_commit="fixture", companions=records)["counts"] == {
|
||||
"conflict": 1,
|
||||
"skipped": 155,
|
||||
"skipped": 154,
|
||||
"user_excluded": 1,
|
||||
}
|
||||
assert (
|
||||
conn.execute(
|
||||
@@ -156,7 +165,7 @@ async def test_pair_import_repeat_upgrade_user_protection_and_rollback(tmp_path)
|
||||
)
|
||||
# Removing supplied companions downgrades only managed rows, preserving the user row.
|
||||
removed = import_library(conn, ROOT, source_commit="fixture")
|
||||
assert removed["counts"] == {"conflict": 1, "updated": 6, "skipped": 149}
|
||||
assert removed["counts"] == {"conflict": 1, "updated": 5, "skipped": 149, "user_excluded": 1}
|
||||
assert original["total"] == 156
|
||||
conn.close()
|
||||
|
||||
|
||||
@@ -129,7 +129,7 @@ async def test_reviewed_catalogue_has_real_named_values_and_api_edges(tmp_path):
|
||||
conn = get_db(tmp_path / "local.db")
|
||||
try:
|
||||
report = import_library(conn, ROOT, source_commit="fixture")
|
||||
assert report["states"] == {"needs_conversion": 146, "pending_check": 10}
|
||||
assert report["states"] == {"needs_conversion": 145, "pending_check": 10}
|
||||
for row in conn.execute("SELECT * FROM workflows"):
|
||||
doc = json.loads(row["doc_json"])
|
||||
assert doc["source_review"]["source_sha"] == row["source_sha"]
|
||||
|
||||
@@ -31,8 +31,8 @@ async def test_all_sources_and_repeat_after_restart(tmp_path):
|
||||
before = dict(conn.execute("SELECT * FROM workflows WHERE id=1").fetchone())
|
||||
report = import_library(conn, ROOT, source_commit="fixture")
|
||||
assert report["total"] == 156
|
||||
assert report["states"] == {"needs_conversion": 146, "pending_check": 10}
|
||||
assert conn.execute("SELECT count(*) FROM workflows WHERE is_enabled=0").fetchone()[0] == 156
|
||||
assert report["states"] == {"needs_conversion": 145, "pending_check": 10}
|
||||
assert conn.execute("SELECT count(*) FROM workflows WHERE is_enabled=0").fetchone()[0] == 155
|
||||
assert dict(conn.execute("SELECT * FROM workflows WHERE id=1").fetchone()) == before
|
||||
for row in conn.execute("SELECT * FROM workflows WHERE source_repo_path IS NOT NULL"):
|
||||
doc = json.loads(row["doc_json"])
|
||||
@@ -45,8 +45,8 @@ async def test_all_sources_and_repeat_after_restart(tmp_path):
|
||||
await migrate_db(db)
|
||||
conn = get_db(db)
|
||||
second = import_library(conn, ROOT, source_commit="fixture")
|
||||
assert second["counts"] == {"skipped": 156}
|
||||
assert conn.execute("SELECT count(*) FROM workflows").fetchone()[0] == 157
|
||||
assert second["counts"] == {"skipped": 155, "user_excluded": 1}
|
||||
assert conn.execute("SELECT count(*) FROM workflows").fetchone()[0] == 156
|
||||
conn.close()
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
本轮落实用户明确排除case06的范围决定:**源文件156 / 本次目标155 / 用户明确排除1**。历史156份盘点、146份UI与第六批物理库记录保留为当时证据,未当作原报告错误或转换成功。当前目标为原10份API与145份UI原图,6份采用API配套并保持待核查,139份UI尚无配套;145份通用可靠转换未证明,155份完整说明定稿与真实执行均未完成。
|
||||
|
||||
## 协调失败核查与处理
|
||||
|
||||
运行 `01a187f7-576b-7a8d-914d-bc7383cbc94d` 的实际代理为总管,来源是第六批交付评论,最终状态failed、failure_reason为agent_error.model_not_found_or_unavailable、result为空,没有自动重试。不是施工代码或构建失败。进一步读取HEL-893正文和在途运行记录发现:总管在失败前已更新范围要求并启动审核,审核运行 `01a187f9-6452-705f-b99d-c4440c079b7a` 在本次核查时仍在进行。
|
||||
|
||||
因此不原样重派已启动的审核,不创建竞争施工/审核,不修改代理模型或runtime配置。本轮在自己的施工卡回复原失败线程,把范围落地新head与附件交给总管同步现有审核。本次完成不表示全量验收或发布许可。
|
||||
|
||||
## 范围策略与具体实现
|
||||
|
||||
唯一排除路径:`example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_rCM_数字人对口型多动态(KJ版).json`。依据为[主卡HEL-888](mention://issue/01a17910-fd9c-72aa-9e76-331f0cfdf896) 用户评论 `01a187e6-5df9-7c98-8afe-05fc9baa5b55`:“缺的那份不需要了”。不扩展到其他数字人或其他目录同名文件。
|
||||
|
||||
- `delivery_scope.json/.py` 是当前排除策略的统一来源,记录user_excluded、准确路径、case编号和决定来源。工作流原图、7份原始导出、源侧说明审校与原7类case历史均保留。
|
||||
- `library.py` 默认按准确源路径跳过case06,不新建、不更新、不删除历史/用户行,也不为它写批次修订。导入报告分别给source_total、target_total、excluded_total;旧total继续表示扫描的源文件数,避免把排除当成功。
|
||||
- `library_cli.py` 输出当前交付manifest时过滤case06,即使数据库内有历史行也不会导出进本次交付。已有历史/用户行保持原样;本轮没有通过删除数据或修改其启用状态清理历史。
|
||||
- `companions.py` 保留case06收件元数据但不要求其执行材料存在;即使缺06.api.json也不妨碍6份有效API加载。不补class_type、不补插件、不再催重导或节点定义。
|
||||
- `golden-cases.json` 与 `supplied-api/manifest.json` 保留7个编号并标出case06 user_excluded,记录决定及本次活跃编号01/02/03/04/05/07。原始附件哈希未变。
|
||||
- `compare_frontend_exports.py` 在查源文件、导出、binding或定义前返回user_excluded。汇总不把它算equal、失败或缺材料;仅含排除项的比较返回user_excluded与退出码0,执行验证仍为false。其他case的严格检查没有放宽。
|
||||
- `audit_supplied_api.py` 把case06独立列为user_excluded,允许历史行存在,不验证为采用/实跑。`audit_library_documents.py` 区分完整历史源盘点与当前155交付集,当前集合必须精确完整,不能少其他文件。
|
||||
- `audit_conversion_prerequisites.py` 默认保留全部146份UI结构历史,同时分列本次145、排除1及活跃golden6;待可靠转换当前数为145。纯只读historical模式用于复验原第四批清单,没有给导入器增加绕过排除的开关。
|
||||
|
||||
## 实际隔离验证
|
||||
|
||||
新库:扫描156,导入155,user_excluded 1;16 pending_check、139 needs_conversion。重导155 skipped、user_excluded 1,零新增。6份配套API的294项现值保留,仍未说明定稿或实跑。当前155份源侧审计保留1217个具名现值、3660个待具名控件节点;历史156份的1227/3701仍在原证据中,减少来自明确排除而不是丢数据或完成语义确认。
|
||||
|
||||
自动测试验证:准确路径排除且不误伤其他目录/版本;case06无需源/导出/binding即可比对跳过;缺06材料不阻塞6份;只排除项不报批次失败;新库155导入;历史156库中用户修改的case06整行不动;回退仅涉及6份采用API,不触碰排除行;CLI从历史156库输出155交付manifest且保留原行;转换前置清单分列历史146与当前145、历史golden7与活跃6。
|
||||
|
||||
本轮受影响13组147 passed;另补源语义与UI差分两组21 passed;最终排除策略/历史清单两组10 passed。分批检查有重叠,不相加为独立总数。改动Python文件Ruff与diff检查通过;后台wheel/sdist构建通过,构建包已核对包含delivery_scope.json和模块。未改前端,未重跑前端或全后台,不声称全仓全绿。原基线失败未扩修。
|
||||
|
||||
## 复现与证据
|
||||
|
||||
第六批报告的import命令无需增加排除参数,现在默认采用统一范围策略;新库与重导报告见 `scope-evidence/import.txt`、`reimport.txt`。`scope-evidence/paired/summary.json` 分列6份采用与1份user_excluded,旧 `sixth-evidence` 仍保留当时156份物理库证据。
|
||||
|
||||
```bash
|
||||
uv run --project calliope-backend --frozen python -m calliope.comfyui.library_cli import \
|
||||
--root example_ComfyUI_workflows --db .local-evidence/scope-review.db \
|
||||
--source-commit ddf56714ad424c91c43da41aadd7201e52cb7952 \
|
||||
--companions docs/hel-892/supplied-api/manifest.json --output-dir .local-evidence/scope-review
|
||||
uv run --project calliope-backend --frozen python calliope-backend/scripts/audit_supplied_api.py \
|
||||
--repo . --manifest docs/hel-892/supplied-api/manifest.json \
|
||||
--db .local-evidence/scope-review.db --output .local-evidence/scope-review-paired
|
||||
uv run --project calliope-backend --frozen python calliope-backend/scripts/audit_library_documents.py \
|
||||
--repo . --documents .local-evidence/scope-review --output .local-evidence/scope-review-audit.json
|
||||
uv run --project calliope-backend --frozen python calliope-backend/scripts/audit_conversion_prerequisites.py \
|
||||
--repo . --output .local-evidence/scope-prerequisites.json
|
||||
```
|
||||
|
||||
当前交付审计不要混用要求完整历史156集合的旧分区审计参数;历史分区仍在对应测试中原样复验。新增范围专项见 `tests/test_delivery_scope.py`。提交的conversion-prerequisites.json仅投影当前逐文件范围/哈希/状态;完整未变的结构依据复用第四批历史清单,复现命令仍可生成完整结构报告。
|
||||
|
||||
剩余工作按155范围核查源/API差异、可信定义与输出响应、说明定稿、环境及必要执行验证;排除项不算阻塞或成功。全量完成并经总工审核通过后再部署的决定不变。本轮没有连接目标机、暂停TTS、启动ComfyUI、提交生成、下载模型、调用付费服务、写在线库、合并或部署。
|
||||
@@ -1,3 +1,5 @@
|
||||
> 当前范围:源文件156 / 本次目标155 / 用户明确排除case06共1份。落实策略、协调恢复与证据见 `155份范围落地与协调恢复.md`、`scope-evidence/`;当前145份UI通用转换未证明,6份采用API配套、139份尚无配套,完整定稿/实跑为0。下面156/146及7份收件数字保留为历史范围。
|
||||
|
||||
> 当前第六批:见 `第六批真实API配套导入.md`、`supplied-api/` 和 `sixth-evidence/`。7份真实附件已收取,6份采用为停用的配套API,case06缺类型继续关闭;294项API具名现值与源侧审校分开。通用转换146份仍未证明,完整定稿/实跑仍为0,未合并部署。以下批次为历史记录。
|
||||
|
||||
> 当前第四批:见 `第四批字段审校与转换前置清单.md`、`逐字段第四批审校.md`、`146份UI转换前置清单.md` 及 `fourth-evidence/`。685项新增局部审校已入实际说明;旧542项和140份说明保留。可靠转换仍剩146份,完整定稿/实跑均为0;以下为历史批次。
|
||||
|
||||
@@ -65,7 +65,19 @@
|
||||
"binding_file": "06.binding.json",
|
||||
"compare_focus": "人物图和音频输入、Wav2Vec本地/下载分支、GGUF模型配套、MultiTalk条件及音视频输出",
|
||||
"required_materials": "原ComfyUI前端从此SHA源图原样导出的API JSON(未经手改)及可用的相关节点定义;导出来源/前端版本/节点版本须记录",
|
||||
"comparison": "节点ID/类型、全部具名inputs及其类型/现值、上游ID/输出槽;_meta单独报告;不忽略种子或文件名差异"
|
||||
"comparison": "节点ID/类型、全部具名inputs及其类型/现值、上游ID/输出槽;_meta单独报告;不忽略种子或文件名差异",
|
||||
"delivery_status": "user_excluded",
|
||||
"exclusion": {
|
||||
"status": "user_excluded",
|
||||
"case_id": "06",
|
||||
"reason": "用户明确排除这一份,不补导、不修补,不作为剩余阻塞",
|
||||
"decision": {
|
||||
"issue_id": "01a17910-fd9c-72aa-9e76-331f0cfdf896",
|
||||
"comment_id": "01a187e6-5df9-7c98-8afe-05fc9baa5b55",
|
||||
"issue_link": "mention://issue/01a17910-fd9c-72aa-9e76-331f0cfdf896",
|
||||
"quote": "缺的那份不需要了"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "07",
|
||||
@@ -79,5 +91,19 @@
|
||||
"comparison": "节点ID/类型、全部具名inputs及其类型/现值、上游ID/输出槽;_meta单独报告;不忽略种子或文件名差异"
|
||||
}
|
||||
],
|
||||
"not_execution_evidence": true
|
||||
"not_execution_evidence": true,
|
||||
"delivery_scope": {
|
||||
"source_files": 156,
|
||||
"target_files": 155,
|
||||
"user_excluded": 1,
|
||||
"historical_case_count": 7,
|
||||
"active_case_ids": [
|
||||
"01",
|
||||
"02",
|
||||
"03",
|
||||
"04",
|
||||
"05",
|
||||
"07"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
........................................................................ [ 48%]
|
||||
........................................................................ [ 97%]
|
||||
... [100%]
|
||||
=============================== warnings summary ===============================
|
||||
calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53
|
||||
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-99cfa82c5c3f/workdir/aigc-home/calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
|
||||
_PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]
|
||||
|
||||
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
|
||||
147 passed, 1 warning in 69.94s (0:01:09)
|
||||
@@ -0,0 +1,4 @@
|
||||
Building source distribution...
|
||||
Building wheel from source distribution...
|
||||
Successfully built calliope-backend/dist/calliope-1.5.8.tar.gz
|
||||
Successfully built calliope-backend/dist/calliope-1.5.8-py3-none-any.whl
|
||||
@@ -0,0 +1 @@
|
||||
All checks passed!
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
{"schema_version": 1, "total_ui_files": 146, "remaining_reliable_conversions": 145, "not_execution_evidence": true, "files_by_finding": {"reroute": 35, "position_widgets": 145, "slots": 146, "node_definitions": 146, "nonconcrete_slots": 119, "nonzero_output_links": 121, "note": 104, "subgraph": 51, "nonzero_mode": 61, "endpoint_findings": 51, "virtual_candidate": 85, "named_widgets": 32, "loop_candidate": 9, "literal_cycle": 2}, "exact_golden_candidates": 6, "rule_review_method": "人工规则核对与机器证据拼接;所有规则仍待真实导出/定义,不是146次实际转换验证", "negative_finding_limit": "未命中命名候选或静态环不证明没有插件隐藏循环/虚拟语义", "inventory_scope": "all_source_files_with_current_delivery_scope", "source_files": 156, "target_files": 155, "target_ui_files": 145, "user_excluded": 1, "historical_exact_golden_candidates": 7, "exclusions": [{"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_rCM_数字人对口型多动态(KJ版).json", "status": "user_excluded", "case_id": "06", "reason": "用户明确排除这一份,不补导、不修补,不作为剩余阻塞", "decision": {"issue_id": "01a17910-fd9c-72aa-9e76-331f0cfdf896", "comment_id": "01a187e6-5df9-7c98-8afe-05fc9baa5b55", "issue_link": "mention://issue/01a17910-fd9c-72aa-9e76-331f0cfdf896", "quote": "缺的那份不需要了"}}]}
|
||||
@@ -0,0 +1,8 @@
|
||||
.......... [100%]
|
||||
=============================== warnings summary ===============================
|
||||
calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53
|
||||
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-99cfa82c5c3f/workdir/aigc-home/calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
|
||||
_PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]
|
||||
|
||||
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
|
||||
10 passed, 1 warning in 2.85s
|
||||
@@ -0,0 +1 @@
|
||||
{"batch_id": "824fd88c-cc6a-4466-9a07-23e65bc47f6e", "source_commit": "ddf56714ad424c91c43da41aadd7201e52cb7952", "counts": {"imported": 155, "user_excluded": 1}, "states": {"pending_check": 16, "needs_conversion": 139}, "source_total": 156, "excluded_total": 1, "target_total": 155, "total": 156, "doc_completed": 0, "exec_verified": 0}
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"materials": [
|
||||
{
|
||||
"case": "01",
|
||||
"sha256": "0ed76e088a23af43d6fecbf273fc0a983d7112e2b046d347f715afffac56d57e",
|
||||
"original_bytes_unchanged": true
|
||||
},
|
||||
{
|
||||
"case": "02",
|
||||
"sha256": "daa40971b730076691721afe95e165932df94e3423f1fc44dcb7707026e7125b",
|
||||
"original_bytes_unchanged": true
|
||||
},
|
||||
{
|
||||
"case": "03",
|
||||
"sha256": "91e6c2cea3747a03bbb71f661dbd016b28040781482b956365ff76a7a8b647ce",
|
||||
"original_bytes_unchanged": true
|
||||
},
|
||||
{
|
||||
"case": "04",
|
||||
"sha256": "2066b07b2ca5390ba3e795df6b43934dab83865b12870b6ff26d8c0ef24f091e",
|
||||
"original_bytes_unchanged": true
|
||||
},
|
||||
{
|
||||
"case": "05",
|
||||
"sha256": "95a01c1ea27a8279a6dc202820505099a94161d91e0789189b61208b09007af8",
|
||||
"original_bytes_unchanged": true
|
||||
},
|
||||
{
|
||||
"case": "06",
|
||||
"sha256": "3e9176a5346ce8b8122b6da10f377fbeb894dc7c2c82a415f85ffc0dbfefc90b",
|
||||
"original_bytes_unchanged": true
|
||||
},
|
||||
{
|
||||
"case": "07",
|
||||
"sha256": "b1b4f6a6c02d8d21701943c67b62805b1210fed17e7e26b618c58e112ea1d70d",
|
||||
"original_bytes_unchanged": true
|
||||
}
|
||||
],
|
||||
"source_files_unchanged": true,
|
||||
"scope_policy_packaged": true
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"adopted": 6, "user_excluded": 1, "source_files": 156, "target_files": 155, "general_conversion_verified": 0, "execution_verified": 0, "new_api_literal_params": 294}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,903 @@
|
||||
{
|
||||
"binding": {
|
||||
"id": "02",
|
||||
"source_path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-Subtitle语音转字幕.json",
|
||||
"source_sha": "08a7519a6a6c532b8a0670dce3deff70881527ef",
|
||||
"export_file": "02.api.json",
|
||||
"source_sha256": "47f9afa955a6a5dce37000cb6a15bac7516d26ff50b6398bda334c825552cfd8",
|
||||
"export_sha256": "daa40971b730076691721afe95e165932df94e3423f1fc44dcb7707026e7125b",
|
||||
"original_filename": "Qwen3-ASR-Subtitle语音转字幕.json",
|
||||
"provider": "白栖知",
|
||||
"attachment_id": "01a187e2-366c-7d95-87e8-231a4b305a9e",
|
||||
"received_at": "2026-10-29T13:38:38Z",
|
||||
"received_at_basis": "主卡附件评论创建时间;不是导出时间",
|
||||
"source_comment_id": "01a187e2-4f6e-761e-9412-43042e094daa",
|
||||
"exported_at": null,
|
||||
"frontend_version": null,
|
||||
"node_versions": null,
|
||||
"provenance": "user_supplied_api_export_environment_unknown",
|
||||
"source_export_equivalence_verified": false,
|
||||
"instruction": "语音转字幕:6.audio读入音频,9.audio接6的槽0;9具名hints已内联,原PrimitiveNode不在API中。1/2/3/4的source分别接9的槽0/1/2/3;原图标示STRING出口,只能确认文本预览,output_path字段不能证明已经产出字幕文件,文件映射仍待真实历史响应。"
|
||||
},
|
||||
"adopted": true,
|
||||
"method": "supplied_api_companion",
|
||||
"general_conversion_verified": false,
|
||||
"execution_verified": false,
|
||||
"comparison": {
|
||||
"equivalent": false,
|
||||
"scope": "逐节点/字段保留API值和类型;直接连线比较ID及槽;位置控件不按顺序猜名",
|
||||
"nodes": [
|
||||
{
|
||||
"api_id": "1",
|
||||
"api_node": {
|
||||
"inputs": {
|
||||
"source": [
|
||||
"9",
|
||||
3
|
||||
]
|
||||
},
|
||||
"class_type": "PreviewAny",
|
||||
"_meta": {
|
||||
"title": "预览任意"
|
||||
}
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"field": "source",
|
||||
"api_value": [
|
||||
"9",
|
||||
3
|
||||
],
|
||||
"api_type": "list",
|
||||
"source_link": [
|
||||
18,
|
||||
9,
|
||||
3,
|
||||
1,
|
||||
0,
|
||||
"STRING"
|
||||
],
|
||||
"source_expected": [
|
||||
"9",
|
||||
3
|
||||
],
|
||||
"status": "link_equal"
|
||||
}
|
||||
],
|
||||
"source_node": {
|
||||
"id": 1,
|
||||
"type": "PreviewAny",
|
||||
"pos": [
|
||||
3410,
|
||||
5790
|
||||
],
|
||||
"size": [
|
||||
370,
|
||||
120
|
||||
],
|
||||
"flags": {},
|
||||
"order": 6,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"localized_name": "源",
|
||||
"name": "source",
|
||||
"type": "*",
|
||||
"link": 18
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"properties": {
|
||||
"Node name for S&R": "PreviewAny",
|
||||
"cnr_id": "comfy-core",
|
||||
"ver": "0.11.0",
|
||||
"ue_properties": {
|
||||
"widget_ue_connectable": {},
|
||||
"input_ue_unconnectable": {},
|
||||
"version": "7.5.2"
|
||||
}
|
||||
},
|
||||
"widgets_values": [
|
||||
null,
|
||||
null,
|
||||
null
|
||||
]
|
||||
},
|
||||
"status": "type_match",
|
||||
"metadata": {
|
||||
"source_title": "PreviewAny",
|
||||
"api_meta": {
|
||||
"title": "预览任意"
|
||||
},
|
||||
"title_equal": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"api_id": "2",
|
||||
"api_node": {
|
||||
"inputs": {
|
||||
"source": [
|
||||
"9",
|
||||
1
|
||||
]
|
||||
},
|
||||
"class_type": "PreviewAny",
|
||||
"_meta": {
|
||||
"title": "预览任意"
|
||||
}
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"field": "source",
|
||||
"api_value": [
|
||||
"9",
|
||||
1
|
||||
],
|
||||
"api_type": "list",
|
||||
"source_link": [
|
||||
16,
|
||||
9,
|
||||
1,
|
||||
2,
|
||||
0,
|
||||
"STRING"
|
||||
],
|
||||
"source_expected": [
|
||||
"9",
|
||||
1
|
||||
],
|
||||
"status": "link_equal"
|
||||
}
|
||||
],
|
||||
"source_node": {
|
||||
"id": 2,
|
||||
"type": "PreviewAny",
|
||||
"pos": [
|
||||
3410,
|
||||
5410
|
||||
],
|
||||
"size": [
|
||||
370,
|
||||
180
|
||||
],
|
||||
"flags": {},
|
||||
"order": 4,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"localized_name": "源",
|
||||
"name": "source",
|
||||
"type": "*",
|
||||
"link": 16
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"properties": {
|
||||
"Node name for S&R": "PreviewAny",
|
||||
"cnr_id": "comfy-core",
|
||||
"ver": "0.11.0",
|
||||
"ue_properties": {
|
||||
"widget_ue_connectable": {},
|
||||
"input_ue_unconnectable": {},
|
||||
"version": "7.5.2"
|
||||
}
|
||||
},
|
||||
"widgets_values": [
|
||||
null,
|
||||
null,
|
||||
null
|
||||
]
|
||||
},
|
||||
"status": "type_match",
|
||||
"metadata": {
|
||||
"source_title": "PreviewAny",
|
||||
"api_meta": {
|
||||
"title": "预览任意"
|
||||
},
|
||||
"title_equal": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"api_id": "3",
|
||||
"api_node": {
|
||||
"inputs": {
|
||||
"source": [
|
||||
"9",
|
||||
2
|
||||
]
|
||||
},
|
||||
"class_type": "PreviewAny",
|
||||
"_meta": {
|
||||
"title": "预览任意"
|
||||
}
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"field": "source",
|
||||
"api_value": [
|
||||
"9",
|
||||
2
|
||||
],
|
||||
"api_type": "list",
|
||||
"source_link": [
|
||||
17,
|
||||
9,
|
||||
2,
|
||||
3,
|
||||
0,
|
||||
"STRING"
|
||||
],
|
||||
"source_expected": [
|
||||
"9",
|
||||
2
|
||||
],
|
||||
"status": "link_equal"
|
||||
}
|
||||
],
|
||||
"source_node": {
|
||||
"id": 3,
|
||||
"type": "PreviewAny",
|
||||
"pos": [
|
||||
3410,
|
||||
5630
|
||||
],
|
||||
"size": [
|
||||
370,
|
||||
120
|
||||
],
|
||||
"flags": {},
|
||||
"order": 5,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"localized_name": "源",
|
||||
"name": "source",
|
||||
"type": "*",
|
||||
"link": 17
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"properties": {
|
||||
"Node name for S&R": "PreviewAny",
|
||||
"cnr_id": "comfy-core",
|
||||
"ver": "0.11.0",
|
||||
"ue_properties": {
|
||||
"widget_ue_connectable": {},
|
||||
"input_ue_unconnectable": {},
|
||||
"version": "7.5.2"
|
||||
}
|
||||
},
|
||||
"widgets_values": [
|
||||
null,
|
||||
null,
|
||||
null
|
||||
]
|
||||
},
|
||||
"status": "type_match",
|
||||
"metadata": {
|
||||
"source_title": "PreviewAny",
|
||||
"api_meta": {
|
||||
"title": "预览任意"
|
||||
},
|
||||
"title_equal": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"api_id": "4",
|
||||
"api_node": {
|
||||
"inputs": {
|
||||
"source": [
|
||||
"9",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "PreviewAny",
|
||||
"_meta": {
|
||||
"title": "预览任意"
|
||||
}
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"field": "source",
|
||||
"api_value": [
|
||||
"9",
|
||||
0
|
||||
],
|
||||
"api_type": "list",
|
||||
"source_link": [
|
||||
15,
|
||||
9,
|
||||
0,
|
||||
4,
|
||||
0,
|
||||
"STRING"
|
||||
],
|
||||
"source_expected": [
|
||||
"9",
|
||||
0
|
||||
],
|
||||
"status": "link_equal"
|
||||
}
|
||||
],
|
||||
"source_node": {
|
||||
"id": 4,
|
||||
"type": "PreviewAny",
|
||||
"pos": [
|
||||
3410,
|
||||
5190
|
||||
],
|
||||
"size": [
|
||||
370,
|
||||
180
|
||||
],
|
||||
"flags": {},
|
||||
"order": 3,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"localized_name": "源",
|
||||
"name": "source",
|
||||
"type": "*",
|
||||
"link": 15
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"properties": {
|
||||
"Node name for S&R": "PreviewAny",
|
||||
"cnr_id": "comfy-core",
|
||||
"ver": "0.11.0",
|
||||
"ue_properties": {
|
||||
"widget_ue_connectable": {},
|
||||
"input_ue_unconnectable": {},
|
||||
"version": "7.5.2"
|
||||
}
|
||||
},
|
||||
"widgets_values": [
|
||||
null,
|
||||
null,
|
||||
null
|
||||
]
|
||||
},
|
||||
"status": "type_match",
|
||||
"metadata": {
|
||||
"source_title": "PreviewAny",
|
||||
"api_meta": {
|
||||
"title": "预览任意"
|
||||
},
|
||||
"title_equal": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"api_id": "6",
|
||||
"api_node": {
|
||||
"inputs": {
|
||||
"audio": "ComfyUI-qwenasr_00003_.mp3"
|
||||
},
|
||||
"class_type": "LoadAudio",
|
||||
"_meta": {
|
||||
"title": "加载音频"
|
||||
}
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"field": "audio",
|
||||
"api_value": "ComfyUI-qwenasr_00003_.mp3",
|
||||
"api_type": "str",
|
||||
"status": "unnamed_or_virtual_boundary_unverified"
|
||||
}
|
||||
],
|
||||
"source_node": {
|
||||
"id": 6,
|
||||
"type": "LoadAudio",
|
||||
"pos": [
|
||||
2720,
|
||||
5190
|
||||
],
|
||||
"size": [
|
||||
290,
|
||||
140
|
||||
],
|
||||
"flags": {},
|
||||
"order": 1,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"localized_name": "音频",
|
||||
"name": "audio",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "audio"
|
||||
},
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"localized_name": "音频UI",
|
||||
"name": "audioUI",
|
||||
"type": "AUDIO_UI",
|
||||
"widget": {
|
||||
"name": "audioUI"
|
||||
},
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"localized_name": "选择文件上传",
|
||||
"name": "upload",
|
||||
"type": "AUDIOUPLOAD",
|
||||
"widget": {
|
||||
"name": "upload"
|
||||
},
|
||||
"link": null
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"localized_name": "音频",
|
||||
"name": "AUDIO",
|
||||
"type": "AUDIO",
|
||||
"links": [
|
||||
13
|
||||
]
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "LoadAudio",
|
||||
"cnr_id": "comfy-core",
|
||||
"ver": "0.11.0",
|
||||
"ue_properties": {
|
||||
"widget_ue_connectable": {},
|
||||
"input_ue_unconnectable": {},
|
||||
"version": "7.5.2"
|
||||
}
|
||||
},
|
||||
"widgets_values": [
|
||||
"ComfyUI-qwenasr_00003_.mp3",
|
||||
null,
|
||||
null
|
||||
]
|
||||
},
|
||||
"status": "type_match",
|
||||
"metadata": {
|
||||
"source_title": "LoadAudio",
|
||||
"api_meta": {
|
||||
"title": "加载音频"
|
||||
},
|
||||
"title_equal": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"api_id": "9",
|
||||
"api_node": {
|
||||
"inputs": {
|
||||
"model": "Qwen/Qwen3-ASR-0.6B",
|
||||
"precision": "bf16",
|
||||
"attention": "auto",
|
||||
"forced_aligner": "Qwen/Qwen3-ForcedAligner-0.6B",
|
||||
"language": "auto",
|
||||
"hints": "Important terms: ComfyUI, Qwen3-ASR\nUse exact casing for these terms.",
|
||||
"output_format": "none",
|
||||
"output_path": "",
|
||||
"split_mode": "split_by_punctuation_or_pause_or_length",
|
||||
"max_gap_sec": 0.6,
|
||||
"max_chars": 40,
|
||||
"max_inference_batch_size": 32,
|
||||
"max_new_tokens": 256,
|
||||
"normalize_text": true,
|
||||
"unload_models": true,
|
||||
"audio": [
|
||||
"6",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "AILab_Qwen3ASRSubtitle",
|
||||
"_meta": {
|
||||
"title": "Subtitle (QwenASR)"
|
||||
}
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"field": "model",
|
||||
"api_value": "Qwen/Qwen3-ASR-0.6B",
|
||||
"api_type": "str",
|
||||
"status": "unnamed_or_virtual_boundary_unverified"
|
||||
},
|
||||
{
|
||||
"field": "precision",
|
||||
"api_value": "bf16",
|
||||
"api_type": "str",
|
||||
"status": "unnamed_or_virtual_boundary_unverified"
|
||||
},
|
||||
{
|
||||
"field": "attention",
|
||||
"api_value": "auto",
|
||||
"api_type": "str",
|
||||
"status": "unnamed_or_virtual_boundary_unverified"
|
||||
},
|
||||
{
|
||||
"field": "forced_aligner",
|
||||
"api_value": "Qwen/Qwen3-ForcedAligner-0.6B",
|
||||
"api_type": "str",
|
||||
"status": "unnamed_or_virtual_boundary_unverified"
|
||||
},
|
||||
{
|
||||
"field": "language",
|
||||
"api_value": "auto",
|
||||
"api_type": "str",
|
||||
"status": "unnamed_or_virtual_boundary_unverified"
|
||||
},
|
||||
{
|
||||
"field": "hints",
|
||||
"api_value": "Important terms: ComfyUI, Qwen3-ASR\nUse exact casing for these terms.",
|
||||
"api_type": "str",
|
||||
"source_link": [
|
||||
14,
|
||||
7,
|
||||
0,
|
||||
9,
|
||||
6,
|
||||
"STRING"
|
||||
],
|
||||
"source_expected": [
|
||||
"7",
|
||||
0
|
||||
],
|
||||
"status": "link_difference"
|
||||
},
|
||||
{
|
||||
"field": "output_format",
|
||||
"api_value": "none",
|
||||
"api_type": "str",
|
||||
"status": "unnamed_or_virtual_boundary_unverified"
|
||||
},
|
||||
{
|
||||
"field": "output_path",
|
||||
"api_value": "",
|
||||
"api_type": "str",
|
||||
"status": "unnamed_or_virtual_boundary_unverified"
|
||||
},
|
||||
{
|
||||
"field": "split_mode",
|
||||
"api_value": "split_by_punctuation_or_pause_or_length",
|
||||
"api_type": "str",
|
||||
"status": "unnamed_or_virtual_boundary_unverified"
|
||||
},
|
||||
{
|
||||
"field": "max_gap_sec",
|
||||
"api_value": 0.6,
|
||||
"api_type": "float",
|
||||
"status": "unnamed_or_virtual_boundary_unverified"
|
||||
},
|
||||
{
|
||||
"field": "max_chars",
|
||||
"api_value": 40,
|
||||
"api_type": "int",
|
||||
"status": "unnamed_or_virtual_boundary_unverified"
|
||||
},
|
||||
{
|
||||
"field": "max_inference_batch_size",
|
||||
"api_value": 32,
|
||||
"api_type": "int",
|
||||
"status": "unnamed_or_virtual_boundary_unverified"
|
||||
},
|
||||
{
|
||||
"field": "max_new_tokens",
|
||||
"api_value": 256,
|
||||
"api_type": "int",
|
||||
"status": "unnamed_or_virtual_boundary_unverified"
|
||||
},
|
||||
{
|
||||
"field": "normalize_text",
|
||||
"api_value": true,
|
||||
"api_type": "bool",
|
||||
"status": "unnamed_or_virtual_boundary_unverified"
|
||||
},
|
||||
{
|
||||
"field": "unload_models",
|
||||
"api_value": true,
|
||||
"api_type": "bool",
|
||||
"status": "unnamed_or_virtual_boundary_unverified"
|
||||
},
|
||||
{
|
||||
"field": "audio",
|
||||
"api_value": [
|
||||
"6",
|
||||
0
|
||||
],
|
||||
"api_type": "list",
|
||||
"source_link": [
|
||||
13,
|
||||
6,
|
||||
0,
|
||||
9,
|
||||
0,
|
||||
"AUDIO"
|
||||
],
|
||||
"source_expected": [
|
||||
"6",
|
||||
0
|
||||
],
|
||||
"status": "link_equal"
|
||||
}
|
||||
],
|
||||
"source_node": {
|
||||
"id": 9,
|
||||
"type": "AILab_Qwen3ASRSubtitle",
|
||||
"pos": [
|
||||
3030,
|
||||
5190
|
||||
],
|
||||
"size": [
|
||||
340,
|
||||
460
|
||||
],
|
||||
"flags": {},
|
||||
"order": 2,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"localized_name": "audio",
|
||||
"name": "audio",
|
||||
"type": "AUDIO",
|
||||
"link": 13
|
||||
},
|
||||
{
|
||||
"localized_name": "model",
|
||||
"name": "model",
|
||||
"shape": 7,
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "model"
|
||||
},
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"localized_name": "precision",
|
||||
"name": "precision",
|
||||
"shape": 7,
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "precision"
|
||||
},
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"localized_name": "attention",
|
||||
"name": "attention",
|
||||
"shape": 7,
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "attention"
|
||||
},
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"localized_name": "forced_aligner",
|
||||
"name": "forced_aligner",
|
||||
"shape": 7,
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "forced_aligner"
|
||||
},
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"localized_name": "language",
|
||||
"name": "language",
|
||||
"shape": 7,
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "language"
|
||||
},
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"localized_name": "hints",
|
||||
"name": "hints",
|
||||
"shape": 7,
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "hints"
|
||||
},
|
||||
"link": 14
|
||||
},
|
||||
{
|
||||
"localized_name": "output_format",
|
||||
"name": "output_format",
|
||||
"shape": 7,
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "output_format"
|
||||
},
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"localized_name": "output_path",
|
||||
"name": "output_path",
|
||||
"shape": 7,
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "output_path"
|
||||
},
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"localized_name": "split_mode",
|
||||
"name": "split_mode",
|
||||
"shape": 7,
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "split_mode"
|
||||
},
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"localized_name": "max_gap_sec",
|
||||
"name": "max_gap_sec",
|
||||
"shape": 7,
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "max_gap_sec"
|
||||
},
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"localized_name": "max_chars",
|
||||
"name": "max_chars",
|
||||
"shape": 7,
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "max_chars"
|
||||
},
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"localized_name": "max_inference_batch_size",
|
||||
"name": "max_inference_batch_size",
|
||||
"shape": 7,
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "max_inference_batch_size"
|
||||
},
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"localized_name": "max_new_tokens",
|
||||
"name": "max_new_tokens",
|
||||
"shape": 7,
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "max_new_tokens"
|
||||
},
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"localized_name": "unload_models",
|
||||
"name": "unload_models",
|
||||
"shape": 7,
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "unload_models"
|
||||
},
|
||||
"link": null
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"localized_name": "TEXT",
|
||||
"name": "TEXT",
|
||||
"type": "STRING",
|
||||
"links": [
|
||||
15
|
||||
]
|
||||
},
|
||||
{
|
||||
"localized_name": "SUBTITLES",
|
||||
"name": "SUBTITLES",
|
||||
"type": "STRING",
|
||||
"links": [
|
||||
16
|
||||
]
|
||||
},
|
||||
{
|
||||
"localized_name": "LANUGAGE",
|
||||
"name": "LANUGAGE",
|
||||
"type": "STRING",
|
||||
"links": [
|
||||
17
|
||||
]
|
||||
},
|
||||
{
|
||||
"localized_name": "OUTPUT_PATH",
|
||||
"name": "OUTPUT_PATH",
|
||||
"type": "STRING",
|
||||
"links": [
|
||||
18
|
||||
]
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "AILab_Qwen3ASRSubtitle",
|
||||
"ue_properties": {
|
||||
"widget_ue_connectable": {},
|
||||
"input_ue_unconnectable": {},
|
||||
"version": "7.8"
|
||||
}
|
||||
},
|
||||
"widgets_values": [
|
||||
"Qwen/Qwen3-ASR-0.6B",
|
||||
"bf16",
|
||||
"auto",
|
||||
"Qwen/Qwen3-ForcedAligner-0.6B",
|
||||
"auto",
|
||||
"Important terms: ComfyUI, Qwen3-ASR\nUse exact casing for these terms.",
|
||||
"none",
|
||||
"",
|
||||
"split_by_punctuation_or_pause_or_length",
|
||||
0.6,
|
||||
40,
|
||||
32,
|
||||
256,
|
||||
true
|
||||
],
|
||||
"color": "#151c19",
|
||||
"bgcolor": "#444d49"
|
||||
},
|
||||
"status": "type_match",
|
||||
"metadata": {
|
||||
"source_title": "AILab_Qwen3ASRSubtitle",
|
||||
"api_meta": {
|
||||
"title": "Subtitle (QwenASR)"
|
||||
},
|
||||
"title_equal": false
|
||||
}
|
||||
}
|
||||
],
|
||||
"source_only_nodes": [
|
||||
{
|
||||
"source_id": "7",
|
||||
"node": {
|
||||
"id": 7,
|
||||
"type": "PrimitiveNode",
|
||||
"pos": [
|
||||
2720,
|
||||
5380
|
||||
],
|
||||
"size": [
|
||||
290,
|
||||
90
|
||||
],
|
||||
"flags": {},
|
||||
"order": 0,
|
||||
"mode": 0,
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "STRING",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "hints"
|
||||
},
|
||||
"links": [
|
||||
14
|
||||
]
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Run widget replace on values": false,
|
||||
"ue_properties": {
|
||||
"widget_ue_connectable": {},
|
||||
"version": "7.8",
|
||||
"input_ue_unconnectable": {}
|
||||
}
|
||||
},
|
||||
"widgets_values": [
|
||||
"Important terms: ComfyUI, Qwen3-ASR\nUse exact casing for these terms."
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"unconfirmed": [
|
||||
"虚拟节点、子图边界、开关与循环展开语义需独立核查",
|
||||
"未有可信节点定义;单位、范围、环境和实际产物未验证"
|
||||
]
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,936 @@
|
||||
{
|
||||
"cases": [
|
||||
{
|
||||
"id": "01",
|
||||
"source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/ControlNet_aux_常用样例.json",
|
||||
"state": "pending_check",
|
||||
"adopted": true,
|
||||
"api_nodes": 22,
|
||||
"api_inputs": 57,
|
||||
"new_api_literal_params": 34,
|
||||
"field_comparison": {
|
||||
"unnamed_or_virtual_boundary_unverified": 34,
|
||||
"link_difference": 9,
|
||||
"link_equal": 14
|
||||
},
|
||||
"source_only_ids": [
|
||||
"31",
|
||||
"32",
|
||||
"24",
|
||||
"35"
|
||||
],
|
||||
"api_only_ids": [],
|
||||
"named_evidence_differences": [],
|
||||
"output_map": [
|
||||
{
|
||||
"class_type": "PreviewImage",
|
||||
"kind": "image",
|
||||
"label": "预览图像",
|
||||
"nodeId": "3"
|
||||
},
|
||||
{
|
||||
"class_type": "PreviewImage",
|
||||
"kind": "image",
|
||||
"label": "预览图像",
|
||||
"nodeId": "5"
|
||||
},
|
||||
{
|
||||
"class_type": "PreviewImage",
|
||||
"kind": "image",
|
||||
"label": "预览图像",
|
||||
"nodeId": "11"
|
||||
},
|
||||
{
|
||||
"class_type": "PreviewImage",
|
||||
"kind": "image",
|
||||
"label": "预览图像",
|
||||
"nodeId": "13"
|
||||
},
|
||||
{
|
||||
"class_type": "PreviewImage",
|
||||
"kind": "image",
|
||||
"label": "预览图像",
|
||||
"nodeId": "22"
|
||||
},
|
||||
{
|
||||
"class_type": "PreviewImage",
|
||||
"kind": "image",
|
||||
"label": "预览图像",
|
||||
"nodeId": "36"
|
||||
},
|
||||
{
|
||||
"class_type": "PreviewImage",
|
||||
"kind": "image",
|
||||
"label": "预览图像",
|
||||
"nodeId": "37"
|
||||
}
|
||||
],
|
||||
"kind": "image",
|
||||
"issues": [
|
||||
{
|
||||
"code": "companion_unverified",
|
||||
"message": "采用提供的配套API;源图差异、导出版本与真实执行尚未核验,保持停用"
|
||||
}
|
||||
],
|
||||
"general_conversion_verified": false,
|
||||
"execution_verified": false,
|
||||
"evidence_file": "01.json"
|
||||
},
|
||||
{
|
||||
"id": "02",
|
||||
"source_path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-Subtitle语音转字幕.json",
|
||||
"state": "pending_check",
|
||||
"adopted": true,
|
||||
"api_nodes": 6,
|
||||
"api_inputs": 21,
|
||||
"new_api_literal_params": 16,
|
||||
"field_comparison": {
|
||||
"link_equal": 5,
|
||||
"unnamed_or_virtual_boundary_unverified": 15,
|
||||
"link_difference": 1
|
||||
},
|
||||
"source_only_ids": [
|
||||
"7"
|
||||
],
|
||||
"api_only_ids": [],
|
||||
"named_evidence_differences": [],
|
||||
"output_map": [],
|
||||
"kind": "unknown",
|
||||
"issues": [
|
||||
{
|
||||
"code": "companion_unverified",
|
||||
"message": "采用提供的配套API;源图差异、导出版本与真实执行尚未核验,保持停用"
|
||||
}
|
||||
],
|
||||
"general_conversion_verified": false,
|
||||
"execution_verified": false,
|
||||
"evidence_file": "02.json"
|
||||
},
|
||||
{
|
||||
"id": "03",
|
||||
"source_path": "example_ComfyUI_workflows/2-音乐生成/minimax_music_文生音乐.json",
|
||||
"state": "pending_check",
|
||||
"adopted": true,
|
||||
"api_nodes": 12,
|
||||
"api_inputs": 40,
|
||||
"new_api_literal_params": 24,
|
||||
"field_comparison": {
|
||||
"named_equal": 16,
|
||||
"link_difference": 9,
|
||||
"link_equal": 15
|
||||
},
|
||||
"source_only_ids": [
|
||||
"39",
|
||||
"40",
|
||||
"37"
|
||||
],
|
||||
"api_only_ids": [],
|
||||
"named_evidence_differences": [
|
||||
{
|
||||
"node_id": "37:6",
|
||||
"field": "unet_name",
|
||||
"api_value": "MiniMax/minimax_music3_dit_fp16.safetensors",
|
||||
"api_type": "str",
|
||||
"named_evidence": {
|
||||
"source_value": "minimax_music3_dit_fp16.safetensors",
|
||||
"source_type": "str",
|
||||
"status": "different"
|
||||
},
|
||||
"source_link": [
|
||||
55,
|
||||
-10,
|
||||
4,
|
||||
6,
|
||||
0,
|
||||
"COMBO"
|
||||
],
|
||||
"source_expected": [
|
||||
"37:-10",
|
||||
4
|
||||
],
|
||||
"status": "link_difference"
|
||||
},
|
||||
{
|
||||
"node_id": "37:13",
|
||||
"field": "caption",
|
||||
"api_value": "Global Metadata: Lo-fi hip-hop, chillhop. 78 BPM, D flat major, major scale with jazzy extensions. Laid-back and dreamy throughout, a gentle warm drift with a subtle late-night glow that deepens in the middle and dissolves softly at the end. Studying, raining-outside, headphones-on late-night listening. Bedroom production: muddy warm texture, heavy vinyl crackle, tape hiss and wow-flutter pitch wobble, low-passed dusty mix, soft-clipped drums, everything slightly detuned and cozy.\n\nVocal Details: Soft androgynous vocal, hushed half-sung half-spoken delivery, sitting low in the mix like another instrument, lazy behind-the-beat phrasing, gentle breathy timbre. Sparse murmured double-tracked harmonies, occasional wordless \"mmm\" and \"ooh\" hums drenched in tape delay and warm spring reverb. Long stretches with no vocals at all.\n\nArrangement: Dusty boom-bap drums with a soft thumping kick, cracked snare with lazy swing, brushed hi-hats, low round sub bass. Warm Rhodes piano chords with slow chorus wobble as the harmonic bed, mellow jazzy guitar licks answering the vocal lines, constant vinyl crackle as texture. Intro: rain and vinyl noise, solo Rhodes chords fading in, drums slipping in halfway. Verses: minimal — drums, bass, Rhodes, soft guitar fills between lines. Instrumental sections: guitar and Rhodes trade relaxed jazzy phrases over the beat, occasional muted trumpet ghost notes far in the background. Bridge: drums drop away to rain, crackle, and floating detuned Rhodes, then the beat eases back in. Outro: elements fade one by one until only vinyl crackle and a last unresolved Rhodes chord remain.",
|
||||
"api_type": "str",
|
||||
"named_evidence": {
|
||||
"source_value": "",
|
||||
"source_type": "str",
|
||||
"status": "different"
|
||||
},
|
||||
"source_link": [
|
||||
45,
|
||||
-10,
|
||||
0,
|
||||
13,
|
||||
1,
|
||||
"STRING"
|
||||
],
|
||||
"source_expected": [
|
||||
"37:-10",
|
||||
0
|
||||
],
|
||||
"status": "link_difference"
|
||||
},
|
||||
{
|
||||
"node_id": "37:13",
|
||||
"field": "lyrics",
|
||||
"api_value": "[Intro]\nMmm...\n(rain on the window)\nOoh...\n\n[Verse]\nMidnight and the canvas glows\nDragging little wires where the current flows\nType a quiet dream, let the sampler drift\nNoise into a picture, like the fog just lifts\nTwenty slow steps, I'm in no hurry now\nLatents turning colors and I don't know how\nEvery render's like a polaroid I found\nSoft focus memories, no sound\n\n[Instrumental]\n\n[Verse]\nQueue another frame, let the motion breathe\nPictures start to move like the falling leaves\nVideo drifting by at twenty-four\nLittle animations on my bedroom floor\nSeed after seed like the rain outside\nSome of them are keepers, some I let slide\nSave the ones that feel like a Sunday slow\nNode to node to node... and off we go\n\n[Chorus]\nMmm... let it render on\n(take your time, take your time)\nOoh... by the morning it'll all be done\n(one more queue, one more try)\n\n[Instrumental]\n\n[Bridge]\nRain keeps drawing pictures on the glass...\nMy machine keeps dreaming...\nNeither of us fast...\n\n[Chorus]\nMmm... let it render on\n(take your time, take your time)\nOoh... by the morning it'll all be done\n(one more queue, one more try)\n\n[Instrumental]\n\n[Outro]\nMmm...\n(node to node)\nOoh... goodnight",
|
||||
"api_type": "str",
|
||||
"named_evidence": {
|
||||
"source_value": "",
|
||||
"source_type": "str",
|
||||
"status": "different"
|
||||
},
|
||||
"source_link": [
|
||||
46,
|
||||
-10,
|
||||
1,
|
||||
13,
|
||||
2,
|
||||
"STRING"
|
||||
],
|
||||
"source_expected": [
|
||||
"37:-10",
|
||||
1
|
||||
],
|
||||
"status": "link_difference"
|
||||
},
|
||||
{
|
||||
"node_id": "37:13",
|
||||
"field": "seed",
|
||||
"api_value": [
|
||||
"37:38",
|
||||
0
|
||||
],
|
||||
"api_type": "list",
|
||||
"named_evidence": {
|
||||
"source_value": 222,
|
||||
"source_type": "int",
|
||||
"status": "different"
|
||||
},
|
||||
"source_link": [
|
||||
52,
|
||||
38,
|
||||
0,
|
||||
13,
|
||||
3,
|
||||
"INT"
|
||||
],
|
||||
"source_expected": [
|
||||
"37:38",
|
||||
0
|
||||
],
|
||||
"status": "link_equal"
|
||||
},
|
||||
{
|
||||
"node_id": "37:3",
|
||||
"field": "clip_name",
|
||||
"api_value": "MiniMax/minimax_music3_text_encoder_pruned_int8_convrot.safetensors",
|
||||
"api_type": "str",
|
||||
"named_evidence": {
|
||||
"source_value": "minimax_music3_text_encoder_pruned_int8_convrot.safetensors",
|
||||
"source_type": "str",
|
||||
"status": "different"
|
||||
},
|
||||
"source_link": [
|
||||
56,
|
||||
-10,
|
||||
5,
|
||||
3,
|
||||
0,
|
||||
"COMBO"
|
||||
],
|
||||
"source_expected": [
|
||||
"37:-10",
|
||||
5
|
||||
],
|
||||
"status": "link_difference"
|
||||
},
|
||||
{
|
||||
"node_id": "37:7",
|
||||
"field": "vae_name",
|
||||
"api_value": "MiniMax/minimax_music3_dav.safetensors",
|
||||
"api_type": "str",
|
||||
"named_evidence": {
|
||||
"source_value": "minimax_music3_dav.safetensors",
|
||||
"source_type": "str",
|
||||
"status": "different"
|
||||
},
|
||||
"source_link": [
|
||||
57,
|
||||
-10,
|
||||
6,
|
||||
7,
|
||||
0,
|
||||
"COMBO"
|
||||
],
|
||||
"source_expected": [
|
||||
"37:-10",
|
||||
6
|
||||
],
|
||||
"status": "link_difference"
|
||||
},
|
||||
{
|
||||
"node_id": "37:15",
|
||||
"field": "seconds",
|
||||
"api_value": [
|
||||
"37:13",
|
||||
1
|
||||
],
|
||||
"api_type": "list",
|
||||
"named_evidence": {
|
||||
"source_value": 120,
|
||||
"source_type": "int",
|
||||
"status": "different"
|
||||
},
|
||||
"source_link": [
|
||||
20,
|
||||
13,
|
||||
1,
|
||||
15,
|
||||
0,
|
||||
"FLOAT"
|
||||
],
|
||||
"source_expected": [
|
||||
"37:13",
|
||||
1
|
||||
],
|
||||
"status": "link_equal"
|
||||
},
|
||||
{
|
||||
"node_id": "37:9",
|
||||
"field": "seed",
|
||||
"api_value": [
|
||||
"37:38",
|
||||
0
|
||||
],
|
||||
"api_type": "list",
|
||||
"named_evidence": {
|
||||
"source_value": 1111111112,
|
||||
"source_type": "int",
|
||||
"status": "different"
|
||||
},
|
||||
"source_link": [
|
||||
53,
|
||||
38,
|
||||
0,
|
||||
9,
|
||||
4,
|
||||
"INT"
|
||||
],
|
||||
"source_expected": [
|
||||
"37:38",
|
||||
0
|
||||
],
|
||||
"status": "link_equal"
|
||||
},
|
||||
{
|
||||
"node_id": "37:38",
|
||||
"field": "seed",
|
||||
"api_value": 617970236276137,
|
||||
"api_type": "int",
|
||||
"named_evidence": {
|
||||
"source_value": 0,
|
||||
"source_type": "int",
|
||||
"status": "different"
|
||||
},
|
||||
"source_link": [
|
||||
54,
|
||||
-10,
|
||||
3,
|
||||
38,
|
||||
0,
|
||||
"INT"
|
||||
],
|
||||
"source_expected": [
|
||||
"37:-10",
|
||||
3
|
||||
],
|
||||
"status": "link_difference"
|
||||
},
|
||||
{
|
||||
"node_id": "37:43",
|
||||
"field": "switch",
|
||||
"api_value": true,
|
||||
"api_type": "bool",
|
||||
"named_evidence": {
|
||||
"source_value": false,
|
||||
"source_type": "bool",
|
||||
"status": "different"
|
||||
},
|
||||
"source_link": [
|
||||
63,
|
||||
-10,
|
||||
7,
|
||||
43,
|
||||
2,
|
||||
"BOOLEAN"
|
||||
],
|
||||
"source_expected": [
|
||||
"37:-10",
|
||||
7
|
||||
],
|
||||
"status": "link_difference"
|
||||
}
|
||||
],
|
||||
"output_map": [],
|
||||
"kind": "unknown",
|
||||
"issues": [
|
||||
{
|
||||
"code": "companion_unverified",
|
||||
"message": "采用提供的配套API;源图差异、导出版本与真实执行尚未核验,保持停用"
|
||||
}
|
||||
],
|
||||
"general_conversion_verified": false,
|
||||
"execution_verified": false,
|
||||
"evidence_file": "03.json"
|
||||
},
|
||||
{
|
||||
"id": "04",
|
||||
"source_path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_提示词增强.json",
|
||||
"state": "pending_check",
|
||||
"adopted": true,
|
||||
"api_nodes": 16,
|
||||
"api_inputs": 60,
|
||||
"new_api_literal_params": 42,
|
||||
"field_comparison": {
|
||||
"named_equal": 27,
|
||||
"link_difference": 20,
|
||||
"link_equal": 13
|
||||
},
|
||||
"source_only_ids": [
|
||||
"459",
|
||||
"463",
|
||||
"468"
|
||||
],
|
||||
"api_only_ids": [],
|
||||
"named_evidence_differences": [
|
||||
{
|
||||
"node_id": "459:451",
|
||||
"field": "unet_name",
|
||||
"api_value": "Qwen-Image/qwen_image_2.1_bf16.safetensors",
|
||||
"api_type": "str",
|
||||
"named_evidence": {
|
||||
"source_value": "qwen_image_2.1_int8_convrot.safetensors",
|
||||
"source_type": "str",
|
||||
"status": "different"
|
||||
},
|
||||
"source_link": [
|
||||
663,
|
||||
-10,
|
||||
11,
|
||||
451,
|
||||
0,
|
||||
"COMBO"
|
||||
],
|
||||
"source_expected": [
|
||||
"459:-10",
|
||||
11
|
||||
],
|
||||
"status": "link_difference"
|
||||
},
|
||||
{
|
||||
"node_id": "459:452",
|
||||
"field": "prompt",
|
||||
"api_value": [
|
||||
"459:472",
|
||||
0
|
||||
],
|
||||
"api_type": "list",
|
||||
"named_evidence": {
|
||||
"source_value": "",
|
||||
"source_type": "str",
|
||||
"status": "different"
|
||||
},
|
||||
"source_link": [
|
||||
687,
|
||||
472,
|
||||
0,
|
||||
452,
|
||||
3,
|
||||
"STRING"
|
||||
],
|
||||
"source_expected": [
|
||||
"459:472",
|
||||
0
|
||||
],
|
||||
"status": "link_equal"
|
||||
},
|
||||
{
|
||||
"node_id": "459:456",
|
||||
"field": "width",
|
||||
"api_value": [
|
||||
"13",
|
||||
0
|
||||
],
|
||||
"api_type": "list",
|
||||
"named_evidence": {
|
||||
"source_value": 1024,
|
||||
"source_type": "int",
|
||||
"status": "different"
|
||||
},
|
||||
"source_link": [
|
||||
660,
|
||||
-10,
|
||||
6,
|
||||
456,
|
||||
0,
|
||||
"INT"
|
||||
],
|
||||
"source_expected": [
|
||||
"459:-10",
|
||||
6
|
||||
],
|
||||
"status": "link_difference"
|
||||
},
|
||||
{
|
||||
"node_id": "459:456",
|
||||
"field": "height",
|
||||
"api_value": [
|
||||
"13",
|
||||
1
|
||||
],
|
||||
"api_type": "list",
|
||||
"named_evidence": {
|
||||
"source_value": 1024,
|
||||
"source_type": "int",
|
||||
"status": "different"
|
||||
},
|
||||
"source_link": [
|
||||
661,
|
||||
-10,
|
||||
7,
|
||||
456,
|
||||
1,
|
||||
"INT"
|
||||
],
|
||||
"source_expected": [
|
||||
"459:-10",
|
||||
7
|
||||
],
|
||||
"status": "link_difference"
|
||||
},
|
||||
{
|
||||
"node_id": "459:458",
|
||||
"field": "seed",
|
||||
"api_value": 447606998181263,
|
||||
"api_type": "int",
|
||||
"named_evidence": {
|
||||
"source_value": 0,
|
||||
"source_type": "int",
|
||||
"status": "different"
|
||||
},
|
||||
"source_link": [
|
||||
667,
|
||||
-10,
|
||||
10,
|
||||
458,
|
||||
4,
|
||||
"INT"
|
||||
],
|
||||
"source_expected": [
|
||||
"459:-10",
|
||||
10
|
||||
],
|
||||
"status": "link_difference"
|
||||
},
|
||||
{
|
||||
"node_id": "459:471",
|
||||
"field": "prompt",
|
||||
"api_value": [
|
||||
"483",
|
||||
0
|
||||
],
|
||||
"api_type": "list",
|
||||
"named_evidence": {
|
||||
"source_value": "",
|
||||
"source_type": "str",
|
||||
"status": "different"
|
||||
},
|
||||
"source_link": [
|
||||
711,
|
||||
-10,
|
||||
0,
|
||||
471,
|
||||
5,
|
||||
"STRING"
|
||||
],
|
||||
"source_expected": [
|
||||
"459:-10",
|
||||
0
|
||||
],
|
||||
"status": "link_difference"
|
||||
},
|
||||
{
|
||||
"node_id": "459:471",
|
||||
"field": "sampling_mode.seed",
|
||||
"api_value": 447606998181263,
|
||||
"api_type": "int",
|
||||
"named_evidence": {
|
||||
"source_value": 0,
|
||||
"source_type": "int",
|
||||
"status": "different"
|
||||
},
|
||||
"source_link": [
|
||||
697,
|
||||
-10,
|
||||
10,
|
||||
471,
|
||||
13,
|
||||
"INT"
|
||||
],
|
||||
"source_expected": [
|
||||
"459:-10",
|
||||
10
|
||||
],
|
||||
"status": "link_difference"
|
||||
},
|
||||
{
|
||||
"node_id": "459:473",
|
||||
"field": "clip_name",
|
||||
"api_value": "Qwen-Image/qwen3.5_qwen_image_2.1_pe_t2i.int8_convrot.safetensors",
|
||||
"api_type": "str",
|
||||
"named_evidence": {
|
||||
"source_value": "qwen3.5_9b_qwen_image_2.1_pe_t2i.int8_convrot.safetensors",
|
||||
"source_type": "str",
|
||||
"status": "different"
|
||||
},
|
||||
"source_link": [
|
||||
696,
|
||||
-10,
|
||||
14,
|
||||
473,
|
||||
0,
|
||||
"COMBO"
|
||||
],
|
||||
"source_expected": [
|
||||
"459:-10",
|
||||
14
|
||||
],
|
||||
"status": "link_difference"
|
||||
},
|
||||
{
|
||||
"node_id": "459:474",
|
||||
"field": "switch",
|
||||
"api_value": true,
|
||||
"api_type": "bool",
|
||||
"named_evidence": {
|
||||
"source_value": false,
|
||||
"source_type": "bool",
|
||||
"status": "different"
|
||||
},
|
||||
"source_link": [
|
||||
688,
|
||||
-10,
|
||||
1,
|
||||
474,
|
||||
2,
|
||||
"BOOLEAN"
|
||||
],
|
||||
"source_expected": [
|
||||
"459:-10",
|
||||
1
|
||||
],
|
||||
"status": "link_difference"
|
||||
}
|
||||
],
|
||||
"output_map": [
|
||||
{
|
||||
"class_type": "SaveImageAdvanced",
|
||||
"kind": "image",
|
||||
"label": "保存图像(高级)",
|
||||
"nodeId": "461"
|
||||
}
|
||||
],
|
||||
"kind": "image",
|
||||
"issues": [
|
||||
{
|
||||
"code": "companion_unverified",
|
||||
"message": "采用提供的配套API;源图差异、导出版本与真实执行尚未核验,保持停用"
|
||||
}
|
||||
],
|
||||
"general_conversion_verified": false,
|
||||
"execution_verified": false,
|
||||
"evidence_file": "04.json"
|
||||
},
|
||||
{
|
||||
"id": "05",
|
||||
"source_path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台时间线素材_双采样潜空间放大_多分段拼接.json",
|
||||
"state": "pending_check",
|
||||
"adopted": true,
|
||||
"api_nodes": 16,
|
||||
"api_inputs": 66,
|
||||
"new_api_literal_params": 48,
|
||||
"field_comparison": {
|
||||
"named_difference": 5,
|
||||
"named_equal": 43,
|
||||
"link_equal": 18
|
||||
},
|
||||
"source_only_ids": [
|
||||
"25"
|
||||
],
|
||||
"api_only_ids": [],
|
||||
"named_evidence_differences": [
|
||||
{
|
||||
"node_id": "1",
|
||||
"field": "unet_name",
|
||||
"api_value": "MiniMax/minimax_h3_ref2va_pruned_int8_convrot.safetensors",
|
||||
"api_type": "str",
|
||||
"named_evidence": {
|
||||
"source_value": "MiniMax\\minimax_h3_ref2va_pruned_int8_convrot.safetensors",
|
||||
"source_type": "str",
|
||||
"status": "different"
|
||||
},
|
||||
"source_value": "MiniMax\\minimax_h3_ref2va_pruned_int8_convrot.safetensors",
|
||||
"status": "named_difference"
|
||||
},
|
||||
{
|
||||
"node_id": "2",
|
||||
"field": "clip_name",
|
||||
"api_value": "MiniMax/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
|
||||
"api_type": "str",
|
||||
"named_evidence": {
|
||||
"source_value": "MiniMax\\qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
|
||||
"source_type": "str",
|
||||
"status": "different"
|
||||
},
|
||||
"source_value": "MiniMax\\qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
|
||||
"status": "named_difference"
|
||||
},
|
||||
{
|
||||
"node_id": "3",
|
||||
"field": "vae_name",
|
||||
"api_value": "MiniMax/minimax_h3_video_vae_fp16.safetensors",
|
||||
"api_type": "str",
|
||||
"named_evidence": {
|
||||
"source_value": "MiniMax\\minimax_h3_video_vae_fp16.safetensors",
|
||||
"source_type": "str",
|
||||
"status": "different"
|
||||
},
|
||||
"source_value": "MiniMax\\minimax_h3_video_vae_fp16.safetensors",
|
||||
"status": "named_difference"
|
||||
},
|
||||
{
|
||||
"node_id": "4",
|
||||
"field": "vae_name",
|
||||
"api_value": "MiniMax/minimax_h3_audio_vae_fp32.safetensors",
|
||||
"api_type": "str",
|
||||
"named_evidence": {
|
||||
"source_value": "MiniMax\\minimax_h3_audio_vae_fp32.safetensors",
|
||||
"source_type": "str",
|
||||
"status": "different"
|
||||
},
|
||||
"source_value": "MiniMax\\minimax_h3_audio_vae_fp32.safetensors",
|
||||
"status": "named_difference"
|
||||
},
|
||||
{
|
||||
"node_id": "7",
|
||||
"field": "width",
|
||||
"api_value": [
|
||||
"24",
|
||||
0
|
||||
],
|
||||
"api_type": "list",
|
||||
"named_evidence": {
|
||||
"source_value": 1536,
|
||||
"source_type": "int",
|
||||
"status": "different"
|
||||
},
|
||||
"source_link": [
|
||||
44,
|
||||
24,
|
||||
0,
|
||||
7,
|
||||
2,
|
||||
"INT"
|
||||
],
|
||||
"source_expected": [
|
||||
"24",
|
||||
0
|
||||
],
|
||||
"status": "link_equal"
|
||||
},
|
||||
{
|
||||
"node_id": "7",
|
||||
"field": "height",
|
||||
"api_value": [
|
||||
"24",
|
||||
1
|
||||
],
|
||||
"api_type": "list",
|
||||
"named_evidence": {
|
||||
"source_value": 960,
|
||||
"source_type": "int",
|
||||
"status": "different"
|
||||
},
|
||||
"source_link": [
|
||||
45,
|
||||
24,
|
||||
1,
|
||||
7,
|
||||
3,
|
||||
"INT"
|
||||
],
|
||||
"source_expected": [
|
||||
"24",
|
||||
1
|
||||
],
|
||||
"status": "link_equal"
|
||||
},
|
||||
{
|
||||
"node_id": "21",
|
||||
"field": "lora_name",
|
||||
"api_value": "MiniMax/minimax_h3_ref2v_turbo_8step_v1.0_768p_comfyui_bf16.safetensors",
|
||||
"api_type": "str",
|
||||
"named_evidence": {
|
||||
"source_value": "MiniMax\\minimax_h3_ref2v_turbo_8step_v1.0_768p_comfyui_bf16.safetensors",
|
||||
"source_type": "str",
|
||||
"status": "different"
|
||||
},
|
||||
"source_value": "MiniMax\\minimax_h3_ref2v_turbo_8step_v1.0_768p_comfyui_bf16.safetensors",
|
||||
"status": "named_difference"
|
||||
}
|
||||
],
|
||||
"output_map": [
|
||||
{
|
||||
"class_type": "SaveVideo",
|
||||
"kind": "video",
|
||||
"label": "保存视频",
|
||||
"nodeId": "10"
|
||||
}
|
||||
],
|
||||
"kind": "video",
|
||||
"issues": [
|
||||
{
|
||||
"code": "companion_unverified",
|
||||
"message": "采用提供的配套API;源图差异、导出版本与真实执行尚未核验,保持停用"
|
||||
}
|
||||
],
|
||||
"general_conversion_verified": false,
|
||||
"execution_verified": false,
|
||||
"evidence_file": "05.json"
|
||||
},
|
||||
{
|
||||
"id": "06",
|
||||
"source_path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_rCM_数字人对口型多动态(KJ版).json",
|
||||
"state": "user_excluded",
|
||||
"adopted": false,
|
||||
"new_api_literal_params": 0,
|
||||
"exclusion": {
|
||||
"status": "user_excluded",
|
||||
"case_id": "06",
|
||||
"reason": "用户明确排除这一份,不补导、不修补,不作为剩余阻塞",
|
||||
"decision": {
|
||||
"issue_id": "01a17910-fd9c-72aa-9e76-331f0cfdf896",
|
||||
"comment_id": "01a187e6-5df9-7c98-8afe-05fc9baa5b55",
|
||||
"issue_link": "mention://issue/01a17910-fd9c-72aa-9e76-331f0cfdf896",
|
||||
"quote": "缺的那份不需要了"
|
||||
}
|
||||
},
|
||||
"historical_row_preserved": false
|
||||
},
|
||||
{
|
||||
"id": "07",
|
||||
"source_path": "example_ComfyUI_workflows/6-动作迁移/Wan_Animate2_动作迁移_for循环长视频.json",
|
||||
"state": "pending_check",
|
||||
"adopted": true,
|
||||
"api_nodes": 72,
|
||||
"api_inputs": 251,
|
||||
"new_api_literal_params": 130,
|
||||
"field_comparison": {
|
||||
"unnamed_or_virtual_boundary_unverified": 92,
|
||||
"link_difference": 57,
|
||||
"link_equal": 93,
|
||||
"named_difference": 1,
|
||||
"named_equal": 7,
|
||||
"source_node_unresolved": 1
|
||||
},
|
||||
"source_only_ids": [
|
||||
"574",
|
||||
"575",
|
||||
"292",
|
||||
"582",
|
||||
"291",
|
||||
"291:78",
|
||||
"291:77",
|
||||
"291:90",
|
||||
"291:80",
|
||||
"291:290",
|
||||
"291:96",
|
||||
"291:79",
|
||||
"291:97",
|
||||
"291:416",
|
||||
"291:417",
|
||||
"291:571",
|
||||
"291:572",
|
||||
"291:573",
|
||||
"581",
|
||||
"539",
|
||||
"600",
|
||||
"603",
|
||||
"602",
|
||||
"604",
|
||||
"605",
|
||||
"587",
|
||||
"597",
|
||||
"477",
|
||||
"477:466",
|
||||
"598",
|
||||
"261",
|
||||
"261:241",
|
||||
"608",
|
||||
"609",
|
||||
"540",
|
||||
"601",
|
||||
"610",
|
||||
"606"
|
||||
],
|
||||
"api_only_ids": [
|
||||
"612"
|
||||
],
|
||||
"named_evidence_differences": [
|
||||
{
|
||||
"node_id": "585",
|
||||
"field": "video",
|
||||
"api_value": "抖音20261025-285806.mp4",
|
||||
"api_type": "str",
|
||||
"named_evidence": {
|
||||
"source_value": "1daafaf7f9a12f651c41e56d38bc518f.mp4",
|
||||
"source_type": "str",
|
||||
"status": "different"
|
||||
},
|
||||
"source_value": "1daafaf7f9a12f651c41e56d38bc518f.mp4",
|
||||
"status": "named_difference"
|
||||
}
|
||||
],
|
||||
"output_map": [
|
||||
{
|
||||
"class_type": "SaveVideo",
|
||||
"kind": "video",
|
||||
"label": "保存视频",
|
||||
"nodeId": "246"
|
||||
}
|
||||
],
|
||||
"kind": "video",
|
||||
"issues": [
|
||||
{
|
||||
"code": "companion_unverified",
|
||||
"message": "采用提供的配套API;源图差异、导出版本与真实执行尚未核验,保持停用"
|
||||
}
|
||||
],
|
||||
"general_conversion_verified": false,
|
||||
"execution_verified": false,
|
||||
"evidence_file": "07.json"
|
||||
}
|
||||
],
|
||||
"adopted": 6,
|
||||
"user_excluded": 1,
|
||||
"source_files": 156,
|
||||
"target_files": 155,
|
||||
"general_conversion_verified": 0,
|
||||
"execution_verified": 0,
|
||||
"new_api_literal_params": 294
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"batch_id": "a94f73be-41b9-4343-99f5-74ff3b7a5a1e", "source_commit": "ddf56714ad424c91c43da41aadd7201e52cb7952", "counts": {"skipped": 155, "user_excluded": 1}, "states": {"pending_check": 16, "needs_conversion": 139}, "source_total": 156, "excluded_total": 1, "target_total": 155, "total": 156, "doc_completed": 0, "exec_verified": 0}
|
||||
@@ -0,0 +1,8 @@
|
||||
..... [100%]
|
||||
=============================== warnings summary ===============================
|
||||
calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53
|
||||
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-99cfa82c5c3f/workdir/aigc-home/calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
|
||||
_PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]
|
||||
|
||||
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
|
||||
5 passed, 1 warning in 1.30s
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
{"total": 155, "audit_scope": "current_delivery", "source_files": 156, "target_files": 155, "user_excluded": 1, "source_structure_purpose_partially_reviewed": 155, "full_documents_completed": 0, "files_with_selected_named_fields_reviewed": 41, "selected_named_fields_reviewed": 1217, "real_executions": 0, "states": {"pending_check": 16, "needs_conversion": 139}, "named_values_preserved": 1217, "unnamed_widget_nodes": 3660, "semantic_batch_files": 139, "semantic_batch_without_named_fields": 114, "semantic_batch_named_fields": 490, "named_values_without_manual_field_review": 0, "named_values_without_verified_units_ranges_effects": 1217, "scope_limit": "人工结论与机械原值清单分开;源语义局部审校非完整说明定稿"}
|
||||
@@ -0,0 +1,8 @@
|
||||
..................... [100%]
|
||||
=============================== warnings summary ===============================
|
||||
calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53
|
||||
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-99cfa82c5c3f/workdir/aigc-home/calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
|
||||
_PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]
|
||||
|
||||
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
|
||||
21 passed, 1 warning in 1.76s
|
||||
@@ -0,0 +1,8 @@
|
||||
............................................ [100%]
|
||||
=============================== warnings summary ===============================
|
||||
calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53
|
||||
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-99cfa82c5c3f/workdir/aigc-home/calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
|
||||
_PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]
|
||||
|
||||
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
|
||||
44 passed, 1 warning in 8.11s
|
||||
@@ -119,7 +119,19 @@
|
||||
"node_versions": null,
|
||||
"provenance": "user_supplied_api_export_environment_unknown",
|
||||
"source_export_equivalence_verified": false,
|
||||
"instruction": "数字人导出不完整:28节点中17个缺class_type且含UNKNOWN字段,保留原文和原图候选类型用于定位,不补写类型、不采用为执行图;不能据此断言目标机缺了哪些插件。"
|
||||
"instruction": "数字人导出不完整:28节点中17个缺class_type且含UNKNOWN字段,保留原文和原图候选类型用于定位,不补写类型、不采用为执行图;不能据此断言目标机缺了哪些插件。",
|
||||
"delivery_status": "user_excluded",
|
||||
"exclusion": {
|
||||
"status": "user_excluded",
|
||||
"case_id": "06",
|
||||
"reason": "用户明确排除这一份,不补导、不修补,不作为剩余阻塞",
|
||||
"decision": {
|
||||
"issue_id": "01a17910-fd9c-72aa-9e76-331f0cfdf896",
|
||||
"comment_id": "01a187e6-5df9-7c98-8afe-05fc9baa5b55",
|
||||
"issue_link": "mention://issue/01a17910-fd9c-72aa-9e76-331f0cfdf896",
|
||||
"quote": "缺的那份不需要了"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "07",
|
||||
@@ -141,5 +153,19 @@
|
||||
"source_export_equivalence_verified": false,
|
||||
"instruction": "动作迁移:261与477两个子图分别展开,477:458包含continue_motion;606:590/599保留for循环起止及初值连线。585读视频并配置frame_load_cap/skip_first_frames等;API另有612 LoadImage,原图没有同ID节点,属源变化待核查。245合成图像与音频送246保存;video_frame_offset与循环尾批行为未实跑确认。"
|
||||
}
|
||||
]
|
||||
],
|
||||
"delivery_scope": {
|
||||
"source_files": 156,
|
||||
"target_files": 155,
|
||||
"user_excluded": 1,
|
||||
"historical_case_count": 7,
|
||||
"active_case_ids": [
|
||||
"01",
|
||||
"02",
|
||||
"03",
|
||||
"04",
|
||||
"05",
|
||||
"07"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
> 范围更新:本报告记录第六批当时的156份物理库与7份收件;当前用户已明确排除case06,本次目标155。导入/比对工具已落实,见 `155份范围落地与协调恢复.md`;本报告下文“由总管处理范围”及156/146待办不再是当前验收口径,历史证据保留。
|
||||
|
||||
本批采用用户提供的API配套图,未完成通用UI转换,也未进行真实执行。PR #25,base `main`,继续原分支 `agent/agent/a64a969a6a44`;开工head/远端PR head均为 `d9f332895857a16058e9d0202da4d6f76f4dbb81`。没有修改前端、源工作流、在线配置或数据。
|
||||
|
||||
## 输入与来源
|
||||
|
||||
Reference in New Issue
Block a user