pub fn send_reply_predicted_with_stats( writer: impl Write, predicted: i32, stats: StageReplyStats, ) -> Result<()>