Skip to content

feat(color): digitize SK9822 relative spectra with uncertainty limits - #11

Merged
zackees merged 1 commit into
mainfrom
feat/color-p1-spectra-4035
Sep 6, 2026
Merged

zackees merged 1 commit into
mainfrom
feat/color-p1-spectra-4035

Conversation

@zackees

@zackees zackees commented Sep 6, 2026

Copy link
Copy Markdown
Member

Scope

Coordinated with FastLED/FastLED#4035 and FastLED/FastLED#4034. This is a P1 prerequisite slice, not completion of P1 and not a calibrated runtime profile.

  • Reproducible page-7 vector-curve digitization from the pinned SK9822 Rev. 01 PDF.
  • Piecewise-linear SPD × CIE 1931 CMF integration with wavelength spacing, pinned source hashes, and nine sampled sensitivity perturbations.
  • Explicit graph resolution, clipped baseline, truncated-tail, missing channel-Y, and missing manufacturer/bin uncertainty limitations.
  • Validate extraction and CSV inputs before opening output; reject incomplete RGB extraction and malformed/nonfinite/duplicate data.

Verification

  • 31 Python tests passed under root verification; artifact checker and git diff --check passed.
  • Regenerated CSV byte-compares to the checked artifact; computed values match the documentation.
  • Independent local review clean after extraction/CSV admission fixes.
  • Root-confirmed RED (9 tests, 6 failures and 3 errors) to GREEN for the review fixes. Earlier validation changes did not capture a clean pre-fix RED and are not presented as doing so.

Remaining

Full P1 numerical characterization, usable inter-channel scaling, measured calibration/uncertainty and later hardware gates remain open. No runtime-admissible profile is introduced.

@coderabbitai

coderabbitai Bot commented Sep 6, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 19 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: 336c4839-eee1-4153-9262-5ec064c78718

📥 Commits

Reviewing files that changed from the base of the PR and between 761fe83 and 1d1f450.

⛔ Files ignored due to path filters (1)
  • measured-profiles/spectra/sk9822-rev01-p7-relative-spd.csv is excluded by !**/*.csv
📒 Files selected for processing (4)
  • measured-profiles/P1-CHARACTERIZATION.md
  • measured-profiles/spectra/SK9822-REV01-P7.md
  • tests/test_sk9822_spectrum.py
  • tools/digitize_sk9822_spectrum.py

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@zackees
zackees merged commit dfb9a64 into main Sep 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant