pub fn compare(
root: &Path,
flown: &PredictionsReport,
committed: &PredictionsReport,
) -> Result<Vec<ComparedPrediction>, RealFlightError>Expand description
Reads each predicted flight’s log by its rule and puts it beside the prediction flown gives
and the one first merged.
committed is the predictions report as committed: each log must be the file whose SHA-256
it holds, the file the rule was merged for.
§Errors
RealFlightError for a log that can’t be read, isn’t the committed predictions’ file or
doesn’t read by its rule, and for a prediction that differs from its merged number without a
revision that says why.