Repository navigation
SlingologyEIS 1.0.0 — the web UI release
The web UI release. This is the merge of the webui branch into main: everything built
since 0.11.0 (September 23), when SlingologyEIS was a command-line toolkit with "a future browser
UI" in its README. It now runs as a local web application — slingology-eis serve, then open
http://127.0.0.1:8420/ — over the same engine the CLI uses. Logs stay in your own folders; the
app references them and never copies or uploads them.
Existing workspaces: the version jump from 0.30.0 marks every stored flight for re-analysis.
On the next Sync the Flights page will say "Found N flights needing re-analysis. Analyze now?".
Say yes once. Between 0.30.0 and 1.0.0 no G3X log's analysis changed; the version also covers
two small behaviour changes that alter no real log's result (the airport hint is read only from
Garmin log_… file names; the EGT-split check runs only on an engine whose OM defines one).
Engine versions 0.12.0 to 0.30.0 were cut on the branch as the work landed; the ledger at the end
of this entry maps each number to the behaviour change it carried, for anyone reading a stored
engine_version. The entries for 0.14.0–0.22.0 below this one were written at the time and are
kept as they were.
Web UI and local server
slingology-eis servestarts a local server on127.0.0.1(default port 8420) that serves
the built web UI fromweb/dist/and a JSON RPC API atPOST /rpc. The UI is a React/Vite
single-page app (web/), built once withnpm run build. Nothing listens on the network and
nothing is sent anywhere.- Navigation: Flights · Trends · Journal · Settings (gear). Each is described below. The
Baselines, Annotations and ECU pages that existed on the branch at various points are gone;
their old routes redirect to where the function now lives. - Offline-first with fixtures: every view renders a sample workspace when no server is
reachable, so the UI can be developed and tested without one. A server error on a page shows
the error and a way back instead of a blank app. - Tested on macOS Chrome, macOS Safari and iPad Safari; no other platforms are checked.
Workspaces (Spec 02)
- Any number of workspaces, one active at a time. A workspace is an app-managed folder
holding derived results only — per-flight analyses, the fleet reference, rules, filters, notes,
the Journal — under~/SlingologyEIS/workspaces/<id>/for a packaged install ordata/workspaces/
in a git checkout, withregistry.jsonbeside them. Create, switch, rename and delete (typed
DELETEconfirmation) from the UI;slingology-eis workspace list|createfrom the CLI. - Log folders are referenced, never copied. A workspace watches one or more folders
(subfolders included). Flights are identified by a content fingerprint, so a renamed or moved
log is re-matched rather than duplicated; a log that disappears is kept as missing and keeps
its place in the reference until it is removed; a missing log that reappears is recovered. - Log admission. Every discovered file is classified before it becomes a flight: ground
session (no airborne phase), short flight (airborne time undermin_flight_duration_min,
default 10, inconfig.json), or corrupt log (an internal gap over 5 minutes). Skipped logs are
recorded inexclusions.jsonwith the reason, listed under Skipped on the Flights page, and
can be included again. Duplicate exports of the same flight collapse to one. The same classifier
runs in the CLI loader, the folder scan and drag-and-drop import, so the three can't disagree. - Unreadable logs are said so, with the reason. A file the loader can't read, or one that
reads but fails analysis, is recorded inunreadable.json(Format not recognised — not a
Garmin engine log this app can read, or Couldn't be analysed …), shown as Unreadable on
Flights, not offered by Sync again, and retried after an engine update or when the file changes.
One such log never stops the others. - Where your data lives is yours to choose. The data root —
registry.json, app settings,
workspaces/— defaults to~/SlingologyEIS(ordata/in a git checkout) and can be moved
from Settings → App orslingology-eis data-location set PATH: the data is copied into an empty
folder and checked, the old copy is kept, and the choice is remembered in a per-user
location.json(SLINGOLOGY_EIS_HOMEoverrides it). A chosen location that is missing — an
unplugged drive — opens on a notice with Try again, never silently on the defaults. - Share a workspace. Settings → App → Export workspace… writes
<name>.eisworkspace(your
settings, decisions and a flight manifest — never analyses) or, with Include logs, a
<name>.zipholding it and the logs. Anonymise logs replaces the aircraft with a pseudonym,
blanks the GPS, nav and radio columns, gives the files neutral names and recomputes every id,
and the dialog lists where your own notes still name the aircraft. Import workspace… takes
the zip or the.eisworkspaceas is, refuses an export from a newer engine, creates a new
workspace, links the zip's own logs, matches the sender's flights (found / missing / extra) and
lands on the Sync prompt; the sender's decisions stay dormant until their log arrives. CLI:
export-workspace,import-workspace. - Flight exclusions from the reference. A flight can be excluded from (and re-included in)
the fleet reference with a reason, from the Flights row or the Flight view header, through one
dialog that previews how many other flights' verdicts would move. CLI:flights [--show-excluded],exclude FILE --reason,include FILE. - Mixed-aircraft notice. A workspace with more than one tail number is told so (one aircraft
per workspace is the recommendation), with aliases for ident typos. - Sync asks before analysing. Sync discovers moved, missing, recovered and new logs and stale
flights, then asks once: "Found N new logs and M flights needing re-analysis. Analyze now?".
Not now leaves the work visible in the table as Needs analysis / Needs re-analysis with an
Analyze N button. Analysis runs with per-flight progress. Three or more dropped files get the
same question; one or two analyse immediately.
Flights
- One row per flight: date, duration, insight count and worst severity, source folder and format
(G3X / Garmin Pilot / AXIS), reference membership (✓ / ✕ with the reason on hover). Status filters, a Skipped (N) panel for logs that
were not admitted (category, reason, date, recording and airborne minutes, Include), and an
onboarding drop zone while the workspace has no folders; after that, Add logs… and Sync. - Log preview (
/logs/<file name>): a read-only page for a skipped log — header, the full
timeline chart, CAS alerts and ENGINE ECU runs by class — with one action, Include this log.
Flight view
- Header with the flight facts row — figures a pilot records rather than judges: fuel burned,
cruise nm/gal, cruise fuel flow, lane check (both lanes ✓ / one lane only / not detected) —
and the flight's reference status. - Timeline chart (Spec 07): channel presets (shipped set in
chart_presets.json, user presets
saved from the chart and managed under Settings), a searchable grouped channel picker with
individual cylinder EGTs, per-channel min/max downsampling that preserves peaks, phase tint
with the phase named in the cursor readout, per-phase time totals, zoom, and an evidence jump
from any insight that outlines the window it came from. Chart state carries across flights
within a session. - Events section between the chart and the topic cards: one chronological table of every
event on the flight — OM-limit exceedances and CAS events (today ENGINE ECU runs on the
ground or in flight) — each with Chart, Add a note and Filter… actions, numbered markers
on the chart (▲ limit, ◆ CAS). Events tolerated by a filter collapse to one line per limit;
a breach is marked beyond your filter; a CAS row expands to its engine context and the
flight's runs by class. - Topic cards follow a roster rule: a card is expanded when it has something to say (a fired
insight, a mirrored OM-limit badge, a Reference changed / Rule changed marker, or a validity
note) and is one line otherwise. Every topic has a?with a one-paragraph, aircraft-neutral
explanation (slingology_eis/help/topics.md; CLIexplain). A disabled topic stays as one line
with Enable. - Rules are edited in context. Triggers show read-only on the topic card; Edit rules… (or
Edit trigger from an insight) opens a side panel that edits all of a topic's triggers and its
enabled flag, previews the effect on every flight in the workspace before Apply, and records
the edit in the Journal. Reset to shipped and Revert restore the exact previous values. The
standalone rule playground page is retired. - Every decision control states its scope before use — This flight only or All flights in
this workspace — in the dialog and on its Apply button. - Notes on any insight, event or ECU run; they survive re-analysis and the insight-id changes
of 0.17.0. - Insights filtered by flight phase (persisted), applying inside multi-event cards too.
Trends — a change page (Spec 12)
- Trends asks is my engine changing, not pick a metric. A change summary ranks metrics by
shift — the recent window (last 10 engine hours, at least 5 flights, at most 15; tunable in
Settings) against the reference, in σ — with an OM or filter-edge crossing outranking everything
and bend as a qualifier. A shift history keeps every past change event; the Trends nav
item shows a count of open ones. - Panels are declared per topic in
docs/specs/topics/register.json: cylinder balance (four
deviation lines, hottest-cylinder strip, usual-hottest chip; coupled cylinders summarise as one
row), thermal, boost/power (takeoff-MAP residual as a new fleet metric), and a planning panel for
fuel. Per-limit panels are generated for every limit that is filtered or has ever fired, and
one per classified CAS alert: an event strip, event frequency as the primary change signal,
peak excess under it, time-above behind a toggle, and the OM line with its margin. Panels are
tiered — qualifying first, trendable next, a collapsed Never exceeded (N) group last — with
per-panel detail strips and a whole-history fit line. - Readiness badges (filtered / building / no recent / no events / rare / insufficient) on
every strip and summary so a metric that cannot yet be trended says so where its name is. - Pin the baseline per metric to the flights visible in the current zoom (or the recent
window), with a confirmation that predicts whether unpinning changes the summary; pinned state
is visible on every strip. Stratified metrics compare within their OAT or density-altitude band.
Limit filters and change monitoring (Spec 09)
- 0.17.0–0.22.0 below describe the mechanism as it shipped: one insight per limit, merged events,
per-limit baseline metrics, filters by magnitude and duration with preview, the change monitor
(Breached / Drifting / Review due / Quiet / Collecting / Stable) against a frozen reference, and
copying filters between same-engine workspaces. Since then: - WARNING limits are filterable again, with a required note (reverses 0.20.0): a consistent
WARNING exceedance can be a sensor or calibration artifact as easily as a real issue, and the
engine can't tell which, so the pilot records which it is.oil_press_minstays unfilterable. - Phase-of-flight exclusion (Phase 8, 0.30.0): a filter can list phases to exclude; an event
lying wholly within them is suppressed (suppressed (phase: …)), stays in the monitor's metrics
so growth still drives Drifting, and is never a breach. Not offered onrpm_takeoff_max,
overboost or CAS targets. Suppression reason order is phase › magnitude › duration, so a filter
with no phases keeps the labels it had. - Filters on CAS events: a filter targets a limit or a classified CAS alert (
ENGINE ECU);
CAS filters are duration-only and monitored by event frequency. - No hidden floors; an advisory instead: drift compares against the reference flights' actual
spread, and a limit exceeded on fewer than 5 of the last 20 flights can still be filtered but the
editor says it isn't advisable. Filter cards read in pilot terms (what was compared with what)
with the statistics behind How was this decided?; reference flights are shaded only while the
filter is drifting; charts show units; a limit no flight has passed says so instead of showing
two empty charts. - RPM limits and overboost (0.22.0): the OM's two RPM rules were encoded wrongly — 5,500 rpm
continuous raised a CAUTION on every takeoff, and a short run above 5,800 rpm went unreported.
Overboost is now the single owner of the 5-minute takeoff-power rule and is reported by
limit_exceedancesas an ordinary event;rpm_continuous_maxis retired;rpm_takeoff_maxis
a plain ceiling. - Engine-running gates on
fuel_press_min,rpm_idle_minandvolts_min(checked only at or
above 1,000 rpm) and an idle-established condition onrpm_idle_min, removing the 0 psi / 0 rpm
/ 0 V "exceedances" a log records before start and after shutdown.
Journal and Settings (Spec 14)
- Journal is a register of the decisions in force in the workspace — limit filters, rule
edits, disabled topics, flight exclusions, pinned references, notes — one entry per decision,
most recently changed first, with kind chips, grouping by date or flight, the decision's current
effect computed live (changes the verdict on N other flights), and Edit / Remove with scope
captions and a preview. Reversing a decision removes its entry; a decision whose basis has moved
(a Breached or Drifting filter, a zero-effect edit) carries a notice until confirmed. Decisions
made before the Journal existed are imported on first read. Stored injournal.json. - Reference-change markers: when an exclusion or a rule edit moves another flight's verdict,
that flight's card says Reference changed / Rule changed, why, and offers Revert. - Settings has three tabs. Engine: the active profile and its full OM limit catalogue with
the phase-aware suppression rules, read-only. Reference & Models: outlier z-threshold with
per-metric overrides, the recent window and OM margin, pinned references, contributing flights
with Rebuild reference, the takeoff-MAP model (R², n, residual SD, Refit), n_min per topic,
stratification bands. App: data location, share a workspace (export / import), chart presets
(rename, reorder, duplicate, delete), tail-number aliases. - A changed setting is a Journal decision. Every results-affecting setting that differs from
shipped (outlier z-threshold, recent window, OM margin, membership, frequency delta, per-metric
overrides, log-channel assignments) is a Journal entry with its current and shipped values and a
live effect; Settings marks it, links to the entry, and offers Reset to shipped for that
setting alone. The separate settings changelog that existed on the branch is gone. - Engine tab → Log channels: every raw channel seen in the workspace, which source logs it,
its observed range, and — for general-purpose analog inputs — the registry channel the pilot
assigns it to (e.g. analog 7 is CO ppm). An assignment is a changed setting, applies
workspace-wide, and marks affected flights for re-analysis. - Inline help (ⓘ, opens on click) on the settings and triggers that aren't self-explanatory,
from one registry. - Every user-facing "baseline" became "reference"; internal identifiers are unchanged.
Analytics topics — admission and register (Spec 10)
- Every topic now has a written case for existing — admission criteria, evidence grade, and a
per-engine status (Admitted / Admitted (provisional) / Unverified / Research / Removed) —
recorded indocs/specs/10-analytics-topic-admission.mdand the test-checked
docs/specs/topics/register.json. Status is per engine profile: topics validated on the 916iS
are Unverified on the 912iS/915iS until data from such an aircraft exists, and the
Flight view says so. - Removed:
oil_coolant_ratio(no sourced mechanism; the oil–coolant balance idea is
candidate C5),egt4_elevationandflight_phase_mix. Moved to Research:climb_thermal_rate
(no conditioner found that makes it discriminating). Retired:cylinder_rank's
hot-cylinder-changed insight (egt_cyl_deviationalways fires first; the rank stays as context).
Folded:egt_spread's baseline insight into the cylinder insight whenever both fire. - Planning numbers leave the topic set: cruise nm/gal, cruise fuel flow and fuel burned are
flight facts in the header, with no insight. - One owner for events:
limit_exceedancesreports every OM-limit and CAS event; a topic that
references a limit (oil peak, coolant peak, overboost, ENGINE ECU) shows a mirrored badge and
names it in its analysis line but never emits a second insight.oil_temp_peakand
coolant_temp_peaklose their threshold triggers accordingly. - Takeoff MAP tolerance comes from the model: 2 × the leave-one-out residual SD, with a
fitted-range guard, replacing a hard-coded 20 hPa that fired on half the flights. - Limit saturation is ours to fix, not the pilot's: acceptance tests require a nominal
synthetic flight to raise zero events on every profile and bound how many real flights any one
limit may fire on, with a per-aircraft allowlist (fuel_press_max,rpm_idle_min,
rpm_takeoff_maxon N117ZS, each with its diagnosed cause) for the ones traced to the aircraft
rather than the encoding. - Stratified baseline comparison:
baseline_deviationcompares a flight against the
leave-one-out baseline of its own weather band (OAT or density altitude) once the band has
enough flights, and the insight text says which (your other warm flights, n=14 vs all your
flights, n=23). Removes the seasonal false positives and makes insights agree with the
stratified Trends view.
Log sources: G3X, Garmin Pilot and Garmin AXIS (Spec 01 §6.5)
- Garmin AXIS exports are read alongside G3X-direct and Garmin Pilot files. The AXIS CSV
(three-row header, camelCase columns, ~0.83 Hz) is mapped onto the same channel registry in
the loader, so nothing downstream changes: the ident istail_number, engine hours come from
the firste1TachTimerow (the same meter the G3X wrote), and the frame is put on a 1-second
grid — numerics interpolated across holes of up to 2 s, text and CAS carried forward, longer
holes left missing, filled rows flagged and their share reported. G3X logs are never resampled. - General-purpose analog inputs are never mapped by assumption. They enter raw as
gp_analog_<n>and appear under a registry name only once the pilot assigns them in Settings
(above).onGroundState,flightTimeande1TachTimeare carried raw and not used by phase
detection or admission, so a reference built from G3X flights stays valid for AXIS flights of
the same aircraft. - The flight fingerprint's second element is now the source identity (G3X
system_id, AXIS
product name); an unrecognised file is rejected naming all three layouts.
ENGINE ECU and CAS events (Spec 01 §8.6, Spec 10 D18/D19)
- Runs are classified by flight phase, not by heuristics. Contiguous ENGINE ECU rows merge
across gaps under 5 s and count as a run from 3 s; shorter ones are sub-threshold blips. Classes:
GROUND_START, LANE_CHECK (in the OM run-up band — 4,000 rpm ± 500 on the 912iS/916iS, 2,500 on
the 915iS — stationary, short), GROUND, IN_FLIGHT (needs rows in an in-flight phase and above
taxi airspeed), GROUND_SHUTDOWN (the engine stops and stays stopped, whatever the phase labels
say). The old RPM-fraction, voltage-decline and IAS heuristics, the POWERUP/SHUTDOWN names and
the "requires investigation" text are gone. - Corrected finding: the "four in-flight ENGINE ECU events" the earlier classifier reported on
N117ZS were ground events — most of them single-row blips at engine start. On the full log set
the result is 0 in-flight runs, 3 ground runs (all below the lane-check band), 325 runs in
all.engine_ecu_inflightis Admitted (provisional) in the register: mechanism sound, positive
case never seen. - ENGINE ECU runs on the ground or in flight are CAS events in the same event list as limit
exceedances, with the reason they are not a lane check; a lane-check summary (both lanes / one
lane / not detected) is a flight fact. The separate ECU page is removed.
Phase detection
- Three fixes for real flights that collapsed into one TAXI or ENGINE_START phase (departure and
arrival elevation mismatch; a takeoff-roll gate that a turbocharged iS spools through within one
1 Hz sample; a barometric warm-up transient dominating the field-elevation estimate; a 10 kt
ground-idle IAS ceiling several aircraft never dip under). 0.15.0, 0.16.0. - Return to the ground after landing at a higher field (0.21.0).
- Ground-session detection uses the phase detector itself (any airborne phase) instead of a
separate RPM/IAS heuristic. notebooks/06_phase_regression.py --save/--comparesnapshots every log's phases, metrics and
exceedances and reports exactly what a change moves; CLAUDE.md requires it before touching
phase, limit or metric heuristics.
Engine profiles
- 912iS is VERIFIED against OM-912 i Series Edition 2 / Rev. 2 (September 2025): all limits
from Chapter 2.1, with the manifold-pressure and EGT-split limits deliberately absent because the
OM defines none for a naturally aspirated engine. 915iS (OM-915 i A/C24 Ed. 0 Rev. 4) and 916iS
(OM-916 i/C24 Ed. 0 Rev. 1) were already verified. - 914iS is removed. Rotax's 914 is a carburetted turbo engine, not an iS engine; there is no
OM for a "914iS" and the placeholder only copied 915iS values. Naming it now fails with that
explanation instead of loading another profile; a workspace created on it can still be deleted. - The EGT-split check runs only where the OM defines one. A profile without an
egt_spread
block (912iS) gets no split check, no split limit in the catalogue and no "OM limit" sentence;
previously every 912iS flight was checked against the 916iS's figures. The 912iSrpm_idle_min
idle-established condition dropped by the OM rewrite is restored (its gate is the 912iS's own
1,400 rpm floor). - Every limit has a stable
id; profiles carryexceedance_merge_gap_s, per-limitmin_rpm,
requires_reached_since_start,stratify_by,filter_policy(filterable, note required,
phases allowed, pilot-facing reason), thecasrun-extraction block,expected_hot_cylinder,
and the lane-check run-up band with its OM citation.
CLI
- New subcommands:
flights [--show-excluded],exclude FILE --reason,include FILE [--reason],workspace list|create NAME [--tail-number],data-location [set PATH],
explain [TOPIC],export-workspace [--include-logs] [--anonymise] [--out DIR],
import-workspace PATH [--name N] [--logs FOLDER] [--yes], andserve [--port].--workspace
accepts a registered workspace name or id as well as a path.reportapplies the workspace's
filters.ecu --jsonreflects the new run classes and skips an unreadable log with a note.
Theexport-bundlestub is gone, replaced by workspace export. - Fixed: shared options given before the subcommand (
--workspace X import …) were
silently overridden by the subcommand's defaults; they now work in either position, and the one
nearer the subcommand wins when both are given.
Notebooks and tests
notebooks/05_limit_events_report.py(per-limit event statistics by weather band, used to
choose the merge gap and stratification) and06_phase_regression.py(above). Notebooks 02/03/04
use the new ECU classes.- Python suite: 670 tests (unit, contract, CLI, characterization) at the last branch commit;
those gated on the private log set skip without it. Web: 169 vitest tests. Frozen fixtures
(tests/characterization/golden/, gitignored;web/src/fixtures/) regenerated for the grown log
set with every regeneration confirmed additive. CLAUDE.mdrecords how a session fetches the privateEIS-Test-Datalogs and the phase
regression rule.
Known at release
npx vitest runreports an unhandledscrollIntoView is not a functionfrom jsdom
(Trends.tsx's panel scroll) and exits non-zero although all 169 tests pass. Tracked in BACKLOG.- The 912iS topic-help text cites an EGT-split limit the 912iS OM doesn't define (one expected
test failure). - AXIS is validated on one log (2026-10-14). Whether AXIS names the ECU alert
ENGINE ECUis
unconfirmed — that log carries none — and engine paths that count rows as seconds rely on the
loader's 1-second grid rather than timestamps. loader.log_summary()would raise on a log that reaches cruise without a fuel-flow channel;
no real log in the set lacks one.
Full history: CHANGELOG.md