feat(orchestrator): add a Squelch test button to the radio device card
Test Squelch plays the burst of a radio row at the All radio volume times the squelch, like the test buttons of the four tone rows; the threshold row has none (operator 2026-11-17). The radio set e2e asserts the test buttons per knob row and that the burst lights the lamp through the bandpass filter without speech; 004 names the rule. 🎯 Fix: 95 % 💥 Break: 2 % 💸 Tokens: 100 % ⏱️ Velocity: 100 % 🛡️ Security: 100 % 🏆 Score: 93 🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 % Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
53a69daeaf
commit
e9cd1aeda5
4 files changed
+15
-4
No files matched your search
@@ -142,6 +142,8 @@ class TestRadioSet(HubCase):
|
||||
shown = "50" if index == 0 or not signed else str(THRESHOLDS[base.WIDTHS[index - 1][0]])
|
||||
self.assertEqual(face["knobs"][-1][1:], ["0", "100", "10", shown])
|
||||
self.assertEqual(len(face["toneToggles"]), 4)
|
||||
self.assertEqual(face["testButtons"], [*(f"Test {knob[0]}" for knob in face["knobs"][:-1]), None])
|
||||
self.assertEqual(face["squelch"], {"lit": True, "filters": ["bandpass"], "tts": []}, face)
|
||||
self.assertEqual([label["text"] for label in face["labels"]], [*(knob[0] for knob in face["knobs"][:-1]), f"speak while CPU < {shown} %"])
|
||||
for label in face["labels"]:
|
||||
self.assertEqual((label["title"], label["row"]), (label["text"], True), label)
|
||||
|
||||
Reference in new issue
Block a user