Skip to content

[meta] Colorimetric strategy scorecard: memory, CPU, accuracy, and end conditions #3429

Closed as not planned

Description

@zackees

Context

Follow-up to #3422. The colorimetric strategy harness now has runnable rows for every currently discussed strategy, including RGBW rows, fixed-path prototype rows, and a 5-channel RGBWW scorer. The next piece of work is to turn the prototype table into a complete decision record: memory, CPU, and max-channel accuracy for every strategy, with enough production proof to choose the right implementation per target tier.

When this issue is complete, FastLED should have a full performance-vs-accuracy rundown across all relevant categories: small-memory RGBW, balanced RGBW, highest-accuracy RGBW, fixed-point-only MCU, FPU-enabled MCU, and RGBWW strict.

Important Measurement Rules

  • Accuracy is max absolute LSB error in any output color channel. Aggregate dE is supporting data only.
  • RGBW rows must name their reference. Current RGBW prototype rows compare against strict closed-form unless the row is explicitly a production policy row.
  • RGBWW rows must name their reference. Current RGBWW prototype rows compare against the layered RGBWW reference.
  • CPU rows must not use placeholder cycle counts. Host ns/px is allowed as a live benchmark, but FPU and fixed-point MCU costs must be measured or explicitly marked missing.
  • FPU-enabled and fixed-point-only costs must both be represented where a strategy can plausibly ship in both modes, including the relative fixed/FPU cost.
  • Any row that is not production-ready must say whether it is PROTO with blockers or REJECTED with evidence.

Current Snapshot

Current harness output is based on verifier_known_bad with 381 rows. Values below are the most recent local prototype measurements; the final emitted tables are authoritative.

Strategy Stage Topology Reference max-channel LSB p50/p95/p99/peak target dE p50/p95/peak Memory target/proto/runtime Current state Main missing work
float_closed_form REF RGBW strict closed-form 0 / 0 / 0 / 0 4.02 / 13.97 / 30.82 0B / 0B / ProfileCache OK reference Soft-float target not benchmarked
wx_lp_legacy_float PROD RGBW production max-white policy 0 / 151 / 239 / 255 4.21 / 13.97 / 30.82 0B / 0B / ProfileCache Production policy row Fixed LP solver not implemented; MCU cycles missing
wx_overdrive_float PROD RGBW production boosted policy 32 / 123 / 191 / 255 12.51 / 47.46 / 66.43 0B / 0B / ProfileCache Intentional luminance/chroma tradeoff Fixed boosted solver not implemented; MCU cycles missing
bilinear_n16 PROD RGBW strict closed-form 4 / 93 / 143 / 152 4.46 / 14.68 / 30.82 2048B / 2048B / state+table Fails current p95 budget MCU cycles missing; fixed pair measured separately
hermite_n16 PROD RGBW strict closed-form 2 / 87 / 143 / 166 4.31 / 16.70 / 30.82 6144B / 6144B / state+table Fails current p95 budget Fixed lookup not implemented; MCU cycles missing
hermite_n32 PROD RGBW strict closed-form 0 / 86 / 143 / 149 4.30 / 13.97 / 30.82 24576B / 24576B / state+table Fails current p95 budget Size tradeoff proof; fixed lookup not implemented; MCU cycles missing
cell_encoding_q16_n16 PROTO RGBW strict closed-form 3 / 87 / 142 / 166 4.38 / 15.50 / 30.82 6144B / 12288B / 12848B Fails current p95 budget Packed cell format, compression sweep, fixed evaluator, MCU validation
hull_adaptive_n16 PROTO RGBW strict closed-form 1 / 78 / 115 / 166 4.61 / 15.50 / 30.82 6176B / 12416B / 12848B Fails current p95 budget Packed-axis decoder, fixed evaluator, MCU validation
tetrahedral_rgb8 PROTO RGBW strict closed-form 1 / 18 / 22 / 24 3.91 / 15.89 / 30.82 4096B / 4096B / state+table Best current RGBW accuracy tradeoff Sparse/compressed storage, boosted-mode proof, MCU validation
tetrahedral_rgb8_fixed PROTO RGBW strict closed-form 1 / 18 / 22 / 24 3.92 / 15.89 / 30.82 4096B / 4096B / state+table Fixed Q12 evaluator exists MCU validation; production packing/integration
poly_piecewise_d3 PROTO RGBW strict closed-form 9 / 39 / 62 / 74 3.87 / 15.45 / 30.82 480B / 1920B / 2184B Good small-memory accuracy candidate Production offline coefficient generation, monotonicity proof, MCU validation
poly_piecewise_d3_fixed PROTO RGBW strict closed-form 9 / 39 / 62 / 72 4.04 / 15.50 / 30.82 480B / 1920B / 2184B Fixed Q8 evaluator exists Quantization review, monotonicity proof, MCU validation
fixed_analytical_q16 PROTO RGBW strict closed-form 3 / 81 / 128 / 152 5.15 / 38.16 / 65.90 224B / 224B / state Fails current p50/p95 budgets Hull projection, overflow proof, parity target
hybrid_q16_refine_n8 PROTO RGBW strict closed-form 3 / 81 / 128 / 152 5.15 / 38.16 / 65.90 304B / 304B / state+router Seed router prototype exists; seeding is not yet proven useful Hull projection, overflow proof, Q-format review, explain whether seed matters
bilinear_n16_fixed_interp PROTO RGBW strict closed-form 15 / 115 / 145 / 152 4.48 / 35.71 / 65.90 2048B / 2048B / state+table Fixed baseline row exists but fails budgets MCU validation; decide whether useful as baseline only
rgbww_layered_reference REF RGBWW current layered RGBWW reference 0 / 0 / 0 / 0 3.52 / 11.86 / 26.11 0B row-owned OK reference Fixed RGBWW solver not implemented; MCU cycles missing
rgbww_strict_5ch_proto PROTO RGBWW layered RGBWW reference 9 / 143 / 199 / 210 3.71 / 11.99 / 26.11 228B / 528B / 960B 5-channel scorer/prototype exists Physical policy validation, fixed evaluator, production integration, MCU validation

Required Final Tables

Accuracy Table

For each strategy and topology:

Required column Meaning
Strategy Stable row name used by the harness
Stage REF, PROD, PROTO, or REJECTED
Topology RGBW, RGBWW, or future channel family
Reference Strict closed-form, production policy, layered RGBWW reference, measured fixture, etc.
max-channel LSB p50 Median max absolute channel error
max-channel LSB p95 95th percentile max absolute channel error
max-channel LSB p99 99th percentile max absolute channel error
max-channel LSB peak Worst max absolute channel error over the sample set
target dE p50/p95/peak Supporting colorimetric target error distribution
Sample set Fixture/gamut/boosted-mode coverage used for the row
Pass/fail reason Which budget failed, if any

Memory Table

For each strategy:

Required column Meaning
Target packed bytes Intended deployable flash/PROGMEM footprint
Prototype bytes Current harness/runtime representation footprint
RAM bytes Runtime RAM/heap/state requirements
Per-profile bytes Cost that scales with color profile
Per-strip/controller bytes Cost that scales with runtime instances
Tiny-memory tier impact Whether the strategy can be compiled out or kept below the tiny target budget
Compression knobs Grid size, coefficient count, sparse encoding, packed cell format, etc.

CPU Table

For each strategy:

Required column Meaning
Host ns/px Current desktop benchmark value from the harness
FPU path Runtime math used when FPU is available
Fixed path Runtime math used on fixed-point/no-FPU targets, or explicit missing reason
FPU cycles/px Measured or defensible representative MCU result, not a placeholder
Fixed cycles/px Measured or defensible representative MCU result, not a placeholder
Fixed/FPU relative cost Ratio shown directly in the table when both values exist
Setup/build cost Offline/profile-time table or coefficient generation cost
Runtime operations Lookup, interpolation, solve/refine, clamp/projection, RGBWW policy steps
Validation target Host-only, simulator, or named MCU/board benchmark

Decision Table

Final output should include a compact recommendation matrix:

Category Winner Why Memory CPU FPU/fixed max-channel LSB p95/peak Blockers
Small flash/RAM TBD TBD TBD TBD TBD TBD
Balanced RGBW TBD TBD TBD TBD TBD TBD
Highest RGBW accuracy TBD TBD TBD TBD TBD TBD
Fixed-point-only MCU TBD TBD TBD TBD TBD TBD
FPU-enabled MCU TBD TBD TBD TBD TBD TBD
RGBWW strict TBD TBD TBD TBD TBD TBD

Strategy Checklist

  • Baseline/reference rows remain runnable: float_closed_form, wx_lp_legacy_float, wx_overdrive_float, bilinear_n16, hermite_n16, hermite_n32.
  • Hypothesis support TLS3001 #1, hull_adaptive_n16: production packed axis/cell encoding exists, memory is measured, fixed evaluator is implemented or rejected, MCU validation is recorded.
  • Hypothesis Interrupt short circuit #2, tetrahedral_rgb8 / tetrahedral_rgb8_fixed: sparse/compressed storage is designed, boosted-mode behavior is validated, RGBW/RGBWW applicability is documented.
  • Hypothesis Allow duplication of data to more LEDs #3, poly_piecewise_d3 / poly_piecewise_d3_fixed: offline/profile-time coefficient generation exists, fixed evaluator is reviewed, monotonicity/clamp behavior is proven.
  • Hypothesis Example: testleds needs updating (find included update) #4, hybrid_q16_refine_n8: define the actual value of the seed router, add hull projection, prove overflow bounds, improve Q-format if needed, and document whether seeding matters.
  • Hypothesis added ATtiny84 / 44 / 24 support, using pin defs from mellis  #5, cell_encoding_q16_n16: packed cell format exists, compression/grid sweep is recorded, fixed evaluator is implemented or rejected, and target/prototype memory converge or the delta is explained.
  • fixed_analytical_q16: hull projection exists, overflow proof exists, fixed-vs-float parity target is defined and measured.
  • bilinear_n16_fixed_interp: decide whether this is a useful fixed baseline, production fallback, or rejected row.
  • rgbww_layered_reference: reference behavior is locked down and fixed RGBWW feasibility is documented.
  • rgbww_strict_5ch_proto: physical policy is validated, fixed evaluator is implemented or rejected, production integration path is documented, and 5-channel scorer/reference behavior is locked down.

Completion Conditions

  • bash test colorimetric_strategy_table --cpp --verbose emits the final memory, CPU, accuracy, and decision tables.
  • Every row has max-channel LSB p50/p95/p99/peak and target dE p50/p95/peak.
  • Every row has target packed memory, prototype memory, RAM/runtime memory, and scaling notes.
  • Every row has FPU and fixed-point/no-FPU CPU cost, or an explicit rejected/not-applicable reason.
  • Every row with both FPU and fixed CPU data shows relative fixed/FPU cost.
  • No placeholder cycle counts or unverifiable estimates remain in the tables.
  • All prototype-only rows have either a production implementation plan or an explicit rejection reason.
  • At least one selected production candidate lands outside the test harness before being called shippable.
  • Final recommendation names winners per category: small memory, balanced RGBW, highest RGBW accuracy, fixed-only MCU, FPU MCU, RGBWW strict.
  • Focused tests pass: colorimetric_strategy_table, rgbw_colorimetric, and RGBWW coverage.
  • Lint passes for the touched harness and production files.
  • Hardware or representative MCU validation is recorded for any strategy recommended as a default or tier winner.

Current Verification Commands

These are the minimum checks while iterating on the table:

bash test colorimetric_strategy_table --cpp --verbose
bash test rgbw_colorimetric --cpp --verbose
bash test rgbww --cpp --verbose
git diff --check
bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp

Known Remaining Gaps

  • Fixed LP solver not implemented.
  • Fixed boosted solver not implemented.
  • Fixed evaluator missing for cell_encoding_q16_n16 and hull_adaptive_n16.
  • Fixed RGBWW solver/evaluator not implemented.
  • RGBWW strict physical policy not validated.
  • Soft-float target not benchmarked.
  • Representative MCU cycle data missing.
  • Overflow proof missing for Q16 analytical/refine paths.

Non-Goals

  • Do not switch the default production path solely from host benchmark output.
  • Do not treat aggregate dE as a substitute for max-channel LSB accuracy.
  • Do not hide failing rows by removing them from the table.
  • Do not merge an RGBWW policy as complete until the physical behavior and reference policy are explicitly validated.

Activity

  1. zackees commented on Jun 27, 2026

    @zackees
    MemberAuthor

    Latest local harness update:

    • Strategy table now registers 24 rows.
    • Added wx_lp_q16_residual_rejected as an explicit REJECTED policy-LP row so the failed fixed residual/max-W approach is measured instead of left implicit.
    • Measured row: max-channel LSB 3 / 81 / 128 / 152, target dE 5.15 / 38.16 / 65.90, host 161.1 ns/px, target/prototype/runtime memory 132B / 132B / 136B.
    • Reason for rejection: it is fast and tiny, but it is only a residual strict max-W approximation; it does not implement the balanced wx_lp_legacy_float hull-projection/manifold solve.
    • wx_lp_legacy_float now points at this rejected row as evidence that balanced fixed LP is still pending.

    Verification passed locally:

    bash test colorimetric_strategy_table --cpp --verbose
    bash test rgbw_colorimetric --cpp --verbose
    bash test rgbww --cpp --verbose
    git diff --check
    bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp
  2. zackees commented on Jun 27, 2026

    @zackees
    MemberAuthor

    Latest local harness update:

    • CPU table now includes explicit FPU cycles/px and Fixed cycles/px columns for every registered strategy row.
    • These cells intentionally print missing, paired row missing, missing soft-float, missing balanced LP, missing RGBWW, or rejected instead of inferring MCU cycle counts from host ns/px.
    • This removes an ambiguity in the table shape: host timing remains measured locally, while representative MCU cycle data is visibly absent until it is actually recorded.
    • The explanatory note now says missing MCU cells are evidence gaps, not host-derived cycle estimates.

    Verification passed locally:

    bash test colorimetric_strategy_table --cpp --verbose
    bash test rgbw_colorimetric --cpp --verbose
    bash test rgbww --cpp --verbose
    git diff --check
    bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp
  3. zackees commented on Jun 27, 2026

    @zackees
    MemberAuthor

    Latest local harness update:

    • Accuracy table now has an explicit Sample set column for every row.
    • Sample-set values identify the current fixture and input gamut, for example verifier_known_bad/native/RGBW, verifier_known_bad/native/RGBWW, and verifier_known_bad/native/boost-policy for boosted-policy rows.
    • Added a note that boost-policy uses the same verifier fixture with the boosted policy enabled; it is not a separate boosted-mode sweep yet.
    • Memory table now splits the previous combined prose into separate Tiny tier, Compression/scaling knobs, and Source columns, so packed layout/scaling evidence is easier to audit row by row.

    Verification passed locally:

    bash test colorimetric_strategy_table --cpp --verbose
    bash test rgbw_colorimetric --cpp --verbose
    bash test rgbww --cpp --verbose
    git diff --check
    bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp

    Note: the test commands were started in parallel, so two runs printed build-lock wait stack dumps before acquiring the lock, but all listed checks completed successfully.

  4. zackees commented on Jun 27, 2026

    @zackees
    MemberAuthor

    Latest local harness update:

    • Accuracy table header changed from Reference to Reference/role so policy rows do not imply a different LSB baseline than the one actually measured.
    • wx_lp_legacy_float now prints strict CF delta; prod max-W.
    • wx_overdrive_float now prints strict CF delta; prod boost.
    • wx_overdrive_q16 now prints strict CF delta; fixed boost.
    • wx_lp_q16_residual_rejected now prints strict CF delta; rejected LP.
    • The explanatory note now states that RGBW LSB columns compare against strict closed-form, while policy rows name their policy role in the same cell.

    This keeps the existing useful strict-closed-form LSB deltas but removes the ambiguity that production policy rows were being compared against themselves.

    Verification passed locally:

    bash test colorimetric_strategy_table --cpp --verbose
    bash test rgbw_colorimetric --cpp --verbose
    bash test rgbww --cpp --verbose
    git diff --check
    bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp
  5. zackees commented on Jun 27, 2026

    @zackees
    MemberAuthor

    Latest local harness update:

    • Added a live paired-strategy LSB evaluator, so the table now measures fixed/prototype rows against their paired FPU rows rather than relying only on host speed ratios.
    • Accuracy table now includes paired LSB p50/p95/p99/peak.
    • The paired column is measured across the same verifier fixture and uses max absolute error in any output channel; RGBWW pairs use all five channels.
    • Early useful signals from the latest run:
      • tetrahedral_rgb8_fixed vs tetrahedral_rgb8: paired LSB 0 / 1 / 1 / 1.
      • poly_piecewise_d3_fixed vs poly_piecewise_d3: paired LSB 1 / 2 / 2 / 3.
      • rgbww_strict_5ch_fixed_eval vs rgbww_strict_5ch_proto: paired LSB 5 / 104 / 162 / 190.
      • rejected LP residual vs wx_lp_legacy_float: paired LSB 27 / 152 / 239 / 255, reinforcing that it is not a balanced fixed LP replacement.

    Verification passed locally:

    bash test colorimetric_strategy_table --cpp --verbose
    bash test rgbw_colorimetric --cpp --verbose
    bash test rgbww --cpp --verbose
    git diff --check
    bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp
  6. zackees commented on Jun 27, 2026

    @zackees
    MemberAuthor

    Latest local harness update:

    • Strategy table now registers 25 rows.
    • Added wx_lp_q16_balanced_proto as a measured PROTO fixed max-W/LP candidate instead of leaving wx_lp_legacy_float paired only to the rejected residual row.
    • Measured vs strict closed-form: max-channel LSB 11 / 152 / 239 / 255, target dE 4.35 / 35.71 / 65.90, mean LSB 36.35.
    • Measured paired against wx_lp_legacy_float: paired LSB 0 / 65 / 114 / 152.
    • CPU/memory from current harness: 957.6 ns/px host, target/prototype/runtime memory 84B / 136B / 136B.
    • Current interpretation: this is much closer to the balanced float policy than the rejected residual row, but it is still PROTO; hull projection, overflow proof, and representative MCU cycles are still missing.

    Verification passed locally:

    bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp
    bash test colorimetric_strategy_table --cpp --verbose --no-fingerprint

    The full goal remains open because representative MCU cycles, boosted-mode sweep coverage, production integration, RGBWW physical-policy validation, Q16 overflow proof, and several productionization/rejection decisions are still unresolved.

  7. zackees commented on Jun 27, 2026

    @zackees
    MemberAuthor

    Latest local harness update:

    • Cleaned up misleading CPU evidence labels. Fixed/prototype rows no longer print paired row missing when a paired implementation actually exists; they now print missing via FPU row, missing via fixed row, missing via float row, or missing via wx_lp as appropriate.
    • The footer now explains that missing via ... row means a paired implementation exists, but representative MCU cycle measurement for that pair is still absent.
    • Added test guardrails so every registered strategy row must have populated text/memory evidence fields, concrete memory values instead of kStrategyBytesUnknown, a solve function, and full paired-LSB sample coverage whenever paired_accuracy_index_for() declares a pair.

    Verification passed locally:

    bash test colorimetric_strategy_table --cpp --verbose --no-fingerprint
    bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp
    git diff --check

    This does not close the meta issue; MCU cycle data is still missing and remains explicitly marked missing rather than inferred from host timings.

  8. zackees commented on Jun 27, 2026

    @zackees
    MemberAuthor

    Latest local harness update:

    • Strategy table now registers 27 rows.
    • Added tetrahedral_rgb8_boosted and tetrahedral_rgb8_boosted_fixed so boosted-mode tetrahedral behavior is measured directly instead of inferred from the strict tetrahedral rows.
    • Added a separate policy LSB p50/p95/p99/peak accuracy column. This compares policy-approximation rows against their intended production policy target, e.g. boosted rows against wx_overdrive_float and LP rows against wx_lp_legacy_float.
    • New boosted tetrahedral measurements against wx_overdrive_float: policy LSB 2 / 28 / 44 / 67; fixed-vs-float paired LSB 0 / 1 / 1 / 1; strict-CF delta 21 / 120 / 185 / 253.
    • Memory for both boosted tetrahedral rows is the same as strict tetrahedral: target/prototype/runtime 4096B / 4096B / 4376B.
    • Host timings from the current run: tetrahedral_rgb8_boosted 273.5 ns/px, tetrahedral_rgb8_boosted_fixed 288.2 ns/px (1.05x fixed/float host). MCU cycles remain explicitly missing.
    • Added guardrails that reject registered rows if setup/runtime helper text falls through to unknown.

    Verification passed locally:

    bash test colorimetric_strategy_table --cpp --verbose --no-fingerprint
    bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp
    git diff --check
    bash test rgbw_colorimetric --cpp --verbose --no-fingerprint
    bash test rgbww --cpp --verbose --no-fingerprint

    Note: the RGBW/RGBWW tests were started in parallel, so the RGBWW run printed a build-lock wait stack dump before acquiring the lock; both tests passed.

    This advances boosted-mode coverage, but the full meta issue remains open because representative MCU cycles, sparse/compressed storage, production integration, RGBWW physical-policy validation, and Q16 overflow/hull proof work are still unresolved.

  9. zackees commented on Jun 27, 2026

    @zackees
    MemberAuthor

    Packed u8 tetrahedral row and decision-matrix update

    Verified the packed 8x8x8 tetrahedral RGB LUT rows and updated the harness decision matrix to reflect the measured memory/accuracy tradeoff.

    New/verified rows from bash test colorimetric_strategy_table --cpp --verbose --no-fingerprint:

    Row Target/proto/runtime memory max-channel LSB p50/p95/p99/peak vs strict CF paired LSB p50/p95/p99/peak target dE p50/p95/peak Host ns/px
    tetrahedral_rgb8_u8 2048B / 2048B / 2328B 1 / 18 / 23 / 24 0 / 1 / 1 / 1 3.91 / 15.74 / 30.82 212.1
    tetrahedral_rgb8_u8_fixed 2048B / 2048B / 2328B 1 / 18 / 23 / 24 0 / 1 / 1 / 1 3.91 / 15.74 / 30.82 272.9

    Decision-matrix changes:

    • Balanced RGBW now points at tetrahedral_rgb8_u8: same p95/peak as Q12 tetrahedral (18 / 24) at half the table bytes (2048B vs 4096B).
    • Highest RGBW accuracy stays on tetrahedral_rgb8: Q12 still has a slightly better p99 (22 vs 23) and the same peak (24).
    • Fixed-point-only MCU stays on tetrahedral_rgb8_fixed for now: it has the better p99/host result among fixed tetra rows, while the u8 fixed row is now called out as the half-memory alternative.
    • FPU-enabled MCU stays on tetrahedral_rgb8 pending representative MCU cycles; the u8 row is called out as the flash-constrained alternative.

    Added harness guardrails so the packed row cannot silently drift:

    • tetrahedral_rgb8_u8 target bytes must be exactly half of tetrahedral_rgb8 target bytes.
    • tetrahedral_rgb8_u8_fixed target bytes must match tetrahedral_rgb8_u8.

    Verified:

    bash test colorimetric_strategy_table --cpp --verbose --no-fingerprint
    bash test rgbw_colorimetric --cpp --verbose --no-fingerprint
    bash test rgbww --cpp --verbose --no-fingerprint
    bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp
    git diff --check

    Remaining gaps are still intentionally visible: representative MCU FPU/fixed cycles, production integration, and physical-policy validation where applicable.

  10. zackees commented on Jun 27, 2026

    @zackees
    MemberAuthor

    Boosted packed u8 tetrahedral rows added

    Extended the packed 8x8x8 u8 tetrahedral LUT to the boosted production-policy path as separate policy rows. This keeps strict closed-form accuracy rows and boosted-policy approximation rows separate.

    New rows from bash test colorimetric_strategy_table --cpp --verbose --no-fingerprint:

    Row Target/proto/runtime memory max-channel LSB p50/p95/p99/peak vs strict CF paired LSB p50/p95/p99/peak policy LSB p50/p95/p99/peak vs wx_overdrive_float target dE p50/p95/peak Host ns/px
    tetrahedral_rgb8_boosted_u8 2048B / 2048B / 2328B 21 / 119 / 185 / 253 0 / 0 / 1 / 1 2 / 28 / 44 / 67 11.20 / 37.97 / 66.50 256.5
    tetrahedral_rgb8_boosted_u8_fixed 2048B / 2048B / 2328B 21 / 119 / 185 / 253 0 / 0 / 1 / 1 2 / 28 / 44 / 67 11.20 / 37.97 / 66.50 306.0

    Interpretation:

    • Boosted u8 rows match the Q12 boosted rows on policy LSB (2 / 28 / 44 / 67) while halving table bytes (2048B vs 4096B).
    • Fixed-vs-FPU delta for the packed boosted row is at most 1 LSB in any channel on the current fixture.
    • These are still PROTO rows: representative MCU cycles and production integration are not complete.

    Harness guardrails now cover both strict and boosted packed tetra rows:

    • strict u8 tetra bytes must be exactly half of strict Q12 tetra bytes;
    • boosted u8 tetra bytes must be exactly half of boosted Q12 tetra bytes;
    • each packed fixed row must match its packed float row's target bytes.

    Verified after this change:

    bash test colorimetric_strategy_table --cpp --verbose --no-fingerprint
    bash test rgbw_colorimetric --cpp --verbose --no-fingerprint
    bash test rgbww --cpp --verbose --no-fingerprint
    bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp
    git diff --check

    The harness now reports 31 strategy rows.

  11. zackees commented on Jun 27, 2026

    @zackees
    MemberAuthor

    RGBWW strict fixed evaluator parity fixed

    Fixed an evaluator mismatch in rgbww_strict_5ch_fixed_eval: the Q16 path was clamping combo coefficients to [0, 1] before choosing/normalizing a candidate. The float strict solver allows positive coefficients above 1.0 and normalizes the whole 5-channel candidate afterward. The fixed path now preserves positive over-1.0 Q16 values until normalize5_q, matching the float policy.

    Verified current table result from bash test colorimetric_strategy_table --cpp --verbose --no-fingerprint:

    Row Target/proto/runtime memory max-channel LSB p50/p95/p99/peak vs layered RGBWW ref paired LSB p50/p95/p99/peak vs float strict row target dE p50/p95/peak Host ns/px
    rgbww_strict_5ch_proto 228B / 528B / 960B 9 / 143 / 199 / 210 0 / 0 / 1 / 1 3.71 / 11.99 / 26.11 277.6
    rgbww_strict_5ch_fixed_eval 456B / 664B / 664B 9 / 143 / 199 / 210 0 / 0 / 1 / 1 3.71 / 11.99 / 26.11 511.8

    Impact:

    • rgbww_strict_5ch_fixed_eval now passes the current target dE budget instead of failing dE.
    • Fixed-vs-float RGBWW strict parity is now <= 1 max-channel LSB on the current 381-row fixture.
    • Added harness regression checks requiring both RGBWW strict paired directions to stay at peak paired LSB <= 1.
    • The decision matrix now calls out that the fixed row has <=1 LSB parity, while still leaving physical policy validation and representative MCU cycles as blockers.

    Verified:

    bash test colorimetric_strategy_table --cpp --verbose --no-fingerprint
    bash test rgbw_colorimetric --cpp --verbose --no-fingerprint
    bash test rgbww --cpp --verbose --no-fingerprint
    bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp
    git diff --check
  12. zackees commented on Jun 27, 2026

    @zackees
    MemberAuthor

    Added independent cube17 RGB accuracy sweep

    Added a second accuracy table to the harness: Uniform RGB Cube LSB Sweep. It evaluates every registered strategy on a 17x17x17 RGB grid (4913 samples per row), scored only as max-channel LSB against the same row reference used by the main table:

    • RGBW rows compare against strict closed-form.
    • RGBWW rows compare against the current layered RGBWW reference.
    • The cube sweep intentionally has no fixture target dE column; it is independent of the verifier_known_bad measured fixture.

    Guardrails added:

    • Every registered row must report exactly 4913 cube samples.
    • float_closed_form must have cube peak 0.
    • rgbww_layered_reference must have cube peak 0.

    Selected cube17 results from bash test colorimetric_strategy_table --cpp --verbose --no-fingerprint:

    Row cube17 max-channel LSB p50/p95/p99/peak mean LSB Notes
    tetrahedral_rgb8 1 / 15 / 25 / 32 3.05 Highest-accuracy Q12 tetra candidate; cube peak is higher than verifier peak 24.
    tetrahedral_rgb8_fixed 1 / 15 / 25 / 32 3.05 Fixed Q12 tetra matches float on the cube sweep.
    tetrahedral_rgb8_u8 1 / 15 / 25 / 32 3.12 Half-memory tetra remains equivalent on p95/p99/peak for cube17.
    tetrahedral_rgb8_u8_fixed 1 / 15 / 25 / 32 3.11 Fixed half-memory tetra remains equivalent on p95/p99/peak for cube17.
    poly_piecewise_d3_fixed 11 / 48 / 65 / 98 15.81 Still the small-memory candidate, but cube peak is higher than verifier peak 72.
    rgbww_strict_5ch_proto 30 / 156 / 193 / 232 44.77 Broader RGBWW strict coverage than verifier rows.
    rgbww_strict_5ch_fixed_eval 30 / 156 / 193 / 232 44.77 Fixed RGBWW strict matches float on cube17 too.
    wx_lp_q16_balanced_proto 1 / 149 / 223 / 255 34.79 Confirms this row remains a prototype; missing hull projection is still visible.

    This changes the interpretation of the accuracy table: the verifier fixture is still the measured failure-driven set, but the cube17 sweep now catches broader-grid peaks. In particular, tetrahedral rows remain strongest among non-exact RGBW rows, but their broader cube peak is 32 rather than the fixture peak 24.

    Verified:

    bash test colorimetric_strategy_table --cpp --verbose --no-fingerprint
    bash test rgbw_colorimetric --cpp --verbose --no-fingerprint
    bash test rgbww --cpp --verbose --no-fingerprint
    bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp
    git diff --check
  13. zackees commented on Jun 27, 2026

    @zackees
    MemberAuthor

    Added cube17 policy LSB sweep

    Added a separate Uniform RGB Cube Policy LSB Sweep section to the harness. The existing cube17 table still reports strict-reference deltas for every row; this new section scores only rows with an explicit production policy target, using the same 17x17x17 RGB grid (4913 samples).

    Current policy-cube results from bash test colorimetric_strategy_table --cpp --verbose --no-fingerprint:

    Row Policy target cube17 policy LSB p50/p95/p99/peak mean LSB
    wx_overdrive_q16 wx_overdrive_float 1 / 59 / 112 / 170 10.75
    tetrahedral_rgb8_boosted wx_overdrive_float 2 / 56 / 86 / 143 10.39
    tetrahedral_rgb8_boosted_fixed wx_overdrive_float 2 / 56 / 86 / 143 10.42
    tetrahedral_rgb8_boosted_u8 wx_overdrive_float 2 / 56 / 86 / 143 10.44
    tetrahedral_rgb8_boosted_u8_fixed wx_overdrive_float 2 / 56 / 86 / 143 10.43
    wx_lp_q16_residual_rejected wx_lp_legacy_float 42 / 149 / 223 / 255 54.34
    wx_lp_q16_balanced_proto wx_lp_legacy_float 0 / 59 / 112 / 170 7.24

    Impact:

    • Boosted tetrahedral policy rows now have verifier-policy and cube-policy LSB evidence, rather than relying only on strict closed-form cube deltas.
    • The packed u8 boosted rows match the Q12 boosted rows on the cube policy sweep while staying at half table bytes.
    • The balanced fixed LP prototype is still incomplete, but the broader cube policy sweep now clearly separates it from the rejected residual LP row.
    • Added guardrails requiring every row with policy_accuracy_index_for() to produce exactly 4913 cube-policy samples.

    Verified:

    bash test colorimetric_strategy_table --cpp --verbose --no-fingerprint
    bash test rgbw_colorimetric --cpp --verbose --no-fingerprint
    bash test rgbww --cpp --verbose --no-fingerprint
    bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp
    git diff --check

    The full goal remains open: representative MCU FPU/fixed cycles, production integration, RGBWW physical-policy validation, and Q16 overflow/projection proofs are still not complete.

  14. 22 remaining items

  15. zackees commented on Jun 27, 2026

    @zackees
    MemberAuthor

    RGBWW strict host physical-policy invariant audit added.

    What changed:

    • Added RgbwwPhysicalPolicyStats and === RGBWW Strict Physical Policy Invariant Audit ===.
    • The audit runs the float strict 5-channel route and fixed Q16 route side by side on cube17/native/RGBW.
    • It records policy invariants instead of just route counts:
      • native one-channel routes must emit no warm/cool white
      • native two-channel LS2 routes must emit no warm/cool white
      • strict combo routes must be one of the explicit white-containing triples
      • strict fallback remains visible
      • fixed Q16 route selection is compared against float route selection
      • fixed-vs-float output parity remains max-channel LSB based
    • Updated RGBWW row wording so it no longer says physical policy is simply missing. It now says the host policy invariant audit exists, while LED-bin/hardware validation and MCU cycles are still missing.

    Current measured audit row from the local run:

    Samples | native white violations | two-ch white violations | Combo samples | Combo % | Fallback | Fallback % | Warm-only | Warm-only % | Cool-only | Cool-only % | Warm+cool | Fixed route mismatches | fixed/FPU LSB p50/p95/p99/peak
    4913    | 0                       | 0                       | 4096          | 83.4%   | 0        | 0.0%       | 1348      | 32.9%       | 1360      | 33.2%       | 1388      | 0                      | 0 / 0 / 1 / 1
    

    Verification:

    bash test colorimetric_strategy_table --cpp --verbose --no-fingerprint
    bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp
    git diff --check

    Still not complete: this is host policy validation only. LED-bin/hardware validation, representative MCU FPU/fixed cycles, and production integration/packing are still open.

  16. zackees commented on Jun 27, 2026

    @zackees
    MemberAuthor

    Strategy readiness gate audit added

    Added a readiness gate table to the local colorimetric_strategy_table output so rows cannot look complete just because they have host accuracy and host ns/px numbers.

    Current readiness summary:

    reference 2, rejected 2, not shippable 27, complete 0
    

    New gate behavior:

    • Every strategy row now emits a production gate and readiness status.
    • PROTO rows must say not shippable until representative MCU cycle evidence and production integration exist.
    • REJECTED rows must explicitly say they are rejected.
    • Non-reference, non-rejected rows without representative MCU cycle evidence are forced to not shippable.
    • The table separates host evidence from MCU evidence so host-only rows cannot be mistaken for deployable recommendations.

    Verified locally:

    bash test colorimetric_strategy_table --cpp --verbose --no-fingerprint
    bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp
    git diff --check

    This does not close the issue. Remaining completion gates still include representative MCU fixed/FPU cycles, production packed encoders/integration, selected default/tier implementation outside the harness, Q16 projection/proof work, and LED-bin/hardware validation for RGBWW strict.

  17. zackees commented on Jun 27, 2026

    @zackees
    MemberAuthor

    Issue completion gate audit added

    Added an explicit close/no-close audit section to the local colorimetric_strategy_table output. This mirrors the meta issue completion conditions and makes the remaining blockers visible in the generated table itself.

    New emitted section:

    === Issue Completion Gate Audit ===
    strategy registry                  PASS     31 strategies registered with metadata and runnable rows
    accuracy table coverage            PASS     31/31 rows have LSB and target dE distributions
    memory table coverage              PASS     31/31 rows have target/prototype/RAM/scaling bytes
    host CPU coverage                  PASS     31/31 rows have measured host ns/px
    representative MCU cycles          BLOCKED  0 complete, 0 partial, 29 missing, 2 rejected
    fixed/FPU relative cost            PARTIAL  16/16 fixed-vs-FPU host pairs scored
    production readiness               BLOCKED  0 complete, 27 not shippable, 2 rejected
    Q16 safety evidence                PARTIAL  6/6 observed range audits and 6/6 static bounds
    RGBWW strict policy evidence       PARTIAL  4913 samples, native/two-channel white violations 0/0
    decision matrix                    PARTIAL  six category candidates printed; 0 shippable rows
    

    The harness now asserts that completion-gate statuses are known, non-placeholder text, and that at least one blocked gate remains while the evidence is incomplete. This keeps the issue from looking done just because host memory/accuracy tables are populated.

    Verified locally:

    bash test colorimetric_strategy_table --cpp --verbose --no-fingerprint
    bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp
    git diff --check
  18. zackees commented on Jun 27, 2026

    @zackees
    MemberAuthor

    Strategy hypothesis checklist audit added

    Added a Strategy Hypothesis Checklist Audit section to the local colorimetric_strategy_table output. This maps the named theoretical/prototype strategy checklist directly onto current evidence and close blockers, so the issue-level tables no longer only show row-level readiness.

    Current emitted summary:

    === Strategy Hypothesis Checklist Audit ===
    baseline/reference rows            PASS     6/6 baseline/reference rows measured
    hypothesis #1 hull adaptive        PARTIAL  float/fixed rows measured; memory 6176B target, 12416B prototype
    hypothesis #2 tetrahedral          PARTIAL  strict/boosted i16+u8 rows measured; fixed parity peak 1 LSB
    hypothesis #3 piecewise poly       PARTIAL  double/fixed rows measured; fixed paired peak 3 LSB
    hypothesis #4 hybrid refine        PARTIAL  seeded row measured; paired delta peak 0 LSB, +80B router
    hypothesis #5 cell encoding        PARTIAL  float/fixed rows measured; memory 6144B target, 12288B prototype
    fixed analytical Q16               PARTIAL  range/static audits measured; p95 81 LSB vs strict reference
    bilinear fixed baseline            PASS     rejected row measured; p95 115 LSB with no memory gain
    RGBWW reference and strict         PARTIAL  layered reference measured; strict fixed row paired peak 1 LSB
    

    The issue completion audit now also includes:

    strategy checklist coverage        PARTIAL  2 pass, 7 partial, 0 blocked hypothesis checklist items
    

    This keeps the theoretical strategy list visible in the generated output and ties each item to its remaining close condition. It still does not close #3429: representative MCU cycles, production integration, formal Q16 proof/projection work, and RGBWW hardware/LED-bin validation remain missing.

    Verified locally:

    bash test colorimetric_strategy_table --cpp --verbose --no-fingerprint
    bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp
    git diff --check
  19. zackees commented on Jun 27, 2026

    @zackees
    MemberAuthor

    Structured strategy blocker matrix added

    Added a Structured Strategy Blocker Matrix section to the local colorimetric_strategy_table output. This computes blocker categories separately from the freeform missing-work prose so unfinished rows cannot hide behind wording drift.

    Current emitted summary:

    Structured blocker summary: open rows 29; MCU cycles 29, integration 22, storage 9, accuracy 11, proof/projection 4, constrained fit 2, hardware policy 2, fixed-path decision 1.
    

    The issue completion audit now includes:

    structured blocker matrix          BLOCKED  29 open rows; MCU 29, integration 22, hardware 2
    

    The matrix derives blockers from row state and evidence:

    • rows without representative FPU+fixed target-cycle data get an MCU cycles blocker
    • PROTO rows get a production integration blocker
    • prototype storage larger than target packed storage gets a packed storage blocker
    • failing budget rows get an accuracy budget blocker
    • Q16 analytical/refine/LP rows get proof/projection where applicable
    • piecewise polynomial rows get constrained fit
    • RGBWW strict rows get hardware policy
    • rejected rows must have no open blocker in the matrix

    Verified locally:

    bash test colorimetric_strategy_table --cpp --verbose --no-fingerprint
    bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp
    git diff --check
  20. zackees commented on Jun 27, 2026

    @zackees
    MemberAuthor

    Fixed/FPU paired memory relative cost added

    Expanded the Host Paired CPU/Accuracy Cost Audit so each fixed-vs-FPU pair now reports explicit packed-memory relative cost, not just separate memory cells.

    New paired columns:

    fixed-FPU mem | fixed/FPU mem
    

    These are derived from packed target bytes for the fixed row relative to the anchor/FPU row. The completion gate now verifies both paired output evidence and paired memory evidence:

    fixed/FPU relative cost            PARTIAL  16/16 host-output pairs, 16/16 memory pairs scored
    

    This closes the implicit-memory-gap in the paired fixed/FPU table while keeping MCU cycle ratios marked incomplete. Host timing ratios and memory ratios are now present; representative target FPU/fixed cycle ratios are still missing and remain a blocker.

    Verified locally:

    bash test colorimetric_strategy_table --cpp --verbose --no-fingerprint
    bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp
    git diff --check
  21. zackees commented on Jun 28, 2026

    @zackees
    MemberAuthor

    Progress update: added an explicit reference-surface lock audit to the strategy table.

    Current emitted state:

    • closed-form self-check: PASS, 381 verifier rows and 4913 cube17 rows both have 0 max-channel LSB against themselves.
    • independent reference proof: BLOCKED, because the current rows are scored against the live closed form but the canonical float surface has not been independently proven/approved.
    • FPU deviation policy: PARTIAL, because max-channel LSB is now the metric, but allowed FPU drift per target platform is not frozen.
    • topology promotion freeze: BLOCKED, so the decision matrix candidates are explicitly provisional while the reference target can still move.

    The issue completion gate now includes:

    • reference surface lock: BLOCKED
    • CPU operation topology: PASS for 31/31 modeled rows, separate from missing representative MCU cycle measurements

    This addresses the concern that we should not optimize or promote solver topologies against a moving target surface. The table can still compare current evidence, but it cannot claim final winners until the reference surface and FPU max-channel LSB tolerance policy are locked.

    Verified locally:

    • bash test colorimetric_strategy_table --cpp --verbose --no-fingerprint
    • bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp
    • git diff --check
  22. zackees commented on Jun 28, 2026

    @zackees
    MemberAuthor

    Progress update: added a frozen-fixture drift audit for the closed-form reference.

    The harness now compares the live float_closed_form output against the vendored verifier cf_* columns from tests/misc/golden/verifier_known_bad.* using the same 8-bit max-channel LSB metric as the strategy table.

    Current emitted state:

    frozen verifier fixture            BLOCKED  381 fixture rows, p95/peak 197/245 LSB vs frozen cf_*      resolve fixture/current-surface drift before locking winners
    

    This is important because the previous self-check only proved float_closed_form was exact against itself. The new row proves the current live table surface does not match the frozen verifier closed-form outputs at the table's 8-bit resolution, so the reference target is definitely not locked yet.

    What changed locally:

    • Added evaluate_closed_form_fixture_lock(...) to score live closed-form output against frozen fixture cf_* values.
    • Added a focused test that ensures the fixture drift score is computed over all 381 rows.
    • Added frozen verifier fixture to Reference Surface Lock Audit and kept reference surface lock blocked.
    • Updated the final notes to say this drift row is a frozen-surface check, not independent physical proof.

    Verified locally:

    • bash test colorimetric_strategy_table --cpp --verbose --no-fingerprint
    • bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp
    • git diff --check
  23. zackees commented on Jun 28, 2026

    @zackees
    MemberAuthor

    Follow-up: expanded the frozen-fixture drift audit into a subset breakdown so the reference mismatch is actionable.

    New emitted section:

    === Reference Fixture Drift Detail ===
    all          |     381 |               33/ 197/ 238/ 245 |    58.18 | live closed-form vs vendored verifier cf_*
    ok rows      |     210 |               25/  92/ 115/ 166 |    32.12 | fixture rows whose measured hardware dE was within budget
    fail rows    |     170 |               64/ 221/ 243/ 245 |    90.70 | known-bad physical rows; still part of frozen reference drift
    

    The key point is that drift is not isolated to the known-bad physical rows; even fixture rows marked ok differ from the live table surface at p95/peak 92/166 max-channel LSB. That keeps the reference surface lock gate blocked and gives the next investigation a concrete target: determine whether this is input/output quantization, stale verifier cf_*, profile/source mismatch, or a real closed-form behavior change.

    Verified locally:

    • bash test colorimetric_strategy_table --cpp --verbose --no-fingerprint
    • bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp
    • git diff --check
  24. zackees commented on Jun 28, 2026

    @zackees
    MemberAuthor

    Follow-up: clarified the frozen-fixture drift as a legacy-surface comparison and added top drift rows.

    The table now labels this as live public u8 closed-form vs the legacy verifier cf_* analytical snapshot, not as proof that the current public u8 API should equal those old values. The reference surface lock gate remains blocked until we classify whether this is stale verifier data, an intentional current-surface change, input/output quantization mismatch, or a bug.

    New emitted section:

    === Reference Fixture Top Drift Rows ===
    Rank | Patch                | State | input RGB16          | live RGBW u8    | fixture RGBW u8 | Delta
       1 | violet               | fail  | 32768/0/65535        | 255/0/130/0     | 10/0/255/106    |   245
       2 | h292_s100_v015       | fail  | 8601/0/9830          | 38/0/11/0       | 62/0/255/213    |   244
       3 | h338_s100_v015       | fail  | 9830/0/3686          | 38/0/4/0        | 124/0/0/243     |   243
       4 | h338_s100_v055       | fail  | 36044/0/13517        | 140/0/13/0      | 124/0/0/243     |   243
       5 | h180_s100_v015       | fail  | 0/9830/9830          | 0/38/17/0       | 0/93/255/150    |   238
       6 | magenta_half         | fail  | 32768/0/32768        | 128/0/33/0      | 75/0/224/229    |   229
       7 | h292_s100_v035       | fail  | 20070/0/22937        | 89/0/26/0       | 62/0/255/213    |   229
       8 | h202_s100_v015       | fail  | 0/6144/9830          | 0/38/27/0       | 0/35/255/92     |   228
    

    Also updated the final note to say the cf_* drift row compares the current public u8 solver to a legacy 16-bit analytical snapshot and is a staleness/current-surface check, not independent physical proof.

    Verified locally:

    • bash test colorimetric_strategy_table --cpp --verbose --no-fingerprint
    • bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp
    • git diff --check
  25. zackees commented on Jun 28, 2026

    @zackees
    MemberAuthor

    Progress update: corrected the fixture provenance docs/tooling so cf_* is no longer described as the current closed-form reference.

    Why: the harness now emits a measured drift audit showing the current public u8 solver differs from the vendored verifier cf_* values. The old fixture README/extractor wording said those cf_* values were produced by the current closed-form solver, which would make the reference-lock blocker misleading.

    Updated wording now states:

    • cf_* is a legacy 16-bit analytical_strict_rgbw16 snapshot from the archived verifier sheet.
    • Strategy accuracy is scored against the live named reference in the harness, not against legacy cf_*.
    • The Reference Fixture Drift Detail / top-drift rows are a staleness/current-surface check, not independent physical proof.
    • status=fail is hardware evidence for the archived legacy output, not automatic proof that the current solver is wrong.

    Also updated gen_colorimetric_fixture_header.py so regenerated headers include the same warning, then regenerated verifier_known_bad.hpp.

    Verified locally:

    • python -m py_compile ci/tools/extract_verifier_fixture.py ci/tools/gen_colorimetric_fixture_header.py
    • bash test colorimetric_strategy_table --cpp --verbose --no-fingerprint
    • bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp
    • git diff --check
  26. zackees commented on Jun 28, 2026

    @zackees
    MemberAuthor

    Progress update: added a Reference Fixture Drift Classification section to make the legacy cf_* mismatch more actionable.

    The classifier measures whether the legacy verifier output max channel is much larger than the input max while the live public u8 solver preserves the input value. That is the same stale value-normalized surface signature described in the current closed-form solver comments.

    Current emitted section:

    === Reference Fixture Drift Classification ===
    live value preserved                 |     264/380     |    69.5% | live output max channel stays within 1 LSB of input max
    legacy value expanded                |     128/380     |    33.7% | legacy cf_* output max exceeds input max by more than 32 LSB
    expanded while live preserved        |     124/380     |    32.6% | matches stale value-normalized surface signature
    ok-row legacy expansion              |      31/210     |    14.8% | same signature inside rows whose legacy hardware dE passed
    fail-row legacy expansion            |      97/170     |    57.1% | same signature inside known-bad legacy hardware rows
    top-drift rows matching signature    |       7/8       |    87.5% | top drift rows consistent with stale value-normalized legacy surface
    

    The Reference Surface Lock Audit now includes:

    fixture drift classification       PARTIAL  7/8 top rows and 124/380 nonzero rows match value expansion
    

    This does not lock the reference or prove physical correctness. It narrows the blocker: before choosing optimization winners, we need to decide whether the archived verifier cf_* rows are stale data from the old value-normalized analytical surface, an intentional target change, or something else requiring a solver/reference update.

    Verified locally:

    • bash test colorimetric_strategy_table --cpp --verbose --no-fingerprint
    • bash lint --cpp --no-fingerprint tests/misc/colorimetric_strategy_table.cpp tests/misc/colorimetric_strategy_harness.hpp
    • git diff --check
  27. zackees commented on Jun 28, 2026

    @zackees
    MemberAuthor

    Closing at maintainer direction after pushing draft PR #3435. The current API/example and the preserved strategy harness are in the PR; any remaining research or hardware validation should come back as a fresh, narrower issue if needed. #3435

  28. moved this from Triage to Done in FastLED Trackeron Jun 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions