pub fn write_emotion( path: &Path, block_idx: usize, emotion: &[f32; 21], ) -> Result<(), String>
Write a single block’s emotion vector to emotions.bin. The file is grown to fit the block index if needed.