Skip to content

Meta: color-pipeline review findings burndown (R1–R10, D1) #4156

Closed

Description

@zackees

Color-pipeline review burndown

This is the live burndown for the adversarial review of the profiled color pipeline. The original September 5 analysis and detailed R1–R10/D1 arguments are preserved in the issue history and its comments. The merged cross-phase contracts are normative. #4034 remains the overall program tracker; P10 #4044 owns instrument measurement and final hardware sign-off.

Status on 2026-09-23: P1–P9 and the R1–R10/D1 software review burndown are closed. #4499 and #4515 completed in #4542 and #4533; the shared electrical bound is tested on final encoded frames. R8 remains an explicit equal-dwell scope decision, not a duration-aware implementation. P10 instrument measurement and final program sign-off remain open under #4044/#4034.

Software burndown

  • R2 — physical response inversion: #4497, merged in #4511. Owned, immutable response tables are inverted after linear flux; emitted-light, lifetime, 8-/16-bit, and power tests pass. CI Blink remains free of response symbols and ratcheted down to 383,140 B.
  • R3/R4 — shared power scalar and per-frame electrical bound: #4499, merged in #4542. Large-memory managed frames share a Q16 scalar across legacy RGB and managed RGB/RGBW/RGBWW; focused tests compare modeled demand with final encoded output across dither phases and field choices. Small tiers and showColor() retain the documented legacy boundary. ESP32-S3 unbound Blink has no flash/RAM increase; host and capture-only ESP32-C6 throughput were measured.
  • R7 — target-white override: #4498, merged in #4532. Managed RGB now applies the selected rendering white at bind time, recomputes its neutral cap, rejects unattainable whites, and verifies emitted neutral wire output and rebinds. Managed RGBW/RGBWW coverage completed in Connect profiled RGBW/RGBWW emitters to managed output #4533 and feat(power): bound mixed managed frames with a shared Q16 prepass #4542.
  • R8 — truthful temporal-dither scope: #4500 and timing prerequisite #4517 were closed by the maintainer's cost decision, not by a duration-aware implementation. fix(dither): a channel's dither phase advances on presentation, not attempt (#4347) #4452 handles accepted-frame phase and dropped submissions. #4538, merged in #4539, narrows the live guarantee to equal-dwell accepted presentations and tests unequal dwell as unsupported.

Prerequisites exposed by the review

  • Managed RGBW/RGBWW emitter path: #4515, merged in #4533 with final-frame electrical accounting in #4542. Owned white-emitter profiles now solve and emit physical RGBW/RGBWW drives, with target-white, response, dither, rebind, and legacy fallback tests.
  • Presentation-time observability decision: #4517 was closed without a merged timing API after #4534 was rejected as disproportionate. The narrower supported claim is documented and tested in docs(color): bound temporal-dither accuracy to equal dwell #4539. A future driver-specific duration-aware feature requires a named consumer and separate evidence.

Findings with landed resolution or phase ownership complete

Finding Status and evidence
R1 — FLED reader fallback Done: #4160 rejects recognized-but-invalid FLED rather than exposing its header as RGB; #4320 narrows the deployed-reader compatibility claim.
R2 — brightness ordering The linear-flux order and arithmetic constraint are established (#4319). Response inversion landed in #4511 and closed #4497.
R3 — source versus solved power The source-drive error in #4344 was fixed by #4438; #4542 completes the shared Q16 final-frame bound and closes #4499.
R4 — idle and dither draw Baseline accounting (#4268), dither reserve (#4450), and final encoded-frame accounting (#4542) are complete.
R5 — typed RGB16 media ingress P4/P6 and .fled playback work landed, including #4463; generic and container formats stay distinct.
R6 — profile admission P2/P9 admission path plus #4258 and #4260 reject unusable transforms and invalid chromaticity inputs.
R7 — OKLCh reference white D65 mapping-space behavior measured in #4317; target-white override landed in #4532, and managed RGBW/RGBWW output plus accounting landed in #4533/#4542.
R8 — low-light floor and drops Black-floor contract in #4296; presented-frame phase fix #4452. Unequal dwell is explicitly unsupported by the equal-dwell contract after #4539; #4500/#4517 were closed by scope decision.
R9 — ownership and TINY Owned runtime profiles, multi-channel/rebind evidence (#4316), and P9 layout/link budgets landed; P9 is closed.
R10 — media policy drift Strict playback and format-default policy reconciled in #4272 and P4; #4463 connected .fled source color to managed playback.
D1 — distinct pixel-format types fl::fled::PixelFormat and generic fl::PixelFormat exist with checked mapping and preserved byte order/source semantics under P4.

Program gate outside this findings burndown

  • P10 instrument measurement and profile accuracy: #4044. Legacy byte-identity, tests, bench validation, and reassigned follow-ups have been reported complete. Spectral measurement of a representative WS2812B/SK6812-class strip and a high-bit-depth strip, checked-in reports/profiles in FastLED/datasheets, and measured-accuracy sign-off remain. P10 and Color pipeline: final implementation tracker #4034 stay open until that evidence is reviewed.

Closure rule

This review burndown is complete: #4499 and #4515 merged final evidence, and the R1–R10/D1 rows have no unassigned software contract gap. #4500/#4517 were closed by an explicit equal-dwell scope decision, not a RED→GREEN duration-aware implementation; #4539 supplies that revised contract and regression evidence. Keep #4034 open until P10 #4044 instrument measurement and program sign-off are complete. New findings require focused follow-up issues, not reopening frozen #4032/#4033.

Decisions

Activity

  1. zackees commented on Sep 10, 2026

    @zackees
    MemberAuthor

    Triage against current master — this review has moved on underneath it

    Reviewed against 9de01d3547; master is well past that now (P5/P6/P7 landed). Nothing had been recorded here, so I checked each finding against the tree before anyone acts on a stale one. Verified findings only; the ones I did not check are marked as such rather than guessed at.

    R1 — RESOLVED

    The proposal asked to "fix the independently actionable reader defect first". It is fixed. src/fl/video/pixel_stream.cpp.hpp now says the thing R1 asked for and does it:

    // A file without FLED magic remains a legacy headerless RGB stream.
    // Once magic is recognized, though, every invalidity is a container
    // error: falling back would render its header bytes as LEDs.
    if (!supportedFled) { close(); return false; }

    R7 — substantially resolved

    The concern was that OKLab assumes D65 and feeding profile-white XYZ into it does not put the target neutral axis at zero chroma. The pipeline now adapts to D65 before OKLab, and says so in the type:

    /// Source primaries to XYZ, with adaptation to D65 already folded in.
    SourceMatrixQ16 source;

    So the mapping-space white is D65 and it is documented rather than implied. R7's RGBWW half — distinguishing physical full-drive output from maximum achievable neutral luminance — is live and quantified in #4245 (up to 22.5% of headroom above the neutral cap is discarded).

    R2 — the ordering is implemented; the hazard is latent, not live

    R2's resolution was "type the device-solve output as normalized linear emitter flux; apply brightness/power there". That is what the chain now does — applyFluxScalar runs on solved drives, and FluxScalar is deliberately a single scalar so a per-channel rescale cannot be expressed through the type at all.

    The counterexample needs a nonlinear response, and response_lut is not consumed by the pipeline — no reference in pipeline.cpp.hpp, gamut_map.cpp.hpp or device_solve.cpp.hpp. So the contradiction is not currently reachable; it becomes reachable the moment P8 wires response inversion in, and that stage has to land after the flux scalar.

    R9 — the mGamma and ownership halves are resolved

    Binding a profile clears it alongside the others:

    mCorrection = UncorrectedColor;
    mTemperature = UncorrectedTemperature;
    mGamma.reset();
    mDitherMode = DISABLE_DITHER;

    and the profile is copied into fl::make_shared<ColorProfileStorage>(profile), so "reject temporaries or copy/own them safely" is answered by owning. The TINY-tier half is P9's; its source-level precondition is #4257.

    R6 — split verdict, and one half is now fixed

    Still open: readXy in src/fl/fled/color.cpp.hpp checks array shape and numeric conversion only. No geometry, no conditioning — a zero y or collinear primaries still resolve, exactly as written.

    Fixed in #4258: the cache-builder half. build_rgb_colorimetric_cache folded "no source space declared" and "declared but unusable" into one false, and false means #2705 legacy mode — the caller's RGB is the drive triple. A degenerate custom profile therefore switched interpretation silently rather than failing. The two states are now distinct.

    Still open, verified

    • R3 — FluxScalar::fromRawQ16 accepts "a limiter fraction already in s16.16", but nothing defines how that fraction is determined before emission. The prepass question is untouched.
    • R5 — no Rgb16 anywhere in src/fl/channels/config.h or src/fl/fx/video.h; the route is still CRGB/RGB8 only.
    • D1 — fl::PixelFormat does not exist.

    Not checked

    R4, R8, R10. I did not verify these and am not implying anything about them.

    Suggestion

    R1 is done and R7/R2/R9 are largely overtaken, so the remaining decision addendum is smaller than the original list: R3, R4, R5, R6 (the readXy half), R8, R10 and D1. Worth editing the body or opening a successor rather than leaving ten HIGH/MEDIUM findings of which several no longer describe the code.

  2. zackees commented on Sep 10, 2026

    @zackees
    MemberAuthor

    R6 is now closed on both halves

    Following up my triage above. R6 had a split verdict; both parts are now done.

    The cache-builder half — #4258, merged. build_rgb_colorimetric_cache folded "no source space declared" and "declared but unusable" into one false, and false means #2705 legacy mode: the caller's RGB is the drive triple. A degenerate custom profile therefore switched interpretation silently instead of failing.

    The readXy half — #4260. Shape and numeric conversion were the only checks. Two properties are now required:

    • ordinary numbers — a JSON literal past float range does not fail to parse here; as_float() returns an out-of-range value, and an infinite coordinate is not a chromaticity;
    • positive y — xyY → XYZ divides by it, so at zero the primary is a zero column and the profile is refused later as a singular matrix. Correct, but reported far from the field that caused it.

    The simplex question is still yours to answer

    R6 says:

    Decide explicitly whether imaginary source primaries are supported rather than banning them accidentally.

    I have not decided it, and I made sure the fix cannot decide it by accident: a test asserts that primaries outside the xy simplex still resolve, and adding a simplex rejection fails that test. So the question stays open, deliberately, rather than being foreclosed by a range check.

    One aside worth recording

    Confirming the finite check was live nearly went wrong. FL_WARN printed every over-range float as -21474836.48:

    PROBE {"v":[1e400,0.33]} has=1 v=-21474836.48 nan=0 huge=1
    PROBE {"v":[1e39,0.33]}  has=1 v=-21474836.48 nan=0 huge=1
    

    That is its own float formatter overflowing an int32 (-2147483648/100), not the parsed value. Read literally it says "the number is finite and small", which would have led me to delete the check as dead code. The huge column — a magnitude comparison rather than a printed digit — is what showed the value really is beyond 1e30.

    Not chasing that here, but FL_WARN's float path mis-renders large magnitudes, and anyone debugging numerics through it should know.

  3. zackees commented on Sep 10, 2026

    @zackees
    MemberAuthor

    R4 checked — confirmed, quantified, and fixed in #4268

    Your triage marked R4, R8 and R10 as not checked. This is R4.

    Fixed idle consumption cannot be reduced by multiplying LED flux.

    Correct, and the margin is larger than the finding claimed. calculate_max_brightness_for_power_mW built one total — gMCU_mW, every LED's dark_mW, and the emitter demand — and multiplied all of it by brightness. Two of those three are drawn at any brightness including zero. 300 WS2812s at full white on the default model, baseline 1500 mW:

    budget recommended actually drew over
    20 000 mW 79 21 110 mW +5.6%
    5 000 mW 19 6 402 mW +28%
    2 000 mW 7 3 461 mW +73%
    1 000 mW 3 2 480 mW +148%

    The last row is your other question — "define behavior when the requested budget is below baseline". 1000 mW is under the 1500 mW the strip draws with every emitter off, so no brightness meets it; the old code answered with a lit strip anyway. It now returns 0, which is a visible behaviour change and is stated as such on the PR.

    Two things the fix turned up that were not in R4

    • The closed form overshot even with the baseline removed. Inverting the ratio in scaled space is off by whichever scale32by8 the platform compiled — the FASTLED_SCALE8_FIXED form is i * (s + 1) >> 8, landing ~controllable/256 over, 176 mW of a 5000 mW budget. Pre-existing and independent of R4; the answer is now checked and stepped down until it fits.
    • An all-dark strip over budget divided by zero. Black leaves nothing to scale, and that is the denominator. The mutation removing the guard crashes with SIGFPE.

    getEstimatedPowerInMilliWatts carried the same fold. Two assertions in tests/fl/power_estimation.cpp said the estimate at brightness zero is zero — the defect written down as a test — and now say it is the dark-current baseline.

    R4's second half: confirmed, deliberately not fixed

    a pre-quantization mean-light budget does not guarantee a per-latched-frame current bound

    Also correct. BINARY_DITHER applies pixel = scale8(qadd8(pixel, d), brightness) inside the encoder, after demand is computed from the raw CRGB values, and the offset is shared across the frame. The excess is bounded at one native code per channel per pixel — about 0.8 mW per LED on the default model, ~247 mW on a 300-LED strip, 0.4% of full-white demand.

    R4 asks for that contract to be declared rather than changed, so it is now on the function: the budget holds the multi-frame mean, and a single latched frame can sit that much above it. Coordinating allocation to make it a per-frame bound is a separate change and belongs with P8's dithering rather than here.

    R8 and R10 remain unchecked — I have not looked at either and am not implying anything about them.

  4. zackees commented on Sep 10, 2026

    @zackees
    MemberAuthor

    R8 checked — and the cadence is not the obstacle (#4269)

    Following R4 above. R8 was the second of the three you marked unchecked.

    Your arithmetic is right: an identity linear16 input of 1/65535 is 0.0039 of an 8-bit code, its nearest 8-bit output is zero, and alternating codes 0 and 1 to match it needs one code-1 frame in 257 — about 4.28 s at 60 Hz.

    But the 4.28 s never comes into it. PixelController::dither() is

    return b ? fl::qadd8(b, pc.d[RO(SLOT)]) : 0;

    so a source code of zero is excluded from dithering by construction. Nothing below one source code is reachable at any brightness, any refresh rate, or any cycle length — the mechanism never runs on the value in question. A longer cycle could not fix it.

    That answers the question R8 asks. The black floor is the quantization of the source; the unsupported low-light region is, for an identity mapping, every source value that quantizes to 8-bit zero. And it is a floor rather than a dead zone: one code up, the cycle emits light, and at 1/16 brightness a source code of 1 asking for 0.06 output codes gets code 1 on one frame of eight. Sub-output-code precision is real above the floor.

    Two things not in R8

    Summed over a full dither cycle, so these are time-averaged light rather than single-frame rounding:

    premixed source code emitted exact error
    255 1 11 8 +37.5%
    255 2 19 16 +18.8%
    255 64 — — under +2%
    • The lowest codes render brighter than they ask for. The correction that turns scale8's truncation into round-to-nearest is a constant addition of about half a dither quantum; at the bottom of the range that is a large fraction of the value itself, and being constant it vanishes as a fraction almost immediately.
    • At premixed = 255 the correction has nothing to correct. scale8(i, 255) is exact under FASTLED_SCALE8_FIXED — (i * 256) >> 8 is i — so no fractional precision is lost there and every code the dither adds is gain. DISABLE_DITHER makes that path exact. (premixed is brightness × colour correction, so this is UncorrectedColor at full brightness, not the common default.)

    This is exactly your "letting a quantized reference conceal optical error": against an 8-bit reference all three rows match, and against the light they are asking for they do not.

    Not proposed

    No change to the dither. R8 asks for the contract to be defined, and shifting the low-code rendering of every existing sketch is a decision rather than a cleanup.

    R10 remains unchecked. I have not looked at it.

  5. zackees commented on Sep 10, 2026

    @zackees
    MemberAuthor

    R10 checked — all ten findings now have a verdict (#4272)

    The last of the three you marked unchecked. Two of its three parts have been overtaken; one is real.

    Overtaken — the fallback policy

    R10 read the landed mirror as permitting fallback on unresolvable advisory RGB metadata. FLED_FORMAT.md now says the opposite:

    FastLED playback is strict by default; an application may explicitly select best-effort only for advisory rgb8 color metadata, and that path emits a warning.

    That is #4034's contract verbatim, opt-in included.

    Overtaken — dark output on rejection

    merely skipping show() can leave the preceding LED frame latched

    Video::draw(now, leds) writes CRGB::Black across the whole span when an error is recorded, before returning false. Nothing stays latched.

    Real — and it is a contradiction inside one document

    The format table gives rgb16_linear a default tuple, defaultVideoColor() implements it, and a test pins it. Three screens further down, the forward-compatibility section called the format "meaningless without its declaration". Both cannot be true, and you already said which way to settle it — keep the tuple, rewrite the prose.

    The prose now separates the two states the old wording ran together:

    • Absent is resolvable. The pixel-format value has already pinned linear-light samples; BT.709 at full range is the rest of the historical reading. declared is false, so a consumer can tell inherited from claimed.
    • Unresolvable is a refusal. An unrecognized name on rgb8 may fall back with a diagnostic; the same name on rgb16_linear may not. "Mandatory" is about fallback, not about absence.

    declared == false is the whole distinction, so it is now asserted for rgb16_linear rather than only for rgb8.

    Not landed: R10's ask for identical contract fixtures in ledmapper is that repo's half.


    Where this issue stands

    With R4 (#4268), R8 (#4269) and R10 (#4272), every finding now has a verdict:

    finding state
    R1 resolved (your triage)
    R2 ordering implemented; hazard latent until P8 wires response inversion
    R3 open — nothing defines how the flux fraction is determined before emission
    R4 fixed (#4268)
    R5 open — no Rgb16 route into the managed path
    R6 closed both halves (#4258, #4260); the simplex question deliberately still yours
    R7 substantially resolved; RGBWW half tracked as #4245, now fixed in #4271
    R8 answered (#4269) — the black floor is the source quantization, and the cadence was never the obstacle
    R9 mGamma/ownership resolved; TINY-tier half is P9's
    R10 fixed here, minus the ledmapper fixtures

    Your suggestion above — "Worth editing the body or opening a successor rather than leaving ten HIGH/MEDIUM findings of which several no longer describe the code" — now applies to a much shorter list: R3, R5, D1, and the two questions deliberately left with you (R6's simplex, R10's cross-repo fixtures).

  6. zackees commented on Sep 10, 2026

    @zackees
    MemberAuthor

    The FL_WARN float aside is fixed (#4273)

    From the R6 comment, recorded and deliberately not chased:

    Confirming the finite check was live nearly went wrong. FL_WARN printed every over-range float as -21474836.48 … Read literally it says "the number is finite and small", which would have led me to delete the check as dead code.

    Not chasing that here, but FL_WARN's float path mis-renders large magnitudes, and anyone debugging numerics through it should know.

    Chased. Reproduced first, at precision 2:

    input printed
    21 000 000 21000000.00
    22 000 000 -21474836.48
    1e9 -21474836.48
    +inf / -inf / nan -21474836.48

    The boundary is 2^31 / 10^precision — about 21.5 million by default. That is not an exotic magnitude: a microsecond count, a byte total or a raw s16.16 value passes it routinely. static_cast<int> of an out-of-range float is undefined behaviour and lands on INT_MIN, and -2147483648 / 100 with its remainder is exactly where those digits came from.

    Three parts, in the order they surfaced:

    • non-finite values are named — nan, inf, -inf. A NaN printed as a number is the worst of these, and it is the case that nearly cost you the check;
    • the accumulator is 64-bit, covering the whole band below the scientific threshold;
    • the value is split before it is scaled. With the overflow gone, 1e9 still read 999999979.52 — multiplying by 100 in float loses the low digits, because 1e11 is not a float. Only the fractional residue is scaled now.

    Beyond any integer the value goes out as d.ffe+NN.

    One thing worth passing on, since it is the same shape of mistake the aside was about: my first set of tests stopped at 1e9, which is below 2^31, so the mutation narrowing the accumulator back to int passed. The band between 2^31 and the scientific threshold is where an int is still undefined and an i64 is still exact, and it now has cases — powers of two, so the expected string is not itself an approximation.

  7. 18 remaining items

  8. zackees commented on Sep 10, 2026

    @zackees
    MemberAuthor

    R1 measured (#4320): the code half already landed; the claim that excused it had not

    R1 was the one finding in this review that named a live defect in shipped code, and the issue asked for it first. It is fixed — but not by this review, and the fix is newer than any release, which turns out to be the part still worth writing down.

    The defect was real, and the old code said so itself

    PixelStream::begin() recognized FLED v1 + rgb8 and, on any other format or version, rewound to byte zero and succeeded as a headerless .rgb stream. Its own comment before #4160:

    // Try to detect a FLED v1 container. Anything that fails the header
    // check (wrong magic, wrong version, unsupported pixel_format,
    // truncated) falls back to legacy headerless RGB — zero behavior
    // change for existing files.
    

    So R1's arithmetic holds exactly as stated: a seekable rgb16_linear file played as raw data and the first readPixel() returned the ASCII magic FLE, RGB (70, 76, 69).

    It is fixed, and the evidence R1 asked for is all present

    #4160 separated absent magic from recognized-but-unsupported FLED. No magic still falls back to raw RGB; once FLED matches, every invalidity closes the stream — unsupported format, future version, reserved bytes set, truncated header, malformed envelope, non-seekable input. All six of R1's required fixture classes exist in tests/fl/fx/video.cpp, and — the part I checked rather than assumed — so do the positive controls: raw RGB remains playable and valid RGB8 FLED skips the header. Without those two, a blanket "reject everything" would pass every rejection case in the file. R1's "verify unsupported containers never expose header bytes as LEDs" is a case title.

    So R1 needed no new test. What it needed was the claim retracted, and that was still standing.

    What #4320 changes

    FLED_FORMAT.md justified shipping rgb16_linear without a version bump on the grounds that "readers that predate one already reject unknown pixel formats". FastLED's own reader was the counterexample to its own format doc. The section now names that, and pins the boundary:

    $ git tag --contains b436035901      # the fix
    (empty)
    $ git merge-base --is-ancestor 3.10.5 b436035901 && echo "3.10.5 predates the fix"
    3.10.5 predates the fix
    

    True going forward; false for every release up to and including 3.10.5. Per R1, a format enum cannot repair binaries already in the field, so it is recorded as a producer deployment constraint: ship rgb16_linear to an audience that may be running a released FastLED and the old players show grey noise rather than refusing the file. Gate on the player, not on the container.

    Coverage, complete

    finding state
    R3, R4, R5, R6, R8, R10 covered
    R7 measured — stated failure does not arise; setTargetWhite inert (#4317, merged)
    R9 evidence supplied (#4316); sizeof/bloat half outstanding
    R2 measured — not live; ordering constraint pinned for when it is (#4319)
    R1 the defect was real and is fixed (#4160); the claim excusing it is retracted (#4320)

    Every finding now has either coverage or a verdict. Three of the ten resolved as "validated, stored, and reaching nothing" — R7's setTargetWhite, R2's response LUT, and R1's format gate that no old reader enforced. Each was a promise the code made and did not keep, and none would have been caught by testing the path that does work.

    What remains outstanding is maintainer decisions rather than measurement: R9's sizeof/bloat half, and the two inert setters — whether they get implemented or get their return values told the truth.

  9. zackees commented on Sep 12, 2026

    @zackees
    MemberAuthor

    The status table in this issue predates a large body of merged work and now reads as more open than it is. Correcting the parts I have verified, and marking the rest as indicative rather than claiming it.

    Verified

    R1 — fixed. The reader no longer rewinds after recognising FLED magic. src/fl/video/pixel_stream.cpp.hpp:153:

    // FLED magic was recognized, so malformed/truncated
    // containers must not become headerless raw RGB.
    close();
    return false;

    Every invalid path in that function does the same, and the fixtures this finding asked for exist in tests/fl/fx/video.cpp:

    • PixelStream rejects an unsupported FLED format instead of reading its header as RGB
    • PixelStream FLED recognition only falls back when magic is absent
    • PixelStream rejects FLED magic on a non-seekable input
    • PixelStream rejects partial FLED frames and reserved header bytes
    • PixelStream defers fragmented stream classification without losing raw bytes
    • Video Frame draw fails dark after rejected FLED admission

    That covers valid RGB8, raw RGB, unsupported format, truncated envelope and streamed input — the evidence list as written.

    R3 (#4344), R4 (#4342), R8 (#4347) — measured and pinned, fixes still open. Each was a one-off measurement that nothing guarded; each now has regression tests:

    finding pinned by what remains
    R3 #4392 the two-pass prepass
    R4 #4391 the quantization reserve
    R8 #4348, #4361, #4393 advancing on presentation

    R8's contract sentence asked for "explicit tests for dropped submissions and irregular dwell" — both halves now exist, and they are separate defects: dwell moves the time-weighted mean without dropping anything, so a fix that advanced on presentation would close one and leave the other.

    Worth recording that R4's headline did not reproduce. Under a like-for-like comparison including the estimator's idle term I measure +16%, not +50%; details on that issue.

    Indicative, not verified

    I counted coverage rather than reading each case, so these are pointers rather than claims:

    • R5 — 5 of 24 cases in tests/fl/fx/video.cpp concern typed RGB16 routes.
    • R6 — 4 admission cases in tests/fl/channels/color_profile.cpp, including spectral-boundary primaries and infinity rejection.
    • R7 — 2 white-point cases in tests/fl/gfx/chromatic_adaptation.cpp.
    • R9 — color_profile_tiny_layout.cpp is a compile-only static_assert probe of the zero-state layout promise, and test(ci): check that a linked TINY binary carries no float or solver symbols (#4043) #4390 added the link-time half: an ATtiny85 image with no soft-float helpers and no solver symbols.

    The status table

    "All ten phases remain OPEN" with "no linked implementation found" for P5–P8 is no longer accurate. P2 and P4 are closed, and P5 through P9 have merged implementation and test work — the golden corpus and its reproducibility fix, the streaming core, the gamut mapper and device solve, the wide 16-bit encoder path, and the TINY link-time proof. The phase issues themselves are the better source now.

  10. changed the title [-]fix(color): adversarial design review of the profiled pipeline contracts (#4034)[/-] [+]Meta: color-pipeline review findings burndown (R1–R10, D1)[/+] on Sep 23, 2026
  11. zackees commented on Sep 23, 2026

    @zackees
    MemberAuthor

    Software review burndown complete. #4499 merged in #4542 with the shared Q16 final-frame electrical bound, exact unbound Blink footprint, and host/ESP32-C6 throughput evidence; #4515 wide-emitter path merged in #4533 with final accounting in #4542. The issue body now marks R1–R10/D1 and prerequisites complete, preserving R8 as an explicit equal-dwell scope decision. P10 #4044 and parent #4034 remain open for instrument-measured light/color accuracy and program sign-off; no datasheet estimate is being substituted for that measurement.

  12. moved this from Triage to Done in FastLED Trackeron Sep 23, 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