"""Synthetic-rating alignment per TTS voice (Table 12). python analysis/06_voice_study/06_synth_alignment.py For each (voice, synthetic rater): per-clip mean synthetic rating against per-clip mean human rating, over the 60 clips of the 30 voice-study prompts. Pearson r, Spearman rho, MAE, and mean signed difference (synthetic − human; positive = synthetic rater above human). Human means come from the analyzed rater set (attention-check exclusions applied): the new voice arms from long_voice_normalized.csv, the af_heart baseline from the main study's long_audio_table_normalized.csv restricted to the same 30 prompts. Synthetic means average the 10 draws per clip; the baseline draws are the main study's runs (data/main_study/synth_long_audio_*), the new voice arms the re-rendered runs in data/voice_study/synth/. """ # Implementation lives in _voice_synth_alignment.py, which other analyses import. import sys from pathlib import Path sys.path.insert(0, str(Path(__file__).resolve().parents[1] / "common")) from _voice_synth_alignment import main # noqa: E402 if __name__ == "__main__": main()