Skip to main content

whole_flight_case

Function whole_flight_case 

Source
pub fn whole_flight_case(
    document: &Value,
    case: &str,
    file: &str,
    sha256: &str,
) -> Option<(Reference, WholeFlightSetup)>
Expand description

The case named case of a whole-flight fixture (flight.py’s), as the oracle’s answers and the inputs it flew: the site and wind, the rail, the declared drag table (or, in an own-drag fixture, where the example’s own drag came from) with the reference area it was flown on, the dry mass, and the parachutes in the order they open. None if the document has no such case, does not name the run that produced it, or is not that shape.

Every input comes from the case’s own record, which is what the oracle flew (Loft lesson L75); none is filled in from hpr’s design, which the harness instead checks against it. file and sha256 are as for descent_case.