TTSAbortConfig¶
class TTSAbortConfig
Mid-stream abort injection for adversarial Vajra streaming-TTS tests.
Fields:
fractionfloat =0.0Fraction of sessions in [0, 1] that abort mid-stream. Zero disables abort injection.
triggerstr ="audio_ms"Abort trigger: audio_ms after receiving value milliseconds of audio, input_fraction after sending value fraction of text deltas, or wall_clock_s value seconds after request start.
valuefloat =1000.0Trigger threshold in milliseconds, input fraction, or seconds according to trigger.
seedint =1234Base seed for deterministic per-session selection using Random(f’{seed}:{session_id}’).