"""Validate public-synthetic input before claiming an ASR/speaker test passed. The malformed original Selma follow-up is retained as a nonverbal/background negative, not counted as intelligible same-speaker speech. No private audio. """ import json,re,time from pathlib import Path import requests from speaker_v4.common import atomic from speaker_turns import ROBOT_CALL,word_distance,words from .fixtures import ROOT from .live_test import audio def normalized(text):return words(ROBOT_CALL.sub('Robby',text)) def main(): rows=[];negatives={'selma-followup'} for path in sorted(ROOT.glob('*.json')): if path.name=='manifest.json':continue row=json.loads(path.read_text());wave=audio(row['name']) for _ in range(60): try:response=requests.post('http://127.0.0.1:8793/internal/transcribe',data=wave.astype('