RESI VOX: two leads - the song's Audio note in PCO says whose mic goes out

User 2026-10-25: 'check the notes if there's 2 people on a song'. 'V3' or a lead's name in the Audio
note picks; without one it stays flagged and nothing switches.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-25 07:57:26 -04:00
co-authored by Claude Opus 5.5
parent 8753451830
commit b6d47b7549
4 changed files with 27 additions and 14 deletions
+6
View File
@@ -948,6 +948,12 @@ class TestResiVox(unittest.TestCase):
self.assertEqual(rd.resi_song(self.plan("Rosaliz lead"))["title"], "Name Above All Names")
self.assertEqual(self.run_eval("Rosaliz lead", 2), ([], "VOX 2 ROSALIZ", 2))
def test_two_leads_the_audio_note_picks(self):
"""User, 2026-10-25: with two people on a song, the Audio note in PCO says whose mic goes out."""
self.assertEqual(self.run_eval("Mike and DJ lead\nRESI", 1, audio="V3"), (["RESI V1 NOT VOX 3"], "VOX 1 MIKE", 3))
self.assertEqual(self.run_eval("Mike and DJ lead\nRESI", 3, audio="Resi: DJ"), ([], "VOX 3 DJ", 3))
self.assertEqual(self.run_eval("Mike and DJ lead\nRESI", 3, audio="V2")[0], ["2 LEADS: MIKE DJ"]) # names neither of them
def test_what_is_not_switched_by_itself(self):
self.assertEqual(self.run_eval("Mike and DJ lead", 1)[0], ["2 LEADS: MIKE DJ"]) # two leads: a person picks
self.assertEqual(self.run_eval("Genesis lead", 4, audio="V2"), ([], "VOX 4 GENESIS", 4)) # the lineup counts, not the note