You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
get_events silently drops unknown event types: the returned dict looks complete #63
silence-defectSilence read as success. Add the case to https://heibench.com/silence.html
Helper.get_events drops flight-event types that orlab's enum does not know,
and tells the caller only through a log line:
src/orlab/core/helper.py:195-203
except (KeyError, UnsupportedFlightDataType):
logger.warning("Skipping unknown flight event type %s", name)
The returned dict then looks complete. A caller iterating it cannot tell
"this simulation had no such event" from "orlab did not recognise the event
and silently dropped it", and the log line is suppressed entirely by an
application that raises its log level.
This is the defect #61 was
filed about, one layer up — and it is arguably worse there, because #61
degraded a whole run's fidelity in a way a user might notice, whereas this
quietly removes rows from a result the caller is about to analyse.
It matters most on exactly the jars #61 concerns: a newer OpenRocket running
on a nearest-older profile is the case where unknown event types are most
likely to appear.
Suggested shape
Return the skipped names alongside the events, or expose them on the Helper,
so a caller can branch. Whatever the shape, "I could not interpret part of
this result" must be readable from the return value, not only from a log.
Related, lower severity
Helper._warn_absent_once (helper.py:26-33) — an absent getter yields math.nan into the summary field, which is branchable, but NaN conflates
"this OpenRocket version has no such getter" with "genuinely not a number".
OpenRocketInstance._warn_on_profile_drift (openrocket_instance.py) —
drift between the profile and the live jar is log-only with no attribute.
Found during independent review of #62. Not folded into that PR:
one logical change per commit, and this needs its own decision about the
return shape.
silence-defectSilence read as success. Add the case to https://heibench.com/silence.html
silence-defectSilence read as success. Add the case to https://heibench.com/silence.html
Activity
feat: expose whether the version profile is exact (#62)
fix(events): say which event types could not be interpreted (#67)
chore(release): 0.10.0 (#68)