From b63a310ba38bd3be1608bd6657f45de995a1ccd2 Mon Sep 17 00:00:00 2001 From: chasse20 Date: Mon, 23 Nov 2026 05:06:24 -0500 Subject: [PATCH] Measure dense Quadrant traversal against repeated reference renders --- docs/parity-fixes.md | 27 +++++++++++++++++++++++++++ docs/sbs-root-nodes.md | 4 +++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/docs/parity-fixes.md b/docs/parity-fixes.md index 565556cb..9a73eda1 100644 --- a/docs/parity-fixes.md +++ b/docs/parity-fixes.md @@ -59,6 +59,33 @@ The first pass classifies all 546 roots: 166 Parity and 380 Too hard. These meas ## 2026-11-23 root comparisons +### Dense Quadrant traversal and reference worker counts + +Construct a grayscale FX-Map with a .0625 background, zero roughness, overall opacity 1, both regions (0,1,0,1), center culling enabled and wrapping disabled. Start at (.5,.5). At each subdivision link all four children to the next empty Quadrant. At the last level draw additive squares of size (1.75,2.25), rotation zero and luminosity `rand(.0625) + .0625 * $pos.x`. In the returning-offset version move the root branch by (1.25,0) and the final stamp by (−1.25,0). In the narrow version change only the size to (.375,1.25). Use seeds 441151 + 31j, with j from zero to three in the column order below. + +| Graph and final depth | F32 16×8 | F16 16² | U16 8×16 | U8 32×16 | +|---|---:|---:|---:|---:| +| Regular, 6 | 128/128 · 0 | 256/256 · 0 | 128/128 · 0 | 512/512 · 0 | +| Regular, 8 | 128/128 · 0 | 256/256 · 0 | 128/128 · 0 | 512/512 · 0 | +| Regular, 10 | 121/128 · 2.98023224e-08 | 256/256 · 0 | 128/128 · 0 | 512/512 · 0 | +| Regular, 11 | Visit limit | Visit limit | Visit limit | Visit limit | +| Returning offset, 8 | 128/128 · 0 | 256/256 · 0 | 128/128 · 0 | 512/512 · 0 | +| Returning offset, 10 | 126/128 · 5.96046448e-08 | 256/256 · 0 | 128/128 · 0 | 512/512 · 0 | +| Narrow, 8 | 128/128 · 0 | 256/256 · 0 | 128/128 · 0 | 512/512 · 0 | +| Narrow, 10 | 128/128 · 0 | 256/256 · 0 | 128/128 · 0 | 512/512 · 0 | + +The production cook matched 7,159/7,168 desktop pixels in 28 completed settings. The reference produced a buffer for all 32. Save and reopen the depth-eight regular, depth-eleven regular, depth-ten returning and depth-ten narrow graphs. Repeat the F32 and U16 rectangles. The two applications matched 766/768 pixels in six completed reopens, maximum 5.96046448e−8. Across all eight, the reference reproduced 1,008/1,024 original pixels. Its 16 changed pixels were in the depth-eleven F32 image, maximum 2.98023224e−8. + +For the whole BNW Spots 3 v2 graph use 32² F32, seed 162174, scale 2, disorder .78125, speed 1.015625, anisotropy .390625, angle .40625 and tile offset (.1708984375,−.29296875). Complete this traversal and the two F32 square controls below in an instrumented cook with a higher visit allowance. On each saved graph select one or eight reference workers explicitly and render twice without changing the seed. The table gives exact pixels / total and maximum channel error. + +| Graph | Completed traversal vs one worker, both runs | vs desktop | vs eight workers, first run | vs eight workers, second run | Eight-worker repeat | +|---|---:|---:|---:|---:|---:| +| Regular, 11 | 128/128 · 0 | 109/128 · 2.98023224e-08 | 113/128 · 2.98023224e-08 | 107/128 · 2.98023224e-08 | 96/128 · 2.98023224e-08 | +| Returning offset, 10 | 128/128 · 0 | 126/128 · 5.96046448e-08 | 105/128 · 5.96046448e-08 | 113/128 · 5.96046448e-08 | 102/128 · 5.96046448e-08 | +| Whole Spots 3 v2 | 1,024/1,024 · 0 | 894/1,024 · 1.1920929e-07 | 878/1,024 · 1.78813934e-07 | 874/1,024 · 1.1920929e-07 | 887/1,024 · 2.38418579e-07 | + +The dense spot traversal takes 4,025,030 visits. At depth eight in its final generator, testing a square with radius four times the current subdivision width around the incoming center plus the inherited frame offset would reject 6,442 of 753,536 subtrees that contained a retained stamp. The returning-offset controls also draw after their ancestors leave the image. The production visit limit and the multi-worker differences remain open. [Original spot traversal and whole-root measurements](#whole-root-precision-and-saved-comparisons-for-the-three-neighboring-spot-graphs) + ### Whole and reopened first-renderer irradiance pass Repeat the [17 default-index settings](#first-renderer-eighth-irradiance-pass) and the [nine connected-index settings](#irradiance-with-a-connected-pass-index) after the [instance input and rotation correction](#scalar-float-precision-in-nested-graph-instances). The original seven procedural inputs, graph expressions and output connections are retained. Each of the 26 image outputs and 26 next-index float values matches, including the default at 256² and seed 42 at 128². diff --git a/docs/sbs-root-nodes.md b/docs/sbs-root-nodes.md index 419f297d..8bbfea53 100644 --- a/docs/sbs-root-nodes.md +++ b/docs/sbs-root-nodes.md @@ -49,6 +49,8 @@ Eight original called-function graphs now match all 49,152 F32 pixels when a ste In the two eighth specular passes, the corrected pixel arithmetic matched all 2,304 scanline pixels across zero through eight contributions. The changed 128² pass 396 scores 16,384/16,384 · 0 in F16 and the default 128² pass 408 scores 16,384/16,384 · 0. All 376,832 pixels in the direct and reusable function graphs match, as do all 131,072 reopened pixels. [Raw counts and procedural inputs](parity-fixes.md#reciprocal-division-through-pixel-function-calls) +A completed diagnostic traversal of the dense 32² BNW Spots 3 v2 case matched 1,024/1,024 F32 pixels on both explicit one-worker reference runs. Two eight-worker reference runs matched one another on 887/1,024 pixels. The production cook still reaches its visit limit. [Dense Quadrant and saved-file measurements](parity-fixes.md#dense-quadrant-traversal-and-reference-worker-counts) + Twelve original ancestor-offset controls matched 61,440/61,440 pixels. Three reopens matched another 15,360/15,360. In the two dense BNW Spots 3 packages, the tested square F32 settings that completed matched 4,608/4,608 pixels on the explicit one-worker renderer. Three settings still reached the execution budget. [Returning squares, renderer repeats and per-format counts](parity-fixes.md#branch-offsets-center-culling-and-two-dense-spot-graphs) Across five whole spots and cloud graphs, ordinary Quadrant traversal matched 1,803,008/1,803,008 pixels on the explicit one-worker renderer. The current cook matched 1,797,291/1,803,008 pixels against the desktop. Repeated eight-worker renders differed on identical settings. [Whole graphs, generator readouts and repeat counts](parity-fixes.md#patterns-with-an-explicit-reference-worker-count) @@ -382,7 +384,7 @@ Creased matches 10,947,840/10,947,840 pixels across 100 distinct settings throug | [noise_bnw_spots_1.sbs/bnw_spots_1](../assets/sbs/noise_bnw_spots_1.sbs) | 0 | Yes | [In progress · 782,741/841,728 pixels on one processor, 788,160/841,728 on eight across 86 settings](parity-fixes.md#first-level-draw-order-in-repeated-spot-quadrants) · [Earlier 60-setting comparison](parity-fixes.md#connected-quadrant-depth-and-amplified-spot-patterns) · [Zero roughness exact in U16 and F32](parity-fixes.md#grayscale-pattern-output-at-zero-roughness) · [Draw order, 18 changed-format comparisons](parity-fixes.md#draw-order-for-overlapping-procedural-grayscale-stamps) · [12 settings and four attempted reopens](parity-fixes.md#moisture-spot-and-cell-fields-across-processors-and-saved-packages) · [Explicit renderer workers and repeatability](parity-fixes.md#patterns-with-an-explicit-reference-worker-count) | | [noise_bnw_spots_1_v2.sbs/bnw_spots_1](../assets/sbs/noise_bnw_spots_1_v2.sbs) | 0 | No | [In progress · 831,506/842,752 pixels on one processor, 831,311/842,752 on eight · 87 settings](parity-fixes.md#whole-root-precision-and-saved-comparisons-for-the-three-neighboring-spot-graphs) · [Earlier spot comparison](parity-fixes.md#connected-quadrant-depth-and-amplified-spot-patterns) · [Zero roughness exact in U16 and F32](parity-fixes.md#grayscale-pattern-output-at-zero-roughness) · [Draw order, 18 changed-format comparisons](parity-fixes.md#draw-order-for-overlapping-procedural-grayscale-stamps) · [12 settings and four attempted reopens](parity-fixes.md#moisture-spot-and-cell-fields-across-processors-and-saved-packages) · [Explicit renderer workers and repeatability](parity-fixes.md#patterns-with-an-explicit-reference-worker-count) | | [noise_bnw_spots_3.sbs/bnw_spots_3](../assets/sbs/noise_bnw_spots_3.sbs) | 0 | Yes | [In progress · 671,452/671,744 pixels on one processor, 671,526/671,744 on eight · 48 of 62 settings rendered](parity-fixes.md#whole-root-precision-and-saved-comparisons-for-the-three-neighboring-spot-graphs) · [Earlier spot comparison](parity-fixes.md#deep-pattern-samples-in-custom-render-and-tiling-regions) · [Earlier matrix](parity-fixes.md#bnw-spots-3-and-cells-1-pattern-sources) · [64² precision and remaining traversal limits](parity-fixes.md#precision-of-two-dense-noise-generators-in-custom-regions) · [12 settings and four attempted reopens](parity-fixes.md#moisture-spot-and-cell-fields-across-processors-and-saved-packages) · [Explicit worker counts](parity-fixes.md#branch-offsets-center-culling-and-two-dense-spot-graphs) | -| [noise_bnw_spots_3_v2.sbs/bnw_spots_3](../assets/sbs/noise_bnw_spots_3_v2.sbs) | 0 | No | [In progress · 339,986/347,136 pixels on one processor, 341,093/347,136 on eight · 30 of 62 settings rendered](parity-fixes.md#whole-root-precision-and-saved-comparisons-for-the-three-neighboring-spot-graphs) · [Earlier spot comparison](parity-fixes.md#bnw-spots-3-and-cells-1-pattern-sources) · [12 settings and four attempted reopens](parity-fixes.md#moisture-spot-and-cell-fields-across-processors-and-saved-packages) · [bounded stage counts at scale two](parity-fixes.md#four-cloud-noise-generators-and-repeated-saved-file-comparisons) · [Explicit worker counts](parity-fixes.md#branch-offsets-center-culling-and-two-dense-spot-graphs) | +| [noise_bnw_spots_3_v2.sbs/bnw_spots_3](../assets/sbs/noise_bnw_spots_3_v2.sbs) | 0 | No | [In progress · 339,986/347,136 pixels on one processor, 341,093/347,136 on eight · 30 of 62 settings rendered](parity-fixes.md#whole-root-precision-and-saved-comparisons-for-the-three-neighboring-spot-graphs) · [Earlier spot comparison](parity-fixes.md#bnw-spots-3-and-cells-1-pattern-sources) · [12 settings and four attempted reopens](parity-fixes.md#moisture-spot-and-cell-fields-across-processors-and-saved-packages) · [bounded stage counts at scale two](parity-fixes.md#four-cloud-noise-generators-and-repeated-saved-file-comparisons) · [Explicit worker counts](parity-fixes.md#branch-offsets-center-culling-and-two-dense-spot-graphs) · [Dense F32 traversal and worker repeats](parity-fixes.md#dense-quadrant-traversal-and-reference-worker-counts) | | [noise_cells_1.sbs/cells_1](../assets/sbs/noise_cells_1.sbs) | 0 | Yes | [Parity · 928,000/928,000 pixels across 88 distinct settings on one and eight processors](parity-fixes.md#inverting-the-stored-pixel-projection-in-scaled-stamp-regions) · [Earlier scaled-window comparisons](parity-fixes.md#projecting-stamp-vertices-relative-to-pixel-centers-in-scaled-windows) · [Earlier root comparisons](parity-fixes.md#bnw-spots-3-and-cells-1-pattern-sources) · [717,776/729,344 pixels in 60 settings at one and eight processors](parity-fixes.md#moisture-spot-and-cell-fields-across-processors-and-saved-packages) | | [noise_cells_1_v2.sbs/cells_1](../assets/sbs/noise_cells_1_v2.sbs) | 0 | No | [Parity · 947,456/947,456 pixels across 89 distinct settings on one and eight processors](parity-fixes.md#inverting-the-stored-pixel-projection-in-scaled-stamp-regions) · [Earlier scaled-window comparisons](parity-fixes.md#projecting-stamp-vertices-relative-to-pixel-centers-in-scaled-windows) · [Earlier root comparisons](parity-fixes.md#original-and-reopened-dirt-moisture-and-cellular-noise-fields) · [Earlier measurements](parity-fixes.md#streaming-repeated-pattern-visits) · [745,614/748,800 pixels in 61 settings at one and eight processors](parity-fixes.md#moisture-spot-and-cell-fields-across-processors-and-saved-packages) | | [noise_cells_4.sbs/cells_4](../assets/sbs/noise_cells_4.sbs) | 1 | Yes | [Parity · 1,028,608/1,028,608 pixels across 79 distinct settings](parity-fixes.md#distance-propagation-on-rectangular-and-tied-cellular-fields) · [Earlier measurements](parity-fixes.md#original-and-reopened-dirt-moisture-and-cellular-noise-fields) · [Earlier measurements](parity-fixes.md#paths-caustics-and-cell-fields-after-pattern-sampling) |