diff --git a/compatibility.md b/compatibility.md index fdc91f8520c9ccd10aa38bbd1d498f2c85147c3e..321b013b8dcf44bab75f1f4f5dc439145d7da68f 100644 --- a/compatibility.md +++ b/compatibility.md @@ -13,7 +13,9 @@ Auto-generated from live engine sources (`crates/engine/src/eval/`, `crates/engi | **Supported Flow Tools** | **125** (100 2D/Fuse/utility in `crates/engine/src/eval/`, 23 3D scene nodes in `crates/engine/src/scene3d/`, 2 Flow annotations) | | **Modifiers & Animation** | **8** systems (9 Fusion modifier classes + Lua expressions) | | **Paper Clover Comps Accuracy** | **99.4%** (43 suite frames + 23 archive comps) | -| **All Fusion Tools Accuracy** | **98.8%** (94 / 123 tools fuzzed) | +| **Supported Tool Accuracy** | **98.8%** (94 / 123 supported tools fuzzed) | +| **Coverage of Fusion's Built-in Tools** | **28.0%** (106 / 378 built-in Fusion 21.1 Flow tools) | +| **Coverage of All Fuses on Reactor** | **0.5%** (5 / 1,031 Fuses on Reactor: Cryptomatte, Switch, SwitchElse, XGlow, XfChroma) | | **Active Corpus (`trees/fusion`) Coverage** | **99.8%** (2,274 / 2,279 nodes across 17 `.comp` files) | | **Archive Corpus (`private/samples`) Coverage** | **99.7%** (64,468 / 64,672 nodes across 324 `.comp` files) | | **HiQ vs Fast Mode** | **`HiQ`**: honors `DepthFull` / generator `Depth` / `ChangeDepth` (`Rgba8Unorm`, clamped `Rgba16Float`, unclamped HDR `Rgba16Float`/`Rgba32Float`), full-res blurs & `XGlow`. **`Fast`**: collapses working targets to `Rgba8Unorm`, downsamples blurs, caps `XGlow` octaves for interactive scrubbing. | diff --git a/scripts/gen_compatibility.py b/scripts/gen_compatibility.py index 446d7c28dddaae75a0da9f9273e2cf12834fb566..8c828181b85430b8e9232e670592492fdcd93120 100755 --- a/scripts/gen_compatibility.py +++ b/scripts/gen_compatibility.py @@ -557,9 +557,9 @@ def build_markdown( fuzzed = {n: e for n, e in ledger.get("tools", {}).items() if n in live_engine_tools} if fuzzed: mean = sum(e["mean_accuracy"] for e in fuzzed.values()) / len(fuzzed) - all_tools_cell = f"**{format_accuracy(mean)}** ({len(fuzzed)} / {len(live_engine_tools)} tools fuzzed)" + supported_tools_cell = f"**{format_accuracy(mean)}** ({len(fuzzed)} / {len(live_engine_tools)} supported tools fuzzed)" else: - all_tools_cell = "_Not measured (run `python3 scripts/fuzz_node.py --all`)_" + supported_tools_cell = "_Not measured (run `python3 scripts/fuzz_node.py --all`)_" paper = ledger.get("paper_clover") if paper: paper_cell = ( @@ -568,8 +568,36 @@ def build_markdown( ) else: paper_cell = "_Not measured (run `python3 scripts/fuzz_node.py --paper-clover`)_" + # Denominators queried directly from stock Fusion Render Node 21.1 (`fu:GetRegList()` visible CT_Tool) + # and WeSuckLess/Reactor (`Atoms/**/*.fuse`, 2026-12-01). + fusion_builtin_total = 378 + non_stock_builtin = { + "GroupOperator", "MacroOperator", "PipeRouter", "InvertColor", + "PolylineStroke", "Multistroke", "OpticalFlow", "pDrag", + "Fuse.AlphaWeightedNoise", "Fuse.CheckerPieceGenerator", "Fuse.Colorize", + "Fuse.Cryptomatte", "Fuse.Crystallize", "Fuse.KScope", "Fuse.Outline", + "Fuse.Switch", "Fuse.SwitchElse", "Fuse.XGlow", "Fuse.XfChroma", + } + builtin_supported = len(all_supported_tools - non_stock_builtin) + builtin_pct = 100.0 * builtin_supported / fusion_builtin_total + reactor_fuses_total = 1031 + reactor_supported = sorted( + t for t in ("Fuse.XGlow", "Fuse.Cryptomatte", "Fuse.XfChroma", "Fuse.Switch", "Fuse.SwitchElse") + if t in all_supported_tools + ) + reactor_pct = 100.0 * len(reactor_supported) / reactor_fuses_total + reactor_names = ", ".join(t.removeprefix("Fuse.") for t in reactor_supported) + lines.append(f"| **Paper Clover Comps Accuracy** | {paper_cell} |") - lines.append(f"| **All Fusion Tools Accuracy** | {all_tools_cell} |") + lines.append(f"| **Supported Tool Accuracy** | {supported_tools_cell} |") + lines.append( + f"| **Coverage of Fusion's Built-in Tools** | **{builtin_pct:.1f}%** " + f"({builtin_supported} / {fusion_builtin_total} built-in Fusion 21.1 Flow tools) |" + ) + lines.append( + f"| **Coverage of All Fuses on Reactor** | **{reactor_pct:.1f}%** " + f"({len(reactor_supported)} / {reactor_fuses_total:,} Fuses on Reactor: {reactor_names}) |" + ) lines.append( f"| **Active Corpus (`trees/fusion`) Coverage** | " f"{format_coverage(active_corpus, all_supported_classes, '_Skipped (`/Volumes/Project/trees/fusion` not mounted)_')} |"