Expand description
The public flights predicted before they were compared, each beside its log’s apogee and its error (the errors, decisions ADR-328 §1b and ADR-342).
crate::public_predictions flies five public flights from their records and holds no
measured value. This module is the comparison that module left for later. For each flight it
reads the log’s apogee by the rule merged with the prediction (ApogeeRule, the machine’s
form of crate::public_predictions::Reference::rule) and puts beside it:
- the prediction as first merged (
crate::public_predictions::MERGED), to the digit its page printed; - the prediction HPR Sim flies today, which is the merged one unless a revision says why it
changed (
crate::public_predictions::REVISIONS); - the error of each against the log’s apogee, per cent of the log’s:
100 (predicted − logged) / logged.
The error counted in the report’s means is today’s prediction’s. Where any prediction was revised, the report also gives the means over the merged numbers, so a revision can’t lower an error out of sight.
Two more numbers are shown beside a flight and never counted: Andromeda’s prediction on its catalog curve, and for the Macie XL flights the apogee of the OpenRocket simulation stored in the design file.
Structs§
- Compared
Prediction - One predicted flight beside its log, as the real-flights report keeps it.
- LogApogee
- A log’s apogee as its rule reads it.
- Shown
Only - A number shown beside a flight’s counted prediction and never counted.
Enums§
- Apogee
Rule - How a log’s apogee is read: what
crate::public_predictions::Reference::rulesays in words, as code.
Constants§
Functions§
- check_
listed - Whether the ids of
rowsare the predicted flights’, inMERGED’s order, and each row is the flight the code lists: its title, its log and its rule. - compare
- Reads each predicted flight’s log by its rule and puts it beside the prediction
flowngives and the one first merged.