pub fn write_logs(x: &Probs, y: &Probs, z: &Path)