Repository navigation
Closed
Description
Phase P1 of the color pipeline implementation (see parent issue). Independently mergeable; no code in src/.
Scope
Build the reproducible datasheet characterization dataset and the versioned profile artifact schema in the FastLED/datasheets repo.
- Catalog every relevant integrated RGB/RGBW part: emitter chromaticities/wavelengths, per-channel intensity + test current, forward voltage, code depth, 5-bit/global fields and their per-chip semantics, temperature curves, bins, spectral data where present. Mark every value typical/min/max, inferred, or measured — never manufacture precision the PDF lacks.
- Distinguish driver-only parts (WS2811-class, UCS driver ICs) from fixed-package integrated LEDs — this feeds the chipset default-profile table (C8.5 fallback applies to driver-only).
- Cluster analysis: do profiles group, or do parts need individual defaults? Quantify inter-chipset and bin variance.
- Quantify
TypicalLEDStrip,Typical8mmPixel,UncorrectedColoraccuracy against derived profiles (neutral axis, primaries/secondaries, luminance, ΔE2000 with the A1 normalization), datasheet-derived estimates labeled separately from measurements. - Define the versioned JSON profile artifact schema (A2, C8): canonical string ID (
part/provenance/report), provenance fields (instrument, date, fixture geometry, operating temperature, bin/lot, raw-data pointer), per-channel data, per-chip 5-bit semantics field (B1), electrical power model separate from photometric Y. Identity fields per C8.2: part + package variant + W-CCT variant + provenance/report ID; bin is metadata. Append-only.
Decisions implemented
A2 (artifact home + schema), C8.1–C8.2 (ID scheme, identity granularity), B1 (5-bit semantics captured as data), B10 (reference-temperature scoping), #4032 §1.
Acceptance criteria owned (from parent map)
- Research report: datasheet catalog, driver-only parts, profile clustering.
- Accuracy of
TypicalLEDStrip/Typical8mmPixel/UncorrectedColorquantified.
Dependencies
None. Schema field shapes are co-designed with P2's EmitterProfile type so the generator (P3) is a pure transform.
Deliverables
Checked-in report + JSON artifacts + schema spec in FastLED/datasheets; the golden-fixture subset mirrored into the FastLED repo lands with P3.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
- StatusShow more project fieldsDone
Activity
zackees commentedon Sep 6, 2026
Artifact/schema prerequisite PR: FastLED/datasheets#10
This adds the inventory, cited artifact schema, combined validation boundary, and reproducible intensity-only sensitivity table. Local review is clean for that scope; 17 Python tests and both artifact/sensitivity checks pass. Remote review is pending.
P1 remains open: this PR does not supply the full extracted xy/spectral corpus, uncertainty/bin analysis, clustering, or numerical color-accuracy comparison. Work is continuing on the uninspected WS2816 source and unextracted SK9822 spectral plots. Missing extraction is not being reported as proof that usable source data is absent.
zackees commentedon Sep 6, 2026
Merged artifact prerequisite: FastLED/datasheets#10 (merge 761fe839735be3de2be628144824c5936aa6a65a). Includes recovered primary WS2816B-2121 observations, strict schema/semantic admission, duplicate-key rejection, and checked sensitivity data; 22 focused tests pass and review threads are resolved.
P1 stays open: SK9822 spectral-plot extraction and the required per-primary photometry, uncertainty/bin analysis, clustering, and full numerical accuracy report are not complete. No calibrated runtime profile or P10 measurement closure is claimed.
zackees commentedon Sep 6, 2026
Merged prerequisite progress: FastLED/datasheets#11 adds reproducible SK9822 page-7 relative spectra, wavelength-aware CIE integration, sampled sensitivity ranges and explicit graph/truncated-tail uncertainty limits. Root verified 31 tests; independent local review was clean and remote checks passed. Merge commit: dfb9a6457d8e2cfff6f6392f115ec52d3b204ab0. These estimates remain runtime-inadmissible: no inter-channel Y/flux calibration or manufacturer/bin uncertainty is claimed. P1 remains open for the full numerical characterization and measurement-dependent acceptance criteria.
zackees commentedon Sep 6, 2026
Independent verification of where this phase stands, from a loop pass over #4034.
Delivered
FastLED/datasheets/measured-profiles/carries the schema half in full:SCHEMA.md,schema-v1.jsoncatalog-v1.jsonaddressable-ledparts — 10 fixed-package integrated, 19 driver-onlyP1-CHARACTERIZATION.mdws2812b-…,ws2816b-…profile.jsonThe catalog and the driver-only/integrated split — the first acceptance criterion's first two thirds — are done.
What is blocked, and why it is not an access problem
The second criterion (accuracy of
TypicalLEDStrip/Typical8mmPixel/UncorrectedColorquantified) and clustering are both blocked on the same thing, and I checked it rather than taking the report's word:worldsemi/addressable-led/WS2812B/datasheet.pdfin the repo is a 131-byte Git-LFS pointer (oid sha256:670517e4…, real size 355361). But restoring LFS would not unblock this. The committed transcription shows what page 3 actually publishes:Every channel is marked
"runtime_admissible": falseby the artifact itself.ΔE2000 under the A1 normalization needs each emitter's xy plus a relative radiometric scale. Dominant wavelength does not give xy: a real emitter has ~20–30 nm FWHM, and its chromaticity sits well inside the spectral locus point for the same dominant wavelength — by an amount that dominates the 3 nm range the datasheet quotes. Converting 523.5 nm to a locus xy and calling it the green primary would manufacture precision the PDF lacks, which this issue explicitly forbids.
So the report's "zero admissible derived profiles" is a correct research result about the corpus, not a gap in the work.
The question this raises
The parent map assigns "accuracy quantified" to P1 and "instrument measurement" to P10. That split assumed datasheets would support a datasheet-derived estimate. For this corpus they do not. Three ways forward, and the choice is a maintainer call:
I have not picked one. Option 2 is the only one that produces a number, and it produces a negative result; options 1 and 3 change scope. All three are defensible and none should be chosen by whoever happens to be holding the loop.
Nothing here needs a code change; it needs a decision on what P1 is allowed to conclude.
feat(color): artifact -> EmitterProfile generator and its admission g…
feat(color): freshness checker, its workflow, and the agent policy (#…
feat(color): bound legacy-correction accuracy from datasheet ranges (…
zackees commentedon Sep 18, 2026
Closed by FastLED/datasheets#12 (merged)
The datasheets publish only ranges for dominant wavelength, bandwidth and intensity, not a single spectrum. So the legacy corrections' accuracy is bounded over that range rather than stated as one number (option 2).
What was added
tools/bound_legacy_correction_accuracy.pyscores UncorrectedColor, TypicalLEDStrip and Typical8mmPixel against A1:measured-profiles/LEGACY-ACCURACY-BOUND.mdandlegacy-correction-accuracy-bound-v1.json.Result
Guarding it
A new
testsworkflow in the datasheets repo does four things:--checks that the committed bound and sensitivity artifacts are current;