pub async fn sample_data( file_path: &str, n: usize, fraction: f64, seed: u64, split: f64, output: &str, ) -> Result<String, String>