authoravatarclover caruso<git@paperclover.net>2026-12-01 10:49:10-08:00
committeravatarclover caruso<git@paperclover.net>2026-12-01 10:49:39-08:00
log9b88f4b2d51db38bda7ec0c493c056dda5dbd14d
tree537730c416aa55f7d4058127ba0fbed119159c1d
parente8f72ae889468f1048571f87a3506e2f15904365
signature Signed by SSH key SHA256:52mNGHRsVFBDED9IAX5pe+LRWUefqTbxEReunq21QvU

compatibility.md: clean doc intro, remove corpus coverage rows, rename Notes column, clarify 3D accuracy, trim passthrough list


2 files changed, 82 insertions(+), 162 deletions(-)

compatibility.md+40-66
......@@ -1,44 +1,37 @@
1# Fusion 21.1 Compatibility Matrix
1<!-- Auto-generated by scripts/gen_compatibility.py. Do not edit by hand. -->
22
3Auto-generated from live engine sources (`crates/engine/src/eval/`, `crates/engine/src/scene3d/`, `crates/model/src/comp.rs`) and real Fusion `.comp` corpora via `python3 scripts/gen_compatibility.py`.
3# Fusion 21.1 Compatibility
44
5- **Tracked Gaps & Issues:** [shale.paperclover.net/fission/issues](https://shale.paperclover.net/fission/issues)
6- **Conformance Probes:** [`scripts/fusion_probes.py`](scripts/fusion_probes.py)
7- **Per-Node Fuzzer:** [`scripts/fuzz_node.py`](scripts/fuzz_node.py) over the Fusion-introspected [`scripts/tool_catalog.json`](scripts/tool_catalog.json) (`scripts/fusion_introspect.py`), scored in [`scripts/accuracy_ledger.json`](scripts/accuracy_ledger.json)
5Fission currently supports **125** tool types across 2D/3D compositing, all with high accuracy. This document tracks the progress on parity with Blackmagic Fusion Studio. The main metric, **accuracy**, is the inverse of the image's [mean absolute error](https://en.wikipedia.org/wiki/Mean_absolute_error), meaning `100%` accuracy means the pixels are all identical. For details, see [`scripts/fuzz_node.py`](scripts/fuzz_node.py).
86
97## Summary
108
119| Metric | Value |
1210| --- | --- |
13| **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) |
14| **Modifiers & Animation** | **8** systems (9 Fusion modifier classes + Lua expressions) |
15| **Paper Clover Comps Accuracy** | **99.4%** (43 suite frames + 23 archive comps) |
16| **Supported Tool Accuracy** | **98.8%** (94 / 123 supported tools fuzzed) |
17| **Coverage of Fusion's Built-in Tools** | **28.0%** (106 / 378 built-in Fusion 21.1 Flow tools) |
18| **Coverage of All Fuses on Reactor** | **0.5%** (5 / 1,031 Fuses on Reactor: Cryptomatte, Switch, SwitchElse, XGlow, XfChroma) |
19| **Active Corpus (`trees/fusion`) Coverage** | **99.8%** (2,274 / 2,279 nodes across 17 `.comp` files) |
20| **Archive Corpus (`private/samples`) Coverage** | **99.7%** (64,468 / 64,672 nodes across 324 `.comp` files) |
21| **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. |
22
23Accuracy is `100% − MAE%` against Fusion 21.1 renders. A single value is the mean over a live fuzz run (`scripts/fuzz_node.py`: frame 0 at defaults plus stratified parameter variations); a range is the legacy hand-curated probe-suite MAE for tools not yet fuzzed. `Visual*` marks stochastic tools judged by eye.
11| **Supported Flow Tools** | **125** |
12| **Modifiers & Animation** | **8** |
13| **Accuracy across [paper clover](https://paperclover.net)'s compositions** | **99.4%** |
14| **Supported Tool Accuracy** | **98.8%** |
15| **Coverage of Fusion's Built-in Tools** | **28.0%** |
16| **Coverage of All Fuses on Reactor** | **0.5%** |
2417
2518## Generators
2619
27| Tool | Accuracy | Notes & Fallbacks |
20| Tool | Accuracy | Notes |
2821| --- | --- | --- |
2922| `Background` | ✅ 100.0% | — |
30| `FastNoise` | ✅ 100.0% | |
23| `FastNoise` | ✅ 100.0% | — |
3124| `Plasma` | 98.1% | — |
32| `TextPlus` | 99.4% | Pure-Rust vector engine (no CoreText). |
25| `TextPlus` | 99.4% | — |
3326| `Loader` | ✅ 100.0% | — |
3427| `DaySky` | 98.9% | — |
3528| `Fuse.CheckerPieceGenerator` | ✅ 100.0% | — |
3629
3730## Compositing & Blending
3831
39| Tool | Accuracy | Notes & Fallbacks |
32| Tool | Accuracy | Notes |
4033| --- | --- | --- |
41| `Merge` | 99.0% | 3D Z-depth merge (`PerformDepthMerge`) ignored. |
34| `Merge` | 99.0% | 3D Z-depth merge (`PerformDepthMerge`) not implemented. |
4235| `Dissolve` | ✅ 100.0% | — |
4336| `Paint` | 98.8%–100.0% | Clone/Smear/Emboss apply modes and non-round image brushes not yet implemented. |
4437| `PolylineStroke` | 99.7%–100.0% | Rendered only inside `Paint` / `PaintMask`. |
......@@ -47,12 +40,12 @@ Accuracy is `100% − MAE%` against Fusion 21.1 renders. A single value is the m
4740
4841## Color & Depth
4942
50| Tool | Accuracy | Notes & Fallbacks |
43| Tool | Accuracy | Notes |
5144| --- | --- | --- |
5245| `BrightnessContrast` | ✅ 100.0% | — |
5346| `ColorCorrector` | 99.0% | Histogram/Match/Suppress tabs not implemented. |
5447| `ColorGain` | 99.5% | — |
55| `ColorCurves` | ✅ 100.0% | |
48| `ColorCurves` | ✅ 100.0% | — |
5649| `HueCurves` | ✅ 100.0% | — |
5750| `GamutConvert` | ✅ 100.0% | — |
5851| `InvertColor` | ✅ 100.0% | — |
......@@ -62,7 +55,7 @@ Accuracy is `100% − MAE%` against Fusion 21.1 renders. A single value is the m
6255
6356## Keying
6457
65| Tool | Accuracy | Notes & Fallbacks |
58| Tool | Accuracy | Notes |
6659| --- | --- | --- |
6760| `LumaKeyer` | 99.9% | — |
6861| `UltraKeyer` | 99.6% | — |
......@@ -71,7 +64,7 @@ Accuracy is `100% − MAE%` against Fusion 21.1 renders. A single value is the m
7164
7265## Blur, Sharpen & Glow
7366
74| Tool | Accuracy | Notes & Fallbacks |
67| Tool | Accuracy | Notes |
7568| --- | --- | --- |
7669| `Blur` | 99.0% | Downsampled in `Fast` mode. |
7770| `Sharpen` | 99.6% | — |
......@@ -91,7 +84,7 @@ Accuracy is `100% − MAE%` against Fusion 21.1 renders. A single value is the m
9184
9285## Transform, Warp & Framing
9386
94| Tool | Accuracy | Notes & Fallbacks |
87| Tool | Accuracy | Notes |
9588| --- | --- | --- |
9689| `Transform` | ✅ 100.0% | Motion blur sub-frame accumulation not implemented. |
9790| `CameraShake` | 98.6% | — |
......@@ -112,18 +105,18 @@ Accuracy is `100% − MAE%` against Fusion 21.1 renders. A single value is the m
112105
113106## Masks
114107
115| Tool | Accuracy | Notes & Fallbacks |
108| Tool | Accuracy | Notes |
116109| --- | --- | --- |
117110| `EllipseMask` | ✅ 100.0% | — |
118111| `RectangleMask` | ✅ 100.0% | — |
119112| `PolylineMask` | ✅ 100.0% | — |
120113| `BitmapMask` | ✅ 100.0% | — |
121| `WandMask` | 99.9% | |
114| `WandMask` | 99.9% | — |
122115| `PaintMask` | 99.6%–99.9% | Non-round brush shapes not implemented. |
123116
124117## 2D Vector Shapes
125118
126| Tool | Accuracy | Notes & Fallbacks |
119| Tool | Accuracy | Notes |
127120| --- | --- | --- |
128121| `sRender` | ✅ 100.0% | — |
129122| `sNGon` | ✅ 100.0% | — |
......@@ -137,7 +130,7 @@ Accuracy is `100% − MAE%` against Fusion 21.1 renders. A single value is the m
137130
138131## Particles
139132
140| Tool | Accuracy | Notes & Fallbacks |
133| Tool | Accuracy | Notes |
141134| --- | --- | --- |
142135| `pRender` | 98.4% | 2D mode only (no 3D particle renderer); stochastic PRNG seed differs. |
143136| `pEmitter` | 98.2% | Stochastic PRNG seed differs; cold starts >600 frames window-simulate. |
......@@ -151,17 +144,19 @@ Accuracy is `100% − MAE%` against Fusion 21.1 renders. A single value is the m
151144
152145## 3D Pipeline
153146
154| Tool | Accuracy | Notes & Fallbacks |
147Each 3D tool's accuracy is measured by rendering it inside a lit `Merge3D` + `Camera3D` + `Renderer3D` (`RendererOpenGL`) scene while varying that tool's own parameters. `Renderer3D` accuracy varies `Renderer3D`'s own settings (lighting, shadows, overscan, etc.) on a fixed 3D scene, whereas each shape, light, camera, and material row varies that specific tool's inputs.
148
149| Tool | Accuracy | Notes |
155150| --- | --- | --- |
156151| `Renderer3D` | 97.5% | Renders `Rgba8` only (no float HDR 3D target yet); directional/spot shadow maps pending. |
157152| `Camera3D` | 92.0% | Depth-of-field / stereo not implemented. |
158153| `Merge3D` | 97.3% | — |
159154| `Transform3D` | 99.4% | — |
160155| `ImagePlane3D` | 99.2% | — |
161| `Shape3D` | 99.9% | Torus/Cone/IcoSphere primitives not yet implemented. |
156| `Shape3D` | 99.9% | — |
162157| `Cube3D` | 98.6% | — |
163158| `SurfaceFBXMesh` | Visual* | Static mesh only (no skeletal skinning/morph animation). |
164| `Text3D` | 96.4% | Pure-Rust vector text plane with multi-slice `-Z` extrusion (bevels not yet implemented; `#46`). |
159| `Text3D` | 96.4% | Bevels not implemented. |
165160| `LightAmbient` | ✅ 100.0% | — |
166161| `LightDirectional` | 97.6% | Up to 4 directional lights per scene; shadow maps pending (`#46`). |
167162| `LightPoint` | 99.9% | — |
......@@ -180,7 +175,7 @@ Accuracy is `100% − MAE%` against Fusion 21.1 renders. A single value is the m
180175
181176## Time, Routing & Utility
182177
183| Tool | Accuracy | Notes & Fallbacks |
178| Tool | Accuracy | Notes |
184179| --- | --- | --- |
185180| `Saver` | ✅ 100.0% | Interactive Flow passthrough; export supports PNG sequences and MP4/ProRes4444. |
186181| `Dimension.OpticalFlow` | 99.9% | — |
......@@ -201,47 +196,26 @@ Accuracy is `100% − MAE%` against Fusion 21.1 renders. A single value is the m
201196
202197## Modifiers & Animation
203198
204| Modifier / System | Probe Suite | Notes |
205| --- | --- | --- |
206| `BezierSpline` | All suites | Cubic Bezier / linear / `StepIn` / `StepOut` keyframes, animated `StyledText`, and animated `Polyline` point splines. |
207| `LUTBezier` | `tier1_a` | Curve lookup splines used standalone and nested inside `ColorCurves` / `HueCurves`. |
208| `PolyPath` / `Path` | Suite comps | 2D motion-path polyline evaluation with animated `Displacement` spline. |
209| `Shake` | `tier1_c` | Procedural multi-octave noise modifier (`Source = X / Y / Value / Position`) with spline & expression inputs. |
210| `Expression` | Unit tests | Standalone Fusion `Expression` modifier (`NumberExpression`, `PointExpressionX`/`Y`, `n1..n9`/`p1..p9` inputs, math DSL + Lua fallback). |
211| `StyledTextCLS` | Suite comps | Per-character `TextPlus` styling overrides (font, size, color, kerning, opacity). |
212| `TrackerModifier` | Suite comps | Resolves baked tracker path aliases (`Track1TrackerPath`, etc.) into 2D `PolyPath` coordinates. |
213| Lua Expressions | Suite comps | Inline `Expression = "..."` evaluation (`time`, `comp.RenderStart`/`End`, node input references, math/trig/clamp/ternary). |
199| Modifier / System | Notes |
200| --- | --- |
201| `BezierSpline` | Cubic Bezier / linear / `StepIn` / `StepOut` keyframes, animated `StyledText`, and animated `Polyline` point splines. |
202| `LUTBezier` | Curve lookup splines used standalone and nested inside `ColorCurves` / `HueCurves`. |
203| `PolyPath` / `Path` | 2D motion-path polyline evaluation with animated `Displacement` spline. |
204| `Shake` | Procedural multi-octave noise modifier (`Source = X / Y / Value / Position`) with spline & expression inputs. |
205| `Expression` | Standalone Fusion `Expression` modifier (`NumberExpression`, `PointExpressionX`/`Y`, `n1..n9`/`p1..p9` inputs, math DSL + Lua fallback). |
206| `StyledTextCLS` | Per-character `TextPlus` styling overrides (font, size, color, kerning, opacity). |
207| `TrackerModifier` | Resolves baked tracker path aliases (`Track1TrackerPath`, etc.) into 2D `PolyPath` coordinates. |
208| Lua Expressions | Inline `Expression = "..."` evaluation (`time`, `comp.RenderStart`/`End`, node input references, math/trig/clamp/ternary). |
214209
215210## Preserved & Passthrough (Roundtrip-Safe)
216211
217212Unlike Blackmagic Fusion — which unlinks missing OFX or Resolve-only plugins when opening a `.comp` — **Fission preserves all unknown and unsupported tools losslessly** (every parameter, custom input, binary blob, position, and upstream/downstream wire is retained verbatim on save) and **passes through their main input** during Flow evaluation so downstream compositing stays connected.
218213
219| Tool Class | Issue | Behavior & Notes |
214| Tool Class | Issue | Notes |
220215| --- | --- | --- |
221216| `SurfaceTracker` | [#7](https://shale.paperclover.net/fission/issues/7) | Preserved lossless on save; passes through main image input in Flow. |
222217| `MagicMask` | [#7](https://shale.paperclover.net/fission/issues/7) | Preserved lossless on save; passes through main image input in Flow. |
223218| `PlanarTracker` | [#7](https://shale.paperclover.net/fission/issues/7) | Preserved lossless on save; passes through main image input in Flow. |
224| `Fuse.HexagonTiles` | — | Preserved lossless on save; passes through main input in Flow. |
225| `AudioDisplay` | — | Preserved lossless on save; passes through main input in Flow. |
226| `Fuse.Hexagon` | — | Preserved lossless on save; passes through main input in Flow. |
227| `SurfaceAlembicMesh` | — | Preserved lossless on save; passes through main input in Flow. |
228| `Bender3D` | — | Preserved lossless on save; passes through main input in Flow. |
229| `OCIOColorSpace` | — | Preserved lossless on save; passes through main input in Flow. |
230| `SphereMap` | — | Preserved lossless on save; passes through main input in Flow. |
231| `Texture` | — | Preserved lossless on save; passes through main input in Flow. |
232| `PseudoColor` | — | Preserved lossless on save; passes through main input in Flow. |
233| `Ribbon3D` | — | Preserved lossless on save; passes through main input in Flow. |
234| `MtlReflect` | — | Preserved lossless on save; passes through main input in Flow. |
235| `DepthBlur` | — | Preserved lossless on save; passes through main input in Flow. |
236| `Fog` | — | Preserved lossless on save; passes through main input in Flow. |
237| `Highlight` | — | Preserved lossless on save; passes through main input in Flow. |
238| `ViewLUTOp` | — | Preserved lossless on save; passes through main input in Flow. |
239| `Fuse.Lightning` | — | Preserved lossless on save; passes through main input in Flow. |
240| `Replicate3D` | — | Preserved lossless on save; passes through main input in Flow. |
241| `FalloffOperator` | — | Preserved lossless on save; passes through main input in Flow. |
242| `MtlWard` | — | Preserved lossless on save; passes through main input in Flow. |
243| `RankFilter` | — | Preserved lossless on save; passes through main input in Flow. |
244| `AcesTransform` | — | Preserved lossless on save; passes through main input in Flow. |
245219
246220---
247221
scripts/gen_compatibility.py+42-96
......@@ -73,15 +73,15 @@ CATEGORIES: Sequence[str] = (
7373TOOL_METADATA: Sequence[ToolMeta] = (
7474 # Generators
7575 ToolMeta("Background", "Generators", "`tier1_d`", "0.0%", "—"),
76 ToolMeta("FastNoise", "Generators", "`noise_text`", "0.0%", ""),
76 ToolMeta("FastNoise", "Generators", "`noise_text`", "0.0%", "—"),
7777 ToolMeta("Plasma", "Generators", "`tier1_c`", "0.1%–0.2%", "—"),
78 ToolMeta("TextPlus", "Generators", "`text`, `noise_text`", "0.2%–0.8%", "Pure-Rust vector engine (no CoreText)."),
78 ToolMeta("TextPlus", "Generators", "`text`, `noise_text`", "0.2%–0.8%", "—"),
7979 ToolMeta("Loader", "Generators", "All suites", "0.0%", "—"),
8080 ToolMeta("DaySky", "Generators", "Unit tests", "0.4%–1.1%", "—"),
8181 ToolMeta("Fuse.CheckerPieceGenerator", "Generators", "Unit tests", "0.0%", "—"),
8282
8383 # Compositing & Blending
84 ToolMeta("Merge", "Compositing & Blending", "`merge`", "0.0%–0.3%", "3D Z-depth merge (`PerformDepthMerge`) ignored."),
84 ToolMeta("Merge", "Compositing & Blending", "`merge`", "0.0%–0.3%", "3D Z-depth merge (`PerformDepthMerge`) not implemented."),
8585 ToolMeta("Dissolve", "Compositing & Blending", "`tier1_b`", "0.0%–0.1%", "—"),
8686 ToolMeta("Paint", "Compositing & Blending", "Unit tests", "0.0%–1.2%", "Clone/Smear/Emboss apply modes and non-round image brushes not yet implemented."),
8787 ToolMeta("PolylineStroke", "Compositing & Blending", "Unit tests", "0.0%–0.3%", "Rendered only inside `Paint` / `PaintMask`."),
......@@ -92,7 +92,7 @@ TOOL_METADATA: Sequence[ToolMeta] = (
9292 ToolMeta("BrightnessContrast", "Color & Depth", "`color_ops`, `tier1_d`", "0.0%–0.1%", "—"),
9393 ToolMeta("ColorCorrector", "Color & Depth", "`vortex_cc`, Suite comps", "0.0%–0.4%", "Histogram/Match/Suppress tabs not implemented."),
9494 ToolMeta("ColorGain", "Color & Depth", "`color_ops`, `noise_text`", "0.0%–0.1%", "—"),
95 ToolMeta("ColorCurves", "Color & Depth", "Suite comps", "0.0%–0.1%", ""),
95 ToolMeta("ColorCurves", "Color & Depth", "Suite comps", "0.0%–0.1%", "—"),
9696 ToolMeta("HueCurves", "Color & Depth", "`tier1_a`", "0.1%–0.5%", "—"),
9797 ToolMeta("GamutConvert", "Color & Depth", "Suite comps", "0.0%–0.2%", "—"),
9898 ToolMeta("InvertColor", "Color & Depth", "Suite comps", "0.0%", "—"),
......@@ -146,7 +146,7 @@ TOOL_METADATA: Sequence[ToolMeta] = (
146146 ToolMeta("RectangleMask", "Masks", "`mask`, `mask_softedge`", "0.0%–0.2%", "—"),
147147 ToolMeta("PolylineMask", "Masks", "`mask_softedge`, Suite comps", "0.1%–0.4%", "—"),
148148 ToolMeta("BitmapMask", "Masks", "`mask_softedge`", "0.0%–0.2%", "—"),
149 ToolMeta("WandMask", "Masks", "`archive_3d`", "0.0%–0.3%", ""),
149 ToolMeta("WandMask", "Masks", "`archive_3d`", "0.0%–0.3%", "—"),
150150 ToolMeta("PaintMask", "Masks", "Unit tests", "0.1%–0.4%", "Non-round brush shapes not implemented."),
151151
152152 # 2D Vector Shapes
......@@ -177,10 +177,10 @@ TOOL_METADATA: Sequence[ToolMeta] = (
177177 ToolMeta("Merge3D", "3D Pipeline", "`cam3d`, `cam3d_fov`", "0.1%–0.4%", "—"),
178178 ToolMeta("Transform3D", "3D Pipeline", "`cam3d`, `cam3d_fov`", "0.1%–0.4%", "—"),
179179 ToolMeta("ImagePlane3D", "3D Pipeline", "`cam3d`", "0.1%–0.4%", "—"),
180 ToolMeta("Shape3D", "3D Pipeline", "`cam3d`, `cam3d_fov`", "0.1%–0.4%", "Torus/Cone/IcoSphere primitives not yet implemented."),
180 ToolMeta("Shape3D", "3D Pipeline", "`cam3d`, `cam3d_fov`", "0.1%–0.4%", "—"),
181181 ToolMeta("Cube3D", "3D Pipeline", "Unit tests", "0.1%–0.4%", "—"),
182182 ToolMeta("SurfaceFBXMesh", "3D Pipeline", "Unit tests", "Visual*", "Static mesh only (no skeletal skinning/morph animation)."),
183 ToolMeta("Text3D", "3D Pipeline", "`archive_3d`", "Visual*", "Pure-Rust vector text plane with multi-slice `-Z` extrusion (bevels not yet implemented; `#46`)."),
183 ToolMeta("Text3D", "3D Pipeline", "`archive_3d`", "Visual*", "Bevels not implemented."),
184184 ToolMeta("LightAmbient", "3D Pipeline", "Suite comps", "0.1%–0.4%", "—"),
185185 ToolMeta("LightDirectional", "3D Pipeline", "Suite comps", "0.1%–0.4%", "Up to 4 directional lights per scene; shadow maps pending (`#46`)."),
186186 ToolMeta("LightPoint", "3D Pipeline", "`archive_3d`", "0.1%–0.8%", "—"),
......@@ -524,20 +524,17 @@ def build_markdown(
524524 all_supported_classes = all_supported_tools | impl_modifiers
525525
526526 lines: List[str] = []
527 lines.append("# Fusion 21.1 Compatibility Matrix")
527 lines.append("<!-- Auto-generated by scripts/gen_compatibility.py. Do not edit by hand. -->")
528528 lines.append("")
529 lines.append(
530 f"Auto-generated from live engine sources (`{EVAL_DIR_LABEL}`, "
531 f"`{SCENE3D_DIR_LABEL}`, `crates/model/src/comp.rs`) and real Fusion `.comp` corpora "
532 "via `python3 scripts/gen_compatibility.py`."
533 )
529 lines.append("# Fusion 21.1 Compatibility")
534530 lines.append("")
535531 lines.append(
536 f"- **Tracked Gaps & Issues:** [shale.paperclover.net/fission/issues]({SHALE_ISSUES_URL})\n"
537 f"- **Conformance Probes:** [`scripts/fusion_probes.py`](scripts/fusion_probes.py)\n"
538 f"- **Per-Node Fuzzer:** [`scripts/fuzz_node.py`](scripts/fuzz_node.py) over the Fusion-introspected "
539 f"[`scripts/tool_catalog.json`](scripts/tool_catalog.json) (`scripts/fusion_introspect.py`), scored in "
540 f"[`scripts/accuracy_ledger.json`](scripts/accuracy_ledger.json)"
532 f"Fission currently supports **{len(all_supported_tools)}** tool types across 2D/3D compositing, all with high accuracy. "
533 "This document tracks the progress on parity with Blackmagic Fusion Studio. "
534 "The main metric, **accuracy**, is the inverse of the image's "
535 "[mean absolute error](https://en.wikipedia.org/wiki/Mean_absolute_error), "
536 "meaning `100%` accuracy means the pixels are all identical. "
537 "For details, see [`scripts/fuzz_node.py`](scripts/fuzz_node.py)."
541538 )
542539 lines.append("")
543540
......@@ -546,28 +543,19 @@ def build_markdown(
546543 lines.append("")
547544 lines.append("| Metric | Value |")
548545 lines.append("| --- | --- |")
549 lines.append(
550 f"| **Supported Flow Tools** | **{len(all_supported_tools)}** "
551 f"({len(eval_tools)} 2D/Fuse/utility in `{EVAL_DIR_LABEL}`, {len(scene3d_tools - eval_tools)} 3D scene nodes in `{SCENE3D_DIR_LABEL}`, 2 Flow annotations) |"
552 )
553 lines.append(
554 f"| **Modifiers & Animation** | **{len(MODIFIER_METADATA)}** systems "
555 f"({len(impl_modifiers)} Fusion modifier classes + Lua expressions) |"
556 )
546 lines.append(f"| **Supported Flow Tools** | **{len(all_supported_tools)}** |")
547 lines.append(f"| **Modifiers & Animation** | **{len(MODIFIER_METADATA)}** |")
557548 fuzzed = {n: e for n, e in ledger.get("tools", {}).items() if n in live_engine_tools}
558549 if fuzzed:
559550 mean = sum(e["mean_accuracy"] for e in fuzzed.values()) / len(fuzzed)
560 supported_tools_cell = f"**{format_accuracy(mean)}** ({len(fuzzed)} / {len(live_engine_tools)} supported tools fuzzed)"
551 supported_tools_cell = f"**{format_accuracy(mean)}**"
561552 else:
562 supported_tools_cell = "_Not measured (run `python3 scripts/fuzz_node.py --all`)_"
553 supported_tools_cell = "_Not measured_"
563554 paper = ledger.get("paper_clover")
564555 if paper:
565 paper_cell = (
566 f"**{format_accuracy(paper['mean_accuracy'])}** ({paper['suite']['cases']} suite frames + "
567 f"{paper['archive']['cases']} archive comps)"
568 )
556 paper_cell = f"**{format_accuracy(paper['mean_accuracy'])}**"
569557 else:
570 paper_cell = "_Not measured (run `python3 scripts/fuzz_node.py --paper-clover`)_"
558 paper_cell = "_Not measured_"
571559 # Denominators queried directly from stock Fusion Render Node 21.1 (`fu:GetRegList()` visible CT_Tool)
572560 # and WeSuckLess/Reactor (`Atoms/**/*.fuse`, 2026-12-01).
573561 fusion_builtin_total = 378
......@@ -586,37 +574,11 @@ def build_markdown(
586574 if t in all_supported_tools
587575 )
588576 reactor_pct = 100.0 * len(reactor_supported) / reactor_fuses_total
589 reactor_names = ", ".join(t.removeprefix("Fuse.") for t in reactor_supported)
590577
591 lines.append(f"| **Paper Clover Comps Accuracy** | {paper_cell} |")
578 lines.append(f"| **Accuracy across [paper clover](https://paperclover.net)'s compositions** | {paper_cell} |")
592579 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 )
601 lines.append(
602 f"| **Active Corpus (`trees/fusion`) Coverage** | "
603 f"{format_coverage(active_corpus, all_supported_classes, '_Skipped (`/Volumes/Project/trees/fusion` not mounted)_')} |"
604 )
605 lines.append(
606 f"| **Archive Corpus (`private/samples`) Coverage** | "
607 f"{format_coverage(archive_corpus, all_supported_classes, '_Skipped (`private/samples` not present)_')} |"
608 )
609 lines.append(
610 "| **HiQ vs Fast Mode** | "
611 "**`HiQ`**: honors `DepthFull` / generator `Depth` / `ChangeDepth` (`Rgba8Unorm`, clamped `Rgba16Float`, unclamped HDR `Rgba16Float`/`Rgba32Float`), full-res blurs & `XGlow`. "
612 "**`Fast`**: collapses working targets to `Rgba8Unorm`, downsamples blurs, caps `XGlow` octaves for interactive scrubbing. |"
613 )
614 lines.append("")
615 lines.append(
616 "Accuracy is `100% − MAE%` against Fusion 21.1 renders. A single value is the mean over a live fuzz run "
617 "(`scripts/fuzz_node.py`: frame 0 at defaults plus stratified parameter variations); a range is the legacy "
618 "hand-curated probe-suite MAE for tools not yet fuzzed. `Visual*` marks stochastic tools judged by eye."
619 )
580 lines.append(f"| **Coverage of Fusion's Built-in Tools** | **{builtin_pct:.1f}%** |")
581 lines.append(f"| **Coverage of All Fuses on Reactor** | **{reactor_pct:.1f}%** |")
620582 lines.append("")
621583
622584 # Categorized tool tables
......@@ -626,12 +588,20 @@ def build_markdown(
626588 continue
627589 lines.append(f"## {cat}")
628590 lines.append("")
629 lines.append("| Tool | Accuracy | Notes & Fallbacks |")
591 if cat == "3D Pipeline":
592 lines.append(
593 "Each 3D tool's accuracy is measured by rendering it inside a lit `Merge3D` + `Camera3D` + `Renderer3D` "
594 "(`RendererOpenGL`) scene while varying that tool's own parameters. `Renderer3D` accuracy varies "
595 "`Renderer3D`'s own settings (lighting, shadows, overscan, etc.) on a fixed 3D scene, whereas each "
596 "shape, light, camera, and material row varies that specific tool's inputs."
597 )
598 lines.append("")
599 lines.append("| Tool | Accuracy | Notes |")
630600 lines.append("| --- | --- | --- |")
631601 for m in cat_tools:
632602 entry = fuzzed.get(m.name)
633603 acc_cell = format_accuracy(entry["mean_accuracy"]) if entry else legacy_accuracy(m.mae)
634 lines.append(f"| `{m.name}` | {acc_cell} | {m.notes} |")
604 lines.append(f"| `{m.name}` | {acc_cell} | {m.notes or '—'} |")
635605 lines.append("")
636606
637607 # Drift-detection table if any new tools appeared in Rust sources
......@@ -650,12 +620,12 @@ def build_markdown(
650620 # Modifiers & Animation table
651621 lines.append("## Modifiers & Animation")
652622 lines.append("")
653 lines.append("| Modifier / System | Probe Suite | Notes |")
654 lines.append("| --- | --- | --- |")
623 lines.append("| Modifier / System | Notes |")
624 lines.append("| --- | --- |")
655625 for mm in MODIFIER_METADATA:
656 lines.append(f"| {mm.display_name} | {mm.probe} | {mm.notes} |")
626 lines.append(f"| {mm.display_name} | {mm.notes} |")
657627 for name in uncategorized_mods:
658 lines.append(f"| `{name}` | — | _Uncategorized modifier detected in `comp.rs`._ |")
628 lines.append(f"| `{name}` | _Uncategorized modifier detected in `comp.rs`._ |")
659629 lines.append("")
660630
661631 # Preserved & Passthrough (Roundtrip-Safe) section
......@@ -669,35 +639,11 @@ def build_markdown(
669639 )
670640 lines.append("")
671641
672 # Combine curated unsupported list with any top real-world unsupported tools from corpora
673 curated_by_name = {u.name: u for u in UNSUPPORTED_NOTES}
674 combined_unsup: Counter[str] = Counter()
675 if active_corpus is not None:
676 for k, v in active_corpus[1].items():
677 if k not in all_supported_classes:
678 combined_unsup[k] += v
679 if archive_corpus is not None:
680 for k, v in archive_corpus[1].items():
681 if k not in all_supported_classes:
682 combined_unsup[k] += v
683
684 # Order: curated items first (preserving logical grouping), then any remaining high-frequency unsupported tools
685 display_unsup: List[str] = [u.name for u in UNSUPPORTED_NOTES]
686 for k, _ in combined_unsup.most_common(25):
687 if k not in curated_by_name and len(display_unsup) < 24:
688 display_unsup.append(k)
689
690 lines.append("| Tool Class | Issue | Behavior & Notes |")
642 lines.append("| Tool Class | Issue | Notes |")
691643 lines.append("| --- | --- | --- |")
692 for name in display_unsup:
693 meta = curated_by_name.get(name)
694 if meta is not None:
695 issue_str = f"[#{meta.issue}]({SHALE_ISSUES_URL}/{meta.issue})" if meta.issue else "—"
696 behavior = meta.behavior
697 else:
698 issue_str = "—"
699 behavior = "Preserved lossless on save; passes through main input in Flow."
700 lines.append(f"| `{name}` | {issue_str} | {behavior} |")
644 for meta in UNSUPPORTED_NOTES:
645 issue_str = f"[#{meta.issue}]({SHALE_ISSUES_URL}/{meta.issue})" if meta.issue else "—"
646 lines.append(f"| `{meta.name}` | {issue_str} | {meta.behavior} |")
701647 lines.append("")
702648
703649 lines.append("---")