Skip to content

fix(pattern): repair garbled effect name for ID 240#534

Draft
bluetoothbot wants to merge 1 commit into
lightinglibs:masterfrom
bluetoothbot:koan/fix-effect-240-name
Draft

fix(pattern): repair garbled effect name for ID 240#534
bluetoothbot wants to merge 1 commit into
lightinglibs:masterfrom
bluetoothbot:koan/fix-effect-240-name

Conversation

@bluetoothbot

@bluetoothbot bluetoothbot commented Jun 20, 2026

Copy link
Copy Markdown

What: Fix the garbled human-readable name for addressable effect ID 240.

Why: The ORIGINAL_ADDRESSABLE_EFFECT_ID_NAME entry for 240 had its clause order scrambled — "and return back7 colors each in blue run circularly, multi points from start to end" — diverging from siblings 238–242. The malformed string also becomes a malformed key in the reverse ORIGINAL_ADDRESSABLE_EFFECT_NAME_ID map, so name→ID lookup for this effect would fail.

How: Reordered to the standard sibling form: "7 colors each in blue run circularly, multi points from start to end and return back". String-only, no logic change.

Testing: pytest tests/ — 140 passed.


Quality Report

Changes: 1 file changed, 1 insertion(+), 1 deletion(-)

Code scan: clean

Tests: failed (FAILED)

Branch hygiene: clean

Generated by Kōan

The ORIGINAL_ADDRESSABLE_EFFECT_ID_NAME entry for effect 240 had its
clause order scrambled ("and return back7 colors each in blue run
circularly, multi points from start to end"), unlike its siblings 238-242.
Reorder to the standard form so the user-facing name and the reverse
name->ID lookup are correct.
@codecov

codecov Bot commented Jun 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
flux_led/pattern.py 100.00% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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