| ... | ... | @@ -557,9 +557,9 @@ def build_markdown( |
| 557 | 557 | fuzzed = {n: e for n, e in ledger.get("tools", {}).items() if n in live_engine_tools} |
| 558 | 558 | if fuzzed: |
| 559 | 559 | mean = sum(e["mean_accuracy"] for e in fuzzed.values()) / len(fuzzed) |
| 560 | | all_tools_cell = f"**{format_accuracy(mean)}** ({len(fuzzed)} / {len(live_engine_tools)} tools fuzzed)" |
| 560 | supported_tools_cell = f"**{format_accuracy(mean)}** ({len(fuzzed)} / {len(live_engine_tools)} supported tools fuzzed)" |
| 561 | 561 | else: |
| 562 | | all_tools_cell = "_Not measured (run `python3 scripts/fuzz_node.py --all`)_" |
| 562 | supported_tools_cell = "_Not measured (run `python3 scripts/fuzz_node.py --all`)_" |
| 563 | 563 | paper = ledger.get("paper_clover") |
| 564 | 564 | if paper: |
| 565 | 565 | paper_cell = ( |
| ... | ... | @@ -568,8 +568,36 @@ def build_markdown( |
| 568 | 568 | ) |
| 569 | 569 | else: |
| 570 | 570 | paper_cell = "_Not measured (run `python3 scripts/fuzz_node.py --paper-clover`)_" |
| 571 | # Denominators queried directly from stock Fusion Render Node 21.1 (`fu:GetRegList()` visible CT_Tool) |
| 572 | # and WeSuckLess/Reactor (`Atoms/**/*.fuse`, 2026-12-01). |
| 573 | fusion_builtin_total = 378 |
| 574 | non_stock_builtin = { |
| 575 | "GroupOperator", "MacroOperator", "PipeRouter", "InvertColor", |
| 576 | "PolylineStroke", "Multistroke", "OpticalFlow", "pDrag", |
| 577 | "Fuse.AlphaWeightedNoise", "Fuse.CheckerPieceGenerator", "Fuse.Colorize", |
| 578 | "Fuse.Cryptomatte", "Fuse.Crystallize", "Fuse.KScope", "Fuse.Outline", |
| 579 | "Fuse.Switch", "Fuse.SwitchElse", "Fuse.XGlow", "Fuse.XfChroma", |
| 580 | } |
| 581 | builtin_supported = len(all_supported_tools - non_stock_builtin) |
| 582 | builtin_pct = 100.0 * builtin_supported / fusion_builtin_total |
| 583 | reactor_fuses_total = 1031 |
| 584 | reactor_supported = sorted( |
| 585 | t for t in ("Fuse.XGlow", "Fuse.Cryptomatte", "Fuse.XfChroma", "Fuse.Switch", "Fuse.SwitchElse") |
| 586 | if t in all_supported_tools |
| 587 | ) |
| 588 | reactor_pct = 100.0 * len(reactor_supported) / reactor_fuses_total |
| 589 | reactor_names = ", ".join(t.removeprefix("Fuse.") for t in reactor_supported) |
| 590 | |
| 571 | 591 | lines.append(f"| **Paper Clover Comps Accuracy** | {paper_cell} |") |
| 572 | | lines.append(f"| **All Fusion Tools Accuracy** | {all_tools_cell} |") |
| 592 | lines.append(f"| **Supported Tool Accuracy** | {supported_tools_cell} |") |
| 593 | lines.append( |
| 594 | f"| **Coverage of Fusion's Built-in Tools** | **{builtin_pct:.1f}%** " |
| 595 | f"({builtin_supported} / {fusion_builtin_total} built-in Fusion 21.1 Flow tools) |" |
| 596 | ) |
| 597 | lines.append( |
| 598 | f"| **Coverage of All Fuses on Reactor** | **{reactor_pct:.1f}%** " |
| 599 | f"({len(reactor_supported)} / {reactor_fuses_total:,} Fuses on Reactor: {reactor_names}) |" |
| 600 | ) |
| 573 | 601 | lines.append( |
| 574 | 602 | f"| **Active Corpus (`trees/fusion`) Coverage** | " |
| 575 | 603 | f"{format_coverage(active_corpus, all_supported_classes, '_Skipped (`/Volumes/Project/trees/fusion` not mounted)_')} |" |