Open-source project · 2026 · actively developed
pip install aerorul
Question
How many flights does this engine have left — and how far can that answer be trusted? Airlines plan engine maintenance around the flights an engine has left: too early wastes a serviceable engine, too late risks an in-service failure.
Approach
- NASA’s N-CMAPSS turbofan dataset (DS02): trained on six engines, tested on three held-out engines, five seeds.
- Four rules: an engine is either in training or in evaluation, never both; uncertainty is measured, not assumed; no label leakage (hidden health parameters, health-state flag and flight counter are never inputs); comparisons are fair or not made.
- LightGBM with ten-flight history features; cross-conformal, split-conformal, CQR and quantile-regression intervals compared at 80% and 90%.
Results
- Point prediction: 10.05 ± 0.43 flights RMSE (Ridge: 12.75).
- Intervals: at a 90% target, cross-conformal covers 90.4 % ± 1.5 of test flights with the narrowest intervals; plain quantile regression covers 82.2%. Coverage is marginal, not per engine — one engine is covered only 80.3% of the time, and the project reports that.
- Explanation: SHAP shows the low-pressure turbine outlet temperature (T50) dominates — rising turbine temperature for the same thrust is the classic sign of engine wear.
- Tuning: under 60 evaluations each, TPE found the best CV score, ABC (my abcopt) the weakest, and the untuned defaults generalised best on the test engines.
Code, documentation and reproducible CLI on GitHub.