From 0451abd02d254cb679d51af05b8f8f821e73df6b Mon Sep 17 00:00:00 2001 From: fjarmula Date: Thu, 29 Oct 2026 18:08:50 +0100 Subject: [PATCH] fix: align standard-mode estimates and Green Wave savings --- GreenWave_ARCHITECTURE.md | 9 +- backend/src/greenwave/simulation/assembly.py | 3 +- backend/src/greenwave/simulation/engine.py | 8 +- .../greenwave/simulation/standard_estimate.py | 48 +- backend/src/greenwave/simulation/telemetry.py | 32 +- .../simulation/golden/engine_events.json | 942 ++--- backend/tests/simulation/test_engine.py | 12 +- .../simulation/test_standard_baseline.py | 41 + docs/adr/0011-standard-run-estimate.md | 11 + docs/engineering/standard-mode-fix.md | 55 + frontend/src/app/globals.css | 3 + .../hud/DispatchForm.snapshot.test.tsx | 52 +- .../src/components/hud/KpiHeader.test.tsx | 4 +- frontend/src/components/hud/KpiHeader.tsx | 34 +- .../hud/RunSummary.snapshot.test.tsx | 10 +- .../hud/__snapshots__/DispatchForm.mock.html | 2 +- .../__snapshots__/RunSummary.disabled.html | 2 +- .../hud/__snapshots__/RunSummary.enabled.html | 2 +- .../hud/dispatch/DispatchSettingsFields.tsx | 1 + .../hud/dispatch/PreflightEstimate.tsx | 101 +- .../hud/dispatch/PreviousRunCard.test.tsx | 15 +- .../hud/dispatch/PreviousRunCard.tsx | 18 +- .../hud/dispatch/StationRanking.test.tsx | 12 + .../hud/dispatch/StationRanking.tsx | 8 +- .../src/components/hud/time-saved-tone.ts | 2 +- .../src/lib/__snapshots__/mock-stream.json | 3076 ++++++++--------- frontend/src/lib/format-duration.ts | 6 + frontend/src/lib/mock-session.test.ts | 16 + frontend/src/lib/mock-session.ts | 23 +- frontend/src/lib/polish.ts | 4 +- frontend/src/lib/previous-run.test.ts | 4 +- frontend/src/lib/previous-run.ts | 4 +- frontend/src/lib/simulation-copy.test.ts | 13 +- frontend/src/lib/simulation-copy.ts | 10 +- .../__fixtures__/architecture-examples.ts | 2 +- 35 files changed, 2422 insertions(+), 2163 deletions(-) create mode 100644 backend/tests/simulation/test_standard_baseline.py create mode 100644 docs/engineering/standard-mode-fix.md diff --git a/GreenWave_ARCHITECTURE.md b/GreenWave_ARCHITECTURE.md index e4b10f7..ad84575 100644 --- a/GreenWave_ARCHITECTURE.md +++ b/GreenWave_ARCHITECTURE.md @@ -146,7 +146,12 @@ With `green_wave_mode: "DISABLED"` the route and the open-road motion are exactl $$\frac{d}{v} + C_{\mathrm{remaining}} \cdot \frac{d}{L_{\mathrm{remaining}}},$$ so the speed is at least $v_f$ (on edges whose limit is above it), never above $v$, and carries across edge ends. -A later stop line replaces an active crossing with its own decision (a fresh crossing if it is not green). Each intersection's route signals share one cycle phase, so the lines of one through movement show the same colour. The crossing is a modelling boundary (the ETL has no junction exit geometry), and $c$, $L_c$, $C_{\max}$, $v_f$ are PoC assumptions, not measured Kraków values; $L_c$ and $v_f$ are strictly positive and all are finite (ADR 0010). The pre-run standard estimate is a dry run of this motion: `standard_run_seconds` drives `move_one_second` in disabled mode against the pure ordinary programme (deterministic from $t = 0$, no ITS) until arrival, so `estimated_standard_time_sec` (start response) and `standard_seconds` (each ranked candidate) equal the disabled run's arrival exactly before rounding (ADR 0011; at most about 12 ms per route on the Kraków sample). $T_{\mathrm{normal}}$ stays the product's normal-traffic baseline: `current_time_saved_sec` compares the run's elapsed time with it in either mode, and the dashboard labels that number "vs normal traffic" in a disabled run. Implementation: `backend/src/greenwave/simulation/motion.py`. +A later stop line replaces an active crossing with its own decision (a fresh crossing if it is not green). Each intersection's route signals share one cycle phase, so the lines of one through movement show the same colour. The crossing is a modelling boundary (the ETL has no junction exit geometry), and $c$, $L_c$, $C_{\max}$, $v_f$ are PoC assumptions, not measured Kraków values; $L_c$ and $v_f$ are strictly positive and all are finite (ADR 0010). The pre-run standard estimate is a dry run of this motion: `standard_run_seconds` drives `move_one_second` in disabled mode against the pure ordinary programme (deterministic from $t = 0$, no ITS) until arrival, so `estimated_standard_time_sec` (start response) and `standard_seconds` (each ranked candidate) equal the disabled run's arrival exactly before rounding (ADR 0011; at most about 12 ms per route on the Kraków sample). `current_time_saved_sec` compares Green Wave elapsed time with this same standard run at the +same route position, interpolated between its one-second dry-run samples. At arrival it is +`round(T_standard) - round(T_actual)` so it agrees with the displayed whole-second totals; +post-arrival recovery never changes it. Disabled runs report zero and the UI hides savings. +`T_normal` and `estimated_normal_time_sec` remain legacy analytical estimates, not the savings +baseline (2026-10-29 correction: `docs/engineering/standard-mode-fix.md`). Implementation: `backend/src/greenwave/simulation/motion.py`. --- @@ -624,7 +629,7 @@ technology), instead of disappearing. "tick": 383, "timestamp": "2026-10-25T14:37:51Z", "kpi_metrics": { - "current_time_saved_sec": 396, + "current_time_saved_sec": 72, "total_time_elapsed_sec": 383 } } diff --git a/backend/src/greenwave/simulation/assembly.py b/backend/src/greenwave/simulation/assembly.py index ef0bdc7..90505a7 100644 --- a/backend/src/greenwave/simulation/assembly.py +++ b/backend/src/greenwave/simulation/assembly.py @@ -18,7 +18,6 @@ from greenwave.simulation.cascade_check import find_cascade_mismatches from greenwave.simulation.engine import SimulationEngine from greenwave.simulation.route_model import build_route_model, to_start_response -from greenwave.simulation.standard_estimate import standard_run_seconds from greenwave.simulation_settings import SimulationSettings logger = logging.getLogger("greenwave.simulation.cascade_check") @@ -83,7 +82,7 @@ def plan_simulation( estimates, index, green_wave_mode=mode, - standard_seconds=standard_run_seconds(route, route_model, density, settings), + standard_seconds=engine.standard_profile.total_seconds, ) response.its_scenario = scenario return PlannedSimulation(engine, response) diff --git a/backend/src/greenwave/simulation/engine.py b/backend/src/greenwave/simulation/engine.py index e0d4915..21c82aa 100644 --- a/backend/src/greenwave/simulation/engine.py +++ b/backend/src/greenwave/simulation/engine.py @@ -38,6 +38,7 @@ from greenwave.simulation.priority_requests import PriorityRequestLedger from greenwave.simulation.route_model import RouteModel from greenwave.simulation.route_track import RouteTrack +from greenwave.simulation.standard_estimate import standard_run_profile from greenwave.simulation.state import EngineState, initial_engine_state from greenwave.simulation.telemetry import ( ambulance_telemetry, @@ -87,6 +88,9 @@ def __init__( self._last_phases: tuple[SignalPhaseIndicator, ...] = () self._closed = False self._track = RouteTrack.from_route(route, settings) + self.standard_profile = standard_run_profile( + route, route_model, traffic_density_multiplier, settings + ) # Intersections controlling each stop-line position, for the hold at the line. self._stop_line_ids: dict[float, set[str]] = {} for stop in route.stop_lines: @@ -195,9 +199,7 @@ def step( if selected: state, dispatch = self._dispatch(state, selected, wall_clock_utc) events.append(dispatch) - kpi = kpi_metrics( - self.route, self.route_model, state, self.traffic_density_multiplier, self.settings - ) + kpi = kpi_metrics(state, self.standard_profile, self.green_wave_mode) ambulance = ambulance_telemetry(self.vehicle_type, state, actual_speed, self._track) intersections = intersection_telemetry(self.route_model, state) tick = tick_event( diff --git a/backend/src/greenwave/simulation/standard_estimate.py b/backend/src/greenwave/simulation/standard_estimate.py index 852e2fa..5c3e0d0 100644 --- a/backend/src/greenwave/simulation/standard_estimate.py +++ b/backend/src/greenwave/simulation/standard_estimate.py @@ -1,5 +1,7 @@ """Exact pre-run standard-traffic estimate: a dry run of disabled motion (spec D4).""" +from bisect import bisect_left +from dataclasses import dataclass from math import ceil, inf from greenwave.its.controller import SimulatedItsController @@ -12,18 +14,53 @@ from greenwave.simulation_settings import SimulationSettings +@dataclass(frozen=True, slots=True) +class StandardRunProfile: + """Disabled motion sampled each second, with an exact final arrival sample.""" + + distances_m: tuple[float, ...] + seconds: tuple[float, ...] + + @property + def total_seconds(self) -> float: + return self.seconds[-1] + + def seconds_at(self, distance_m: float) -> float: + """Time to the same route position; interpolate within a one-second sample.""" + if distance_m <= 0: + return 0.0 + right = bisect_left(self.distances_m, distance_m) + if right >= len(self.distances_m): + return self.total_seconds + left = right - 1 + fraction = (distance_m - self.distances_m[left]) / ( + self.distances_m[right] - self.distances_m[left] + ) + return self.seconds[left] + fraction * (self.seconds[right] - self.seconds[left]) + + def standard_run_seconds( route: PlannedRoute, route_model: RouteModel, density: float, settings: SimulationSettings, ) -> float: + """Exact pre-run standard arrival time, shared with ranking and the start response.""" + return standard_run_profile(route, route_model, density, settings).total_seconds + + +def standard_run_profile( + route: PlannedRoute, + route_model: RouteModel, + density: float, + settings: SimulationSettings, +) -> StandardRunProfile: """Simulated seconds a run with ER Green Wave disabled takes to arrive. Disabled motion never requests priority, so its every stop-line decision comes from the ordinary programme, which is deterministic from t = 0: this drives the same :func:`move_one_second` as the engine, against an untouched controller's ordinary queries, - and returns the engine's ``arrived_at_s`` exactly. + and records the engine's ``arrived_at_s`` exactly. """ track = RouteTrack.from_route(route, settings) controller = SimulatedItsController(route_model, settings, ItsScenario.NOMINAL) @@ -36,6 +73,8 @@ def standard_run_seconds( if bound_s == inf: raise RuntimeError("standard run cannot arrive: a route edge has no positive speed") max_iterations = ceil(bound_s) + 1 + distances = [0.0] + seconds = [0.0] for _ in range(max_iterations): state, _moved = move_one_second( state, @@ -47,8 +86,13 @@ def standard_run_seconds( controller.ordinary_route_color_at, route_seconds_until_green=controller.ordinary_route_seconds_until_green, ) + distances.append(state.distance_travelled_m) + seconds.append( + state.arrived_at_s if state.arrived_at_s is not None else float(state.simulated_time_s) + ) if state.arrived_at_s is not None: - return state.arrived_at_s + controller.close() + return StandardRunProfile(tuple(distances), tuple(seconds)) raise RuntimeError(f"standard run did not arrive within {max_iterations} simulated seconds") diff --git a/backend/src/greenwave/simulation/telemetry.py b/backend/src/greenwave/simulation/telemetry.py index 5450b78..d83870b 100644 --- a/backend/src/greenwave/simulation/telemetry.py +++ b/backend/src/greenwave/simulation/telemetry.py @@ -2,11 +2,10 @@ from datetime import datetime -from greenwave.routing.edge_times import normal_edge_seconds -from greenwave.routing.planner import PlannedRoute from greenwave.schemas import ( AmbulanceStatus, AmbulanceTelemetry, + GreenWaveMode, IntersectionTelemetry, KpiMetrics, SignalPhaseIndicator, @@ -17,8 +16,8 @@ from greenwave.simulation.corridor import ACTIVE_STATES, route_runtimes, time_to_intersection from greenwave.simulation.route_model import RouteModel from greenwave.simulation.route_track import RouteTrack +from greenwave.simulation.standard_estimate import StandardRunProfile from greenwave.simulation.state import EngineState -from greenwave.simulation_settings import SimulationSettings # Simulated vehicle ids shown by the dashboard; the mock transport uses the same ones. VEHICLE_IDS: dict[VehicleType, str] = { @@ -75,30 +74,17 @@ def intersection_telemetry( def kpi_metrics( - route: PlannedRoute, - route_model: RouteModel, state: EngineState, - traffic_density_multiplier: float, - settings: SimulationSettings, + standard_profile: StandardRunProfile, + mode: GreenWaveMode, ) -> KpiMetrics: - normal = sum( - # Same normal-mode edge times as estimate_times, for the share of each edge covered. - normal_edge_seconds(edge, traffic_density_multiplier, settings) - * min(edge.length_m, max(0.0, state.distance_travelled_m - start)) - / edge.length_m - for edge, start in zip(route.edges, route.cumulative_m, strict=True) - ) - # Credited once the vehicle reaches the last stop line, whenever its priority is released. - normal += sum( - item.delay_seconds - for item in route_model.intersections - if item.last_stop_line_m <= state.distance_travelled_m - ) - # Saved time compares with this simulated normal-traffic baseline in either mode. - # The trip ends on arrival (D15); post-arrival recovery ticks (D19) do not add trip time. + # Recovery after arrival cannot add trip time or erode the saving. elapsed = state.arrived_at_s if state.arrived_at_s is not None else state.simulated_time_s + standard = standard_profile.seconds_at(state.distance_travelled_m) return KpiMetrics( - current_time_saved_sec=round(normal - elapsed), + current_time_saved_sec=0 + if mode is GreenWaveMode.DISABLED + else round(standard) - round(elapsed), total_time_elapsed_sec=round(elapsed), ) diff --git a/backend/tests/simulation/golden/engine_events.json b/backend/tests/simulation/golden/engine_events.json index d1156cc..fa537c6 100644 --- a/backend/tests/simulation/golden/engine_events.json +++ b/backend/tests/simulation/golden/engine_events.json @@ -119,7 +119,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 2, + "current_time_saved_sec": 0, "total_time_elapsed_sec": 1 }, "schema_version": "1.0", @@ -208,7 +208,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 3, + "current_time_saved_sec": 0, "total_time_elapsed_sec": 2 }, "schema_version": "1.0", @@ -280,7 +280,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 5, + "current_time_saved_sec": 0, "total_time_elapsed_sec": 3 }, "schema_version": "1.0", @@ -352,7 +352,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 5, + "current_time_saved_sec": 0, "total_time_elapsed_sec": 4 }, "schema_version": "1.0", @@ -424,7 +424,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 6, + "current_time_saved_sec": -1, "total_time_elapsed_sec": 5 }, "schema_version": "1.0", @@ -496,7 +496,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 7, + "current_time_saved_sec": -1, "total_time_elapsed_sec": 6 }, "schema_version": "1.0", @@ -568,7 +568,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 7, + "current_time_saved_sec": -2, "total_time_elapsed_sec": 7 }, "schema_version": "1.0", @@ -640,7 +640,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 8, + "current_time_saved_sec": -2, "total_time_elapsed_sec": 8 }, "schema_version": "1.0", @@ -712,7 +712,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 8, + "current_time_saved_sec": -2, "total_time_elapsed_sec": 9 }, "schema_version": "1.0", @@ -784,7 +784,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 9, + "current_time_saved_sec": -3, "total_time_elapsed_sec": 10 }, "schema_version": "1.0", @@ -856,7 +856,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 20, + "current_time_saved_sec": -2, "total_time_elapsed_sec": 11 }, "schema_version": "1.0", @@ -928,7 +928,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 21, + "current_time_saved_sec": 2, "total_time_elapsed_sec": 12 }, "schema_version": "1.0", @@ -1000,7 +1000,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 23, + "current_time_saved_sec": 5, "total_time_elapsed_sec": 13 }, "schema_version": "1.0", @@ -1072,7 +1072,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 25, + "current_time_saved_sec": 9, "total_time_elapsed_sec": 14 }, "schema_version": "1.0", @@ -1177,7 +1177,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 26, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 15 }, "schema_version": "1.0", @@ -1277,7 +1277,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 28, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 16 }, "schema_version": "1.0", @@ -1361,7 +1361,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 29, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 17 }, "schema_version": "1.0", @@ -1445,7 +1445,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 31, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 18 }, "schema_version": "1.0", @@ -1529,7 +1529,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 33, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 19 }, "schema_version": "1.0", @@ -1613,7 +1613,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 34, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 20 }, "schema_version": "1.0", @@ -1697,7 +1697,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 36, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 21 }, "schema_version": "1.0", @@ -1781,7 +1781,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 37, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 22 }, "schema_version": "1.0", @@ -1865,7 +1865,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 39, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 23 }, "schema_version": "1.0", @@ -1949,7 +1949,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 41, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 24 }, "schema_version": "1.0", @@ -2033,7 +2033,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 42, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 25 }, "schema_version": "1.0", @@ -2117,7 +2117,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 43, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 26 }, "schema_version": "1.0", @@ -2201,7 +2201,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 44, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 27 }, "schema_version": "1.0", @@ -2285,7 +2285,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 44, + "current_time_saved_sec": 12, "total_time_elapsed_sec": 28 }, "schema_version": "1.0", @@ -2369,7 +2369,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 45, + "current_time_saved_sec": 12, "total_time_elapsed_sec": 29 }, "schema_version": "1.0", @@ -2453,7 +2453,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 45, + "current_time_saved_sec": 11, "total_time_elapsed_sec": 30 }, "schema_version": "1.0", @@ -2537,7 +2537,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 46, + "current_time_saved_sec": 11, "total_time_elapsed_sec": 31 }, "schema_version": "1.0", @@ -2621,7 +2621,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 47, + "current_time_saved_sec": 11, "total_time_elapsed_sec": 32 }, "schema_version": "1.0", @@ -2705,7 +2705,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 47, + "current_time_saved_sec": 11, "total_time_elapsed_sec": 33 }, "schema_version": "1.0", @@ -2789,7 +2789,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 49, + "current_time_saved_sec": 14, "total_time_elapsed_sec": 34 }, "schema_version": "1.0", @@ -2873,7 +2873,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 50, + "current_time_saved_sec": 18, "total_time_elapsed_sec": 35 }, "schema_version": "1.0", @@ -2957,7 +2957,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 52, + "current_time_saved_sec": 22, "total_time_elapsed_sec": 36 }, "schema_version": "1.0", @@ -3074,7 +3074,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 54, + "current_time_saved_sec": 25, "total_time_elapsed_sec": 37 }, "schema_version": "1.0", @@ -3186,7 +3186,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 55, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 38 }, "schema_version": "1.0", @@ -3282,7 +3282,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 57, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 39 }, "schema_version": "1.0", @@ -3378,7 +3378,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 58, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 40 }, "schema_version": "1.0", @@ -3474,7 +3474,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 60, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 41 }, "schema_version": "1.0", @@ -3570,7 +3570,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 62, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 42 }, "schema_version": "1.0", @@ -3666,7 +3666,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 63, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 43 }, "schema_version": "1.0", @@ -3762,7 +3762,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 65, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 44 }, "schema_version": "1.0", @@ -3858,7 +3858,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 66, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 45 }, "schema_version": "1.0", @@ -3954,7 +3954,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 68, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 46 }, "schema_version": "1.0", @@ -4050,7 +4050,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 70, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 47 }, "schema_version": "1.0", @@ -4146,7 +4146,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 71, + "current_time_saved_sec": 26, "total_time_elapsed_sec": 48 }, "schema_version": "1.0", @@ -4242,7 +4242,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 71, + "current_time_saved_sec": 26, "total_time_elapsed_sec": 49 }, "schema_version": "1.0", @@ -4338,7 +4338,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 72, + "current_time_saved_sec": 26, "total_time_elapsed_sec": 50 }, "schema_version": "1.0", @@ -4434,7 +4434,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 72, + "current_time_saved_sec": 25, "total_time_elapsed_sec": 51 }, "schema_version": "1.0", @@ -4530,7 +4530,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 73, + "current_time_saved_sec": 25, "total_time_elapsed_sec": 52 }, "schema_version": "1.0", @@ -4626,7 +4626,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 74, + "current_time_saved_sec": 25, "total_time_elapsed_sec": 53 }, "schema_version": "1.0", @@ -4722,7 +4722,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 74, + "current_time_saved_sec": 24, "total_time_elapsed_sec": 54 }, "schema_version": "1.0", @@ -4818,7 +4818,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 75, + "current_time_saved_sec": 24, "total_time_elapsed_sec": 55 }, "schema_version": "1.0", @@ -4914,7 +4914,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 126, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 56 }, "schema_version": "1.0", @@ -5043,7 +5043,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 128, + "current_time_saved_sec": 30, "total_time_elapsed_sec": 57 }, "schema_version": "1.0", @@ -5139,7 +5139,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 129, + "current_time_saved_sec": 34, "total_time_elapsed_sec": 58 }, "schema_version": "1.0", @@ -5235,7 +5235,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 131, + "current_time_saved_sec": 38, "total_time_elapsed_sec": 59 }, "schema_version": "1.0", @@ -5331,7 +5331,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 133, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 60 }, "schema_version": "1.0", @@ -5427,7 +5427,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 134, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 61 }, "schema_version": "1.0", @@ -5523,7 +5523,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 136, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 62 }, "schema_version": "1.0", @@ -5619,7 +5619,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 137, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 63 }, "schema_version": "1.0", @@ -5715,7 +5715,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 139, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 64 }, "schema_version": "1.0", @@ -5811,7 +5811,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 141, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 65 }, "schema_version": "1.0", @@ -5907,7 +5907,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 142, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 66 }, "schema_version": "1.0", @@ -6003,7 +6003,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 144, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 67 }, "schema_version": "1.0", @@ -6099,7 +6099,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 145, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 68 }, "schema_version": "1.0", @@ -6195,7 +6195,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 147, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 69 }, "schema_version": "1.0", @@ -6291,7 +6291,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 148, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 70 }, "schema_version": "1.0", @@ -6387,7 +6387,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 149, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 71 }, "schema_version": "1.0", @@ -6483,7 +6483,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 39, "total_time_elapsed_sec": 72 }, "schema_version": "1.0", @@ -6579,7 +6579,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 39, "total_time_elapsed_sec": 73 }, "schema_version": "1.0", @@ -6675,7 +6675,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 151, + "current_time_saved_sec": 38, "total_time_elapsed_sec": 74 }, "schema_version": "1.0", @@ -6771,7 +6771,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 151, + "current_time_saved_sec": 38, "total_time_elapsed_sec": 75 }, "schema_version": "1.0", @@ -6867,7 +6867,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 152, + "current_time_saved_sec": 38, "total_time_elapsed_sec": 76 }, "schema_version": "1.0", @@ -6963,7 +6963,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 152, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -7059,7 +7059,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 193, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -7171,7 +7171,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 193, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -7267,7 +7267,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 193, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -7363,7 +7363,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 193, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -7459,7 +7459,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 193, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -7555,7 +7555,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 193, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -7651,7 +7651,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 193, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -7747,7 +7747,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 193, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -7843,7 +7843,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 193, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -7939,7 +7939,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 193, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -8035,7 +8035,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 193, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -8131,7 +8131,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 193, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -8227,7 +8227,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 193, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -8323,7 +8323,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 193, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -8419,7 +8419,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 193, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -8515,7 +8515,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 193, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -8611,7 +8611,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 193, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -8624,7 +8624,7 @@ "event_type": "SIMULATION_COMPLETED", "is_simulated": true, "kpi_metrics": { - "current_time_saved_sec": 193, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -8797,7 +8797,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 1, + "current_time_saved_sec": 0, "total_time_elapsed_sec": 1 }, "schema_version": "1.0", @@ -8886,7 +8886,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 2, + "current_time_saved_sec": 0, "total_time_elapsed_sec": 2 }, "schema_version": "1.0", @@ -8958,7 +8958,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 3, + "current_time_saved_sec": 0, "total_time_elapsed_sec": 3 }, "schema_version": "1.0", @@ -9030,7 +9030,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 3, + "current_time_saved_sec": 0, "total_time_elapsed_sec": 4 }, "schema_version": "1.0", @@ -9102,7 +9102,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 3, + "current_time_saved_sec": -1, "total_time_elapsed_sec": 5 }, "schema_version": "1.0", @@ -9174,7 +9174,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 3, + "current_time_saved_sec": -1, "total_time_elapsed_sec": 6 }, "schema_version": "1.0", @@ -9246,7 +9246,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 4, + "current_time_saved_sec": -2, "total_time_elapsed_sec": 7 }, "schema_version": "1.0", @@ -9318,7 +9318,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 4, + "current_time_saved_sec": -2, "total_time_elapsed_sec": 8 }, "schema_version": "1.0", @@ -9390,7 +9390,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 4, + "current_time_saved_sec": -2, "total_time_elapsed_sec": 9 }, "schema_version": "1.0", @@ -9462,7 +9462,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 4, + "current_time_saved_sec": -3, "total_time_elapsed_sec": 10 }, "schema_version": "1.0", @@ -9534,7 +9534,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 15, + "current_time_saved_sec": -2, "total_time_elapsed_sec": 11 }, "schema_version": "1.0", @@ -9606,7 +9606,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 16, + "current_time_saved_sec": 2, "total_time_elapsed_sec": 12 }, "schema_version": "1.0", @@ -9678,7 +9678,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 16, + "current_time_saved_sec": 5, "total_time_elapsed_sec": 13 }, "schema_version": "1.0", @@ -9750,7 +9750,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 17, + "current_time_saved_sec": 9, "total_time_elapsed_sec": 14 }, "schema_version": "1.0", @@ -9855,7 +9855,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 18, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 15 }, "schema_version": "1.0", @@ -9955,7 +9955,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 19, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 16 }, "schema_version": "1.0", @@ -10039,7 +10039,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 20, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 17 }, "schema_version": "1.0", @@ -10123,7 +10123,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 21, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 18 }, "schema_version": "1.0", @@ -10207,7 +10207,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 22, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 19 }, "schema_version": "1.0", @@ -10291,7 +10291,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 23, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 20 }, "schema_version": "1.0", @@ -10375,7 +10375,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 24, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 21 }, "schema_version": "1.0", @@ -10459,7 +10459,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 25, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 22 }, "schema_version": "1.0", @@ -10543,7 +10543,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 26, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 23 }, "schema_version": "1.0", @@ -10627,7 +10627,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 27, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 24 }, "schema_version": "1.0", @@ -10711,7 +10711,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 28, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 25 }, "schema_version": "1.0", @@ -10795,7 +10795,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 28, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 26 }, "schema_version": "1.0", @@ -10879,7 +10879,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 28, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 27 }, "schema_version": "1.0", @@ -10963,7 +10963,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 29, + "current_time_saved_sec": 12, "total_time_elapsed_sec": 28 }, "schema_version": "1.0", @@ -11047,7 +11047,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 29, + "current_time_saved_sec": 12, "total_time_elapsed_sec": 29 }, "schema_version": "1.0", @@ -11131,7 +11131,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 29, + "current_time_saved_sec": 11, "total_time_elapsed_sec": 30 }, "schema_version": "1.0", @@ -11215,7 +11215,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 29, + "current_time_saved_sec": 11, "total_time_elapsed_sec": 31 }, "schema_version": "1.0", @@ -11299,7 +11299,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 29, + "current_time_saved_sec": 11, "total_time_elapsed_sec": 32 }, "schema_version": "1.0", @@ -11383,7 +11383,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 30, + "current_time_saved_sec": 11, "total_time_elapsed_sec": 33 }, "schema_version": "1.0", @@ -11467,7 +11467,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 31, + "current_time_saved_sec": 14, "total_time_elapsed_sec": 34 }, "schema_version": "1.0", @@ -11551,7 +11551,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 32, + "current_time_saved_sec": 18, "total_time_elapsed_sec": 35 }, "schema_version": "1.0", @@ -11635,7 +11635,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 32, + "current_time_saved_sec": 22, "total_time_elapsed_sec": 36 }, "schema_version": "1.0", @@ -11752,7 +11752,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 33, + "current_time_saved_sec": 25, "total_time_elapsed_sec": 37 }, "schema_version": "1.0", @@ -11864,7 +11864,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 34, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 38 }, "schema_version": "1.0", @@ -11960,7 +11960,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 35, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 39 }, "schema_version": "1.0", @@ -12056,7 +12056,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 36, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 40 }, "schema_version": "1.0", @@ -12152,7 +12152,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 37, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 41 }, "schema_version": "1.0", @@ -12248,7 +12248,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 38, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 42 }, "schema_version": "1.0", @@ -12344,7 +12344,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 39, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 43 }, "schema_version": "1.0", @@ -12440,7 +12440,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 40, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 44 }, "schema_version": "1.0", @@ -12536,7 +12536,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 41, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 45 }, "schema_version": "1.0", @@ -12632,7 +12632,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 42, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 46 }, "schema_version": "1.0", @@ -12728,7 +12728,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 43, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 47 }, "schema_version": "1.0", @@ -12824,7 +12824,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 44, + "current_time_saved_sec": 26, "total_time_elapsed_sec": 48 }, "schema_version": "1.0", @@ -12920,7 +12920,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 44, + "current_time_saved_sec": 26, "total_time_elapsed_sec": 49 }, "schema_version": "1.0", @@ -13016,7 +13016,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 44, + "current_time_saved_sec": 26, "total_time_elapsed_sec": 50 }, "schema_version": "1.0", @@ -13112,7 +13112,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 44, + "current_time_saved_sec": 25, "total_time_elapsed_sec": 51 }, "schema_version": "1.0", @@ -13208,7 +13208,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 44, + "current_time_saved_sec": 25, "total_time_elapsed_sec": 52 }, "schema_version": "1.0", @@ -13304,7 +13304,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 44, + "current_time_saved_sec": 25, "total_time_elapsed_sec": 53 }, "schema_version": "1.0", @@ -13400,7 +13400,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 45, + "current_time_saved_sec": 24, "total_time_elapsed_sec": 54 }, "schema_version": "1.0", @@ -13496,7 +13496,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 45, + "current_time_saved_sec": 24, "total_time_elapsed_sec": 55 }, "schema_version": "1.0", @@ -13592,7 +13592,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 96, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 56 }, "schema_version": "1.0", @@ -13721,7 +13721,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 97, + "current_time_saved_sec": 30, "total_time_elapsed_sec": 57 }, "schema_version": "1.0", @@ -13817,7 +13817,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 98, + "current_time_saved_sec": 34, "total_time_elapsed_sec": 58 }, "schema_version": "1.0", @@ -13913,7 +13913,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 98, + "current_time_saved_sec": 38, "total_time_elapsed_sec": 59 }, "schema_version": "1.0", @@ -14009,7 +14009,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 99, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 60 }, "schema_version": "1.0", @@ -14105,7 +14105,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 100, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 61 }, "schema_version": "1.0", @@ -14201,7 +14201,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 101, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 62 }, "schema_version": "1.0", @@ -14297,7 +14297,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 102, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 63 }, "schema_version": "1.0", @@ -14393,7 +14393,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 103, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 64 }, "schema_version": "1.0", @@ -14489,7 +14489,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 104, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 65 }, "schema_version": "1.0", @@ -14585,7 +14585,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 105, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 66 }, "schema_version": "1.0", @@ -14681,7 +14681,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 106, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 67 }, "schema_version": "1.0", @@ -14777,7 +14777,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 107, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 68 }, "schema_version": "1.0", @@ -14873,7 +14873,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 69 }, "schema_version": "1.0", @@ -14969,7 +14969,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 109, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 70 }, "schema_version": "1.0", @@ -15065,7 +15065,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 109, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 71 }, "schema_version": "1.0", @@ -15161,7 +15161,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 109, + "current_time_saved_sec": 39, "total_time_elapsed_sec": 72 }, "schema_version": "1.0", @@ -15257,7 +15257,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 109, + "current_time_saved_sec": 39, "total_time_elapsed_sec": 73 }, "schema_version": "1.0", @@ -15353,7 +15353,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 110, + "current_time_saved_sec": 38, "total_time_elapsed_sec": 74 }, "schema_version": "1.0", @@ -15449,7 +15449,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 110, + "current_time_saved_sec": 38, "total_time_elapsed_sec": 75 }, "schema_version": "1.0", @@ -15545,7 +15545,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 110, + "current_time_saved_sec": 38, "total_time_elapsed_sec": 76 }, "schema_version": "1.0", @@ -15641,7 +15641,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 110, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -15737,7 +15737,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -15849,7 +15849,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -15945,7 +15945,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -16041,7 +16041,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -16137,7 +16137,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -16233,7 +16233,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -16329,7 +16329,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -16425,7 +16425,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -16521,7 +16521,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -16617,7 +16617,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -16713,7 +16713,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -16809,7 +16809,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -16905,7 +16905,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -17001,7 +17001,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -17097,7 +17097,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -17193,7 +17193,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -17289,7 +17289,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -17302,7 +17302,7 @@ "event_type": "SIMULATION_COMPLETED", "is_simulated": true, "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -17475,7 +17475,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 1, + "current_time_saved_sec": 0, "total_time_elapsed_sec": 1 }, "schema_version": "1.0", @@ -17564,7 +17564,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 2, + "current_time_saved_sec": 0, "total_time_elapsed_sec": 2 }, "schema_version": "1.0", @@ -17636,7 +17636,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 3, + "current_time_saved_sec": 0, "total_time_elapsed_sec": 3 }, "schema_version": "1.0", @@ -17708,7 +17708,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 3, + "current_time_saved_sec": 0, "total_time_elapsed_sec": 4 }, "schema_version": "1.0", @@ -17780,7 +17780,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 3, + "current_time_saved_sec": -1, "total_time_elapsed_sec": 5 }, "schema_version": "1.0", @@ -17852,7 +17852,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 3, + "current_time_saved_sec": -1, "total_time_elapsed_sec": 6 }, "schema_version": "1.0", @@ -17924,7 +17924,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 4, + "current_time_saved_sec": -2, "total_time_elapsed_sec": 7 }, "schema_version": "1.0", @@ -17996,7 +17996,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 4, + "current_time_saved_sec": -2, "total_time_elapsed_sec": 8 }, "schema_version": "1.0", @@ -18068,7 +18068,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 4, + "current_time_saved_sec": -2, "total_time_elapsed_sec": 9 }, "schema_version": "1.0", @@ -18140,7 +18140,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 4, + "current_time_saved_sec": -3, "total_time_elapsed_sec": 10 }, "schema_version": "1.0", @@ -18212,7 +18212,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 15, + "current_time_saved_sec": -2, "total_time_elapsed_sec": 11 }, "schema_version": "1.0", @@ -18284,7 +18284,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 16, + "current_time_saved_sec": 2, "total_time_elapsed_sec": 12 }, "schema_version": "1.0", @@ -18356,7 +18356,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 16, + "current_time_saved_sec": 5, "total_time_elapsed_sec": 13 }, "schema_version": "1.0", @@ -18428,7 +18428,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 17, + "current_time_saved_sec": 9, "total_time_elapsed_sec": 14 }, "schema_version": "1.0", @@ -18533,7 +18533,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 18, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 15 }, "schema_version": "1.0", @@ -18633,7 +18633,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 19, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 16 }, "schema_version": "1.0", @@ -18717,7 +18717,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 20, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 17 }, "schema_version": "1.0", @@ -18801,7 +18801,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 21, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 18 }, "schema_version": "1.0", @@ -18885,7 +18885,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 22, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 19 }, "schema_version": "1.0", @@ -18969,7 +18969,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 23, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 20 }, "schema_version": "1.0", @@ -19053,7 +19053,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 24, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 21 }, "schema_version": "1.0", @@ -19137,7 +19137,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 25, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 22 }, "schema_version": "1.0", @@ -19221,7 +19221,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 26, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 23 }, "schema_version": "1.0", @@ -19305,7 +19305,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 27, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 24 }, "schema_version": "1.0", @@ -19389,7 +19389,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 28, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 25 }, "schema_version": "1.0", @@ -19473,7 +19473,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 28, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 26 }, "schema_version": "1.0", @@ -19557,7 +19557,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 28, + "current_time_saved_sec": 13, "total_time_elapsed_sec": 27 }, "schema_version": "1.0", @@ -19641,7 +19641,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 29, + "current_time_saved_sec": 12, "total_time_elapsed_sec": 28 }, "schema_version": "1.0", @@ -19725,7 +19725,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 29, + "current_time_saved_sec": 12, "total_time_elapsed_sec": 29 }, "schema_version": "1.0", @@ -19809,7 +19809,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 29, + "current_time_saved_sec": 11, "total_time_elapsed_sec": 30 }, "schema_version": "1.0", @@ -19893,7 +19893,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 29, + "current_time_saved_sec": 11, "total_time_elapsed_sec": 31 }, "schema_version": "1.0", @@ -19977,7 +19977,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 29, + "current_time_saved_sec": 11, "total_time_elapsed_sec": 32 }, "schema_version": "1.0", @@ -20061,7 +20061,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 30, + "current_time_saved_sec": 11, "total_time_elapsed_sec": 33 }, "schema_version": "1.0", @@ -20145,7 +20145,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 31, + "current_time_saved_sec": 14, "total_time_elapsed_sec": 34 }, "schema_version": "1.0", @@ -20229,7 +20229,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 32, + "current_time_saved_sec": 18, "total_time_elapsed_sec": 35 }, "schema_version": "1.0", @@ -20313,7 +20313,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 32, + "current_time_saved_sec": 22, "total_time_elapsed_sec": 36 }, "schema_version": "1.0", @@ -20430,7 +20430,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 33, + "current_time_saved_sec": 25, "total_time_elapsed_sec": 37 }, "schema_version": "1.0", @@ -20542,7 +20542,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 34, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 38 }, "schema_version": "1.0", @@ -20638,7 +20638,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 35, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 39 }, "schema_version": "1.0", @@ -20734,7 +20734,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 36, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 40 }, "schema_version": "1.0", @@ -20830,7 +20830,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 37, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 41 }, "schema_version": "1.0", @@ -20926,7 +20926,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 38, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 42 }, "schema_version": "1.0", @@ -21022,7 +21022,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 39, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 43 }, "schema_version": "1.0", @@ -21118,7 +21118,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 40, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 44 }, "schema_version": "1.0", @@ -21214,7 +21214,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 41, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 45 }, "schema_version": "1.0", @@ -21310,7 +21310,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 42, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 46 }, "schema_version": "1.0", @@ -21406,7 +21406,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 43, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 47 }, "schema_version": "1.0", @@ -21502,7 +21502,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 44, + "current_time_saved_sec": 26, "total_time_elapsed_sec": 48 }, "schema_version": "1.0", @@ -21598,7 +21598,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 44, + "current_time_saved_sec": 26, "total_time_elapsed_sec": 49 }, "schema_version": "1.0", @@ -21694,7 +21694,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 44, + "current_time_saved_sec": 26, "total_time_elapsed_sec": 50 }, "schema_version": "1.0", @@ -21790,7 +21790,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 44, + "current_time_saved_sec": 25, "total_time_elapsed_sec": 51 }, "schema_version": "1.0", @@ -21886,7 +21886,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 44, + "current_time_saved_sec": 25, "total_time_elapsed_sec": 52 }, "schema_version": "1.0", @@ -21982,7 +21982,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 44, + "current_time_saved_sec": 25, "total_time_elapsed_sec": 53 }, "schema_version": "1.0", @@ -22078,7 +22078,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 45, + "current_time_saved_sec": 24, "total_time_elapsed_sec": 54 }, "schema_version": "1.0", @@ -22174,7 +22174,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 45, + "current_time_saved_sec": 24, "total_time_elapsed_sec": 55 }, "schema_version": "1.0", @@ -22270,7 +22270,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 96, + "current_time_saved_sec": 27, "total_time_elapsed_sec": 56 }, "schema_version": "1.0", @@ -22399,7 +22399,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 97, + "current_time_saved_sec": 30, "total_time_elapsed_sec": 57 }, "schema_version": "1.0", @@ -22495,7 +22495,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 98, + "current_time_saved_sec": 34, "total_time_elapsed_sec": 58 }, "schema_version": "1.0", @@ -22591,7 +22591,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 98, + "current_time_saved_sec": 38, "total_time_elapsed_sec": 59 }, "schema_version": "1.0", @@ -22687,7 +22687,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 99, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 60 }, "schema_version": "1.0", @@ -22783,7 +22783,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 100, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 61 }, "schema_version": "1.0", @@ -22879,7 +22879,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 101, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 62 }, "schema_version": "1.0", @@ -22975,7 +22975,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 102, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 63 }, "schema_version": "1.0", @@ -23071,7 +23071,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 103, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 64 }, "schema_version": "1.0", @@ -23167,7 +23167,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 104, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 65 }, "schema_version": "1.0", @@ -23263,7 +23263,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 105, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 66 }, "schema_version": "1.0", @@ -23359,7 +23359,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 106, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 67 }, "schema_version": "1.0", @@ -23455,7 +23455,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 107, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 68 }, "schema_version": "1.0", @@ -23551,7 +23551,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 69 }, "schema_version": "1.0", @@ -23647,7 +23647,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 109, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 70 }, "schema_version": "1.0", @@ -23743,7 +23743,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 109, + "current_time_saved_sec": 40, "total_time_elapsed_sec": 71 }, "schema_version": "1.0", @@ -23839,7 +23839,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 109, + "current_time_saved_sec": 39, "total_time_elapsed_sec": 72 }, "schema_version": "1.0", @@ -23935,7 +23935,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 109, + "current_time_saved_sec": 39, "total_time_elapsed_sec": 73 }, "schema_version": "1.0", @@ -24031,7 +24031,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 110, + "current_time_saved_sec": 38, "total_time_elapsed_sec": 74 }, "schema_version": "1.0", @@ -24127,7 +24127,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 110, + "current_time_saved_sec": 38, "total_time_elapsed_sec": 75 }, "schema_version": "1.0", @@ -24223,7 +24223,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 110, + "current_time_saved_sec": 38, "total_time_elapsed_sec": 76 }, "schema_version": "1.0", @@ -24319,7 +24319,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 110, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -24415,7 +24415,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -24527,7 +24527,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -24623,7 +24623,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -24719,7 +24719,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -24815,7 +24815,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -24911,7 +24911,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -25007,7 +25007,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -25103,7 +25103,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -25199,7 +25199,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -25295,7 +25295,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -25391,7 +25391,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -25487,7 +25487,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -25583,7 +25583,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -25679,7 +25679,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -25775,7 +25775,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -25871,7 +25871,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -25967,7 +25967,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -25980,7 +25980,7 @@ "event_type": "SIMULATION_COMPLETED", "is_simulated": true, "kpi_metrics": { - "current_time_saved_sec": 150, + "current_time_saved_sec": 37, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -26242,7 +26242,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 1, + "current_time_saved_sec": 0, "total_time_elapsed_sec": 2 }, "schema_version": "1.0", @@ -26314,7 +26314,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 1, + "current_time_saved_sec": 0, "total_time_elapsed_sec": 3 }, "schema_version": "1.0", @@ -26386,7 +26386,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 1, + "current_time_saved_sec": 0, "total_time_elapsed_sec": 4 }, "schema_version": "1.0", @@ -26458,7 +26458,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 1, + "current_time_saved_sec": -1, "total_time_elapsed_sec": 5 }, "schema_version": "1.0", @@ -26530,7 +26530,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 0, + "current_time_saved_sec": -1, "total_time_elapsed_sec": 6 }, "schema_version": "1.0", @@ -26602,7 +26602,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 0, + "current_time_saved_sec": -2, "total_time_elapsed_sec": 7 }, "schema_version": "1.0", @@ -26674,7 +26674,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 0, + "current_time_saved_sec": -2, "total_time_elapsed_sec": 8 }, "schema_version": "1.0", @@ -26746,7 +26746,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 0, + "current_time_saved_sec": -2, "total_time_elapsed_sec": 9 }, "schema_version": "1.0", @@ -26818,7 +26818,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": -1, + "current_time_saved_sec": -3, "total_time_elapsed_sec": 10 }, "schema_version": "1.0", @@ -26890,7 +26890,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 9, + "current_time_saved_sec": -2, "total_time_elapsed_sec": 11 }, "schema_version": "1.0", @@ -26962,7 +26962,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 10, + "current_time_saved_sec": 2, "total_time_elapsed_sec": 12 }, "schema_version": "1.0", @@ -27034,7 +27034,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 10, + "current_time_saved_sec": 5, "total_time_elapsed_sec": 13 }, "schema_version": "1.0", @@ -27106,7 +27106,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 10, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 14 }, "schema_version": "1.0", @@ -27178,7 +27178,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 11, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 15 }, "schema_version": "1.0", @@ -27250,7 +27250,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 11, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 16 }, "schema_version": "1.0", @@ -27322,7 +27322,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 11, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 17 }, "schema_version": "1.0", @@ -27394,7 +27394,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 12, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 18 }, "schema_version": "1.0", @@ -27466,7 +27466,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 12, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 19 }, "schema_version": "1.0", @@ -27538,7 +27538,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 12, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 20 }, "schema_version": "1.0", @@ -27610,7 +27610,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 12, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 21 }, "schema_version": "1.0", @@ -27682,7 +27682,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 13, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 22 }, "schema_version": "1.0", @@ -27754,7 +27754,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 13, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 23 }, "schema_version": "1.0", @@ -27826,7 +27826,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 13, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 24 }, "schema_version": "1.0", @@ -27898,7 +27898,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 14, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 25 }, "schema_version": "1.0", @@ -27970,7 +27970,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 14, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 26 }, "schema_version": "1.0", @@ -28042,7 +28042,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 13, + "current_time_saved_sec": 7, "total_time_elapsed_sec": 27 }, "schema_version": "1.0", @@ -28114,7 +28114,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 13, + "current_time_saved_sec": 7, "total_time_elapsed_sec": 28 }, "schema_version": "1.0", @@ -28186,7 +28186,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 13, + "current_time_saved_sec": 6, "total_time_elapsed_sec": 29 }, "schema_version": "1.0", @@ -28258,7 +28258,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 13, + "current_time_saved_sec": 6, "total_time_elapsed_sec": 30 }, "schema_version": "1.0", @@ -28330,7 +28330,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 12, + "current_time_saved_sec": 6, "total_time_elapsed_sec": 31 }, "schema_version": "1.0", @@ -28402,7 +28402,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 12, + "current_time_saved_sec": 5, "total_time_elapsed_sec": 32 }, "schema_version": "1.0", @@ -28474,7 +28474,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 12, + "current_time_saved_sec": 5, "total_time_elapsed_sec": 33 }, "schema_version": "1.0", @@ -28546,7 +28546,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 12, + "current_time_saved_sec": 9, "total_time_elapsed_sec": 34 }, "schema_version": "1.0", @@ -28690,7 +28690,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 13, + "current_time_saved_sec": 16, "total_time_elapsed_sec": 36 }, "schema_version": "1.0", @@ -28762,7 +28762,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 13, + "current_time_saved_sec": 20, "total_time_elapsed_sec": 37 }, "schema_version": "1.0", @@ -28834,7 +28834,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 14, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 38 }, "schema_version": "1.0", @@ -28906,7 +28906,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 14, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 39 }, "schema_version": "1.0", @@ -28978,7 +28978,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 14, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 40 }, "schema_version": "1.0", @@ -29050,7 +29050,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 14, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 41 }, "schema_version": "1.0", @@ -29122,7 +29122,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 15, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 42 }, "schema_version": "1.0", @@ -29227,7 +29227,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 15, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 43 }, "schema_version": "1.0", @@ -29327,7 +29327,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 15, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 44 }, "schema_version": "1.0", @@ -29411,7 +29411,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 16, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 45 }, "schema_version": "1.0", @@ -29495,7 +29495,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 16, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 46 }, "schema_version": "1.0", @@ -29579,7 +29579,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 16, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 47 }, "schema_version": "1.0", @@ -29663,7 +29663,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 16, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 48 }, "schema_version": "1.0", @@ -29747,7 +29747,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 16, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 49 }, "schema_version": "1.0", @@ -29831,7 +29831,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 16, + "current_time_saved_sec": 20, "total_time_elapsed_sec": 50 }, "schema_version": "1.0", @@ -29915,7 +29915,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 16, + "current_time_saved_sec": 20, "total_time_elapsed_sec": 51 }, "schema_version": "1.0", @@ -29999,7 +29999,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 16, + "current_time_saved_sec": 19, "total_time_elapsed_sec": 52 }, "schema_version": "1.0", @@ -30083,7 +30083,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 15, + "current_time_saved_sec": 19, "total_time_elapsed_sec": 53 }, "schema_version": "1.0", @@ -30167,7 +30167,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 15, + "current_time_saved_sec": 19, "total_time_elapsed_sec": 54 }, "schema_version": "1.0", @@ -30251,7 +30251,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 15, + "current_time_saved_sec": 19, "total_time_elapsed_sec": 55 }, "schema_version": "1.0", @@ -30335,7 +30335,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 65, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 56 }, "schema_version": "1.0", @@ -30452,7 +30452,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 65, + "current_time_saved_sec": 25, "total_time_elapsed_sec": 57 }, "schema_version": "1.0", @@ -30536,7 +30536,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 66, + "current_time_saved_sec": 29, "total_time_elapsed_sec": 58 }, "schema_version": "1.0", @@ -30620,7 +30620,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 66, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 59 }, "schema_version": "1.0", @@ -30704,7 +30704,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 66, + "current_time_saved_sec": 34, "total_time_elapsed_sec": 60 }, "schema_version": "1.0", @@ -30788,7 +30788,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 67, + "current_time_saved_sec": 35, "total_time_elapsed_sec": 61 }, "schema_version": "1.0", @@ -30872,7 +30872,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 67, + "current_time_saved_sec": 35, "total_time_elapsed_sec": 62 }, "schema_version": "1.0", @@ -30956,7 +30956,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 67, + "current_time_saved_sec": 35, "total_time_elapsed_sec": 63 }, "schema_version": "1.0", @@ -31040,7 +31040,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 68, + "current_time_saved_sec": 35, "total_time_elapsed_sec": 64 }, "schema_version": "1.0", @@ -31157,7 +31157,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 68, + "current_time_saved_sec": 35, "total_time_elapsed_sec": 65 }, "schema_version": "1.0", @@ -31269,7 +31269,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 68, + "current_time_saved_sec": 35, "total_time_elapsed_sec": 66 }, "schema_version": "1.0", @@ -31365,7 +31365,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 68, + "current_time_saved_sec": 35, "total_time_elapsed_sec": 67 }, "schema_version": "1.0", @@ -31461,7 +31461,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 69, + "current_time_saved_sec": 35, "total_time_elapsed_sec": 68 }, "schema_version": "1.0", @@ -31557,7 +31557,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 69, + "current_time_saved_sec": 35, "total_time_elapsed_sec": 69 }, "schema_version": "1.0", @@ -31653,7 +31653,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 69, + "current_time_saved_sec": 34, "total_time_elapsed_sec": 70 }, "schema_version": "1.0", @@ -31749,7 +31749,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 69, + "current_time_saved_sec": 34, "total_time_elapsed_sec": 71 }, "schema_version": "1.0", @@ -31845,7 +31845,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 69, + "current_time_saved_sec": 34, "total_time_elapsed_sec": 72 }, "schema_version": "1.0", @@ -31941,7 +31941,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 69, + "current_time_saved_sec": 33, "total_time_elapsed_sec": 73 }, "schema_version": "1.0", @@ -32037,7 +32037,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 68, + "current_time_saved_sec": 33, "total_time_elapsed_sec": 74 }, "schema_version": "1.0", @@ -32133,7 +32133,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 68, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 75 }, "schema_version": "1.0", @@ -32229,7 +32229,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 68, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 76 }, "schema_version": "1.0", @@ -32325,7 +32325,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 68, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -32421,7 +32421,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -32533,7 +32533,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -32629,7 +32629,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -32725,7 +32725,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -32821,7 +32821,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -32917,7 +32917,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -33013,7 +33013,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -33109,7 +33109,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -33205,7 +33205,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -33301,7 +33301,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -33397,7 +33397,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -33493,7 +33493,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -33589,7 +33589,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -33685,7 +33685,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -33781,7 +33781,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -33877,7 +33877,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -33973,7 +33973,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -33986,7 +33986,7 @@ "event_type": "SIMULATION_COMPLETED", "is_simulated": true, "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -34253,7 +34253,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 1, + "current_time_saved_sec": 0, "total_time_elapsed_sec": 2 }, "schema_version": "1.0", @@ -34324,7 +34324,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 1, + "current_time_saved_sec": 0, "total_time_elapsed_sec": 3 }, "schema_version": "1.0", @@ -34395,7 +34395,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 1, + "current_time_saved_sec": 0, "total_time_elapsed_sec": 4 }, "schema_version": "1.0", @@ -34466,7 +34466,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 1, + "current_time_saved_sec": -1, "total_time_elapsed_sec": 5 }, "schema_version": "1.0", @@ -34537,7 +34537,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 0, + "current_time_saved_sec": -1, "total_time_elapsed_sec": 6 }, "schema_version": "1.0", @@ -34608,7 +34608,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 0, + "current_time_saved_sec": -2, "total_time_elapsed_sec": 7 }, "schema_version": "1.0", @@ -34679,7 +34679,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 0, + "current_time_saved_sec": -2, "total_time_elapsed_sec": 8 }, "schema_version": "1.0", @@ -34750,7 +34750,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 0, + "current_time_saved_sec": -2, "total_time_elapsed_sec": 9 }, "schema_version": "1.0", @@ -34821,7 +34821,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": -1, + "current_time_saved_sec": -3, "total_time_elapsed_sec": 10 }, "schema_version": "1.0", @@ -34892,7 +34892,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 9, + "current_time_saved_sec": -2, "total_time_elapsed_sec": 11 }, "schema_version": "1.0", @@ -34979,7 +34979,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 10, + "current_time_saved_sec": 2, "total_time_elapsed_sec": 12 }, "schema_version": "1.0", @@ -35050,7 +35050,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 10, + "current_time_saved_sec": 5, "total_time_elapsed_sec": 13 }, "schema_version": "1.0", @@ -35121,7 +35121,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 10, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 14 }, "schema_version": "1.0", @@ -35192,7 +35192,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 11, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 15 }, "schema_version": "1.0", @@ -35263,7 +35263,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 11, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 16 }, "schema_version": "1.0", @@ -35334,7 +35334,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 11, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 17 }, "schema_version": "1.0", @@ -35405,7 +35405,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 12, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 18 }, "schema_version": "1.0", @@ -35476,7 +35476,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 12, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 19 }, "schema_version": "1.0", @@ -35547,7 +35547,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 12, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 20 }, "schema_version": "1.0", @@ -35651,7 +35651,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 12, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 21 }, "schema_version": "1.0", @@ -35750,7 +35750,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 13, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 22 }, "schema_version": "1.0", @@ -35833,7 +35833,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 13, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 23 }, "schema_version": "1.0", @@ -35916,7 +35916,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 13, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 24 }, "schema_version": "1.0", @@ -35999,7 +35999,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 14, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 25 }, "schema_version": "1.0", @@ -36082,7 +36082,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 14, + "current_time_saved_sec": 8, "total_time_elapsed_sec": 26 }, "schema_version": "1.0", @@ -36165,7 +36165,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 13, + "current_time_saved_sec": 7, "total_time_elapsed_sec": 27 }, "schema_version": "1.0", @@ -36248,7 +36248,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 13, + "current_time_saved_sec": 7, "total_time_elapsed_sec": 28 }, "schema_version": "1.0", @@ -36331,7 +36331,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 13, + "current_time_saved_sec": 6, "total_time_elapsed_sec": 29 }, "schema_version": "1.0", @@ -36414,7 +36414,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 13, + "current_time_saved_sec": 6, "total_time_elapsed_sec": 30 }, "schema_version": "1.0", @@ -36497,7 +36497,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 12, + "current_time_saved_sec": 6, "total_time_elapsed_sec": 31 }, "schema_version": "1.0", @@ -36580,7 +36580,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 12, + "current_time_saved_sec": 5, "total_time_elapsed_sec": 32 }, "schema_version": "1.0", @@ -36663,7 +36663,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 12, + "current_time_saved_sec": 5, "total_time_elapsed_sec": 33 }, "schema_version": "1.0", @@ -36746,7 +36746,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 12, + "current_time_saved_sec": 9, "total_time_elapsed_sec": 34 }, "schema_version": "1.0", @@ -36912,7 +36912,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 13, + "current_time_saved_sec": 16, "total_time_elapsed_sec": 36 }, "schema_version": "1.0", @@ -36995,7 +36995,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 13, + "current_time_saved_sec": 20, "total_time_elapsed_sec": 37 }, "schema_version": "1.0", @@ -37078,7 +37078,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 14, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 38 }, "schema_version": "1.0", @@ -37161,7 +37161,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 14, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 39 }, "schema_version": "1.0", @@ -37244,7 +37244,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 14, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 40 }, "schema_version": "1.0", @@ -37327,7 +37327,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 14, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 41 }, "schema_version": "1.0", @@ -37410,7 +37410,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 15, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 42 }, "schema_version": "1.0", @@ -37526,7 +37526,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 15, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 43 }, "schema_version": "1.0", @@ -37637,7 +37637,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 15, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 44 }, "schema_version": "1.0", @@ -37732,7 +37732,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 16, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 45 }, "schema_version": "1.0", @@ -37827,7 +37827,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 16, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 46 }, "schema_version": "1.0", @@ -37922,7 +37922,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 16, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 47 }, "schema_version": "1.0", @@ -38017,7 +38017,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 16, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 48 }, "schema_version": "1.0", @@ -38112,7 +38112,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 16, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 49 }, "schema_version": "1.0", @@ -38207,7 +38207,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 16, + "current_time_saved_sec": 20, "total_time_elapsed_sec": 50 }, "schema_version": "1.0", @@ -38302,7 +38302,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 16, + "current_time_saved_sec": 20, "total_time_elapsed_sec": 51 }, "schema_version": "1.0", @@ -38397,7 +38397,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 16, + "current_time_saved_sec": 19, "total_time_elapsed_sec": 52 }, "schema_version": "1.0", @@ -38492,7 +38492,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 15, + "current_time_saved_sec": 19, "total_time_elapsed_sec": 53 }, "schema_version": "1.0", @@ -38587,7 +38587,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 15, + "current_time_saved_sec": 19, "total_time_elapsed_sec": 54 }, "schema_version": "1.0", @@ -38682,7 +38682,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 15, + "current_time_saved_sec": 19, "total_time_elapsed_sec": 55 }, "schema_version": "1.0", @@ -38777,7 +38777,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 65, + "current_time_saved_sec": 21, "total_time_elapsed_sec": 56 }, "schema_version": "1.0", @@ -38904,7 +38904,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 65, + "current_time_saved_sec": 25, "total_time_elapsed_sec": 57 }, "schema_version": "1.0", @@ -38999,7 +38999,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 66, + "current_time_saved_sec": 29, "total_time_elapsed_sec": 58 }, "schema_version": "1.0", @@ -39094,7 +39094,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 66, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 59 }, "schema_version": "1.0", @@ -39189,7 +39189,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 66, + "current_time_saved_sec": 34, "total_time_elapsed_sec": 60 }, "schema_version": "1.0", @@ -39284,7 +39284,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 67, + "current_time_saved_sec": 35, "total_time_elapsed_sec": 61 }, "schema_version": "1.0", @@ -39379,7 +39379,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 67, + "current_time_saved_sec": 35, "total_time_elapsed_sec": 62 }, "schema_version": "1.0", @@ -39474,7 +39474,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 67, + "current_time_saved_sec": 35, "total_time_elapsed_sec": 63 }, "schema_version": "1.0", @@ -39569,7 +39569,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 68, + "current_time_saved_sec": 35, "total_time_elapsed_sec": 64 }, "schema_version": "1.0", @@ -39697,7 +39697,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 68, + "current_time_saved_sec": 35, "total_time_elapsed_sec": 65 }, "schema_version": "1.0", @@ -39820,7 +39820,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 68, + "current_time_saved_sec": 35, "total_time_elapsed_sec": 66 }, "schema_version": "1.0", @@ -39927,7 +39927,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 68, + "current_time_saved_sec": 35, "total_time_elapsed_sec": 67 }, "schema_version": "1.0", @@ -40034,7 +40034,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 69, + "current_time_saved_sec": 35, "total_time_elapsed_sec": 68 }, "schema_version": "1.0", @@ -40141,7 +40141,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 69, + "current_time_saved_sec": 35, "total_time_elapsed_sec": 69 }, "schema_version": "1.0", @@ -40248,7 +40248,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 69, + "current_time_saved_sec": 34, "total_time_elapsed_sec": 70 }, "schema_version": "1.0", @@ -40355,7 +40355,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 69, + "current_time_saved_sec": 34, "total_time_elapsed_sec": 71 }, "schema_version": "1.0", @@ -40462,7 +40462,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 69, + "current_time_saved_sec": 34, "total_time_elapsed_sec": 72 }, "schema_version": "1.0", @@ -40569,7 +40569,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 69, + "current_time_saved_sec": 33, "total_time_elapsed_sec": 73 }, "schema_version": "1.0", @@ -40676,7 +40676,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 68, + "current_time_saved_sec": 33, "total_time_elapsed_sec": 74 }, "schema_version": "1.0", @@ -40783,7 +40783,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 68, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 75 }, "schema_version": "1.0", @@ -40890,7 +40890,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 68, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 76 }, "schema_version": "1.0", @@ -40997,7 +40997,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 68, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -41104,7 +41104,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -41227,7 +41227,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -41334,7 +41334,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -41441,7 +41441,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -41548,7 +41548,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -41655,7 +41655,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -41762,7 +41762,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -41869,7 +41869,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -41976,7 +41976,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -42083,7 +42083,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -42190,7 +42190,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -42297,7 +42297,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -42404,7 +42404,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -42511,7 +42511,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -42618,7 +42618,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -42725,7 +42725,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -42832,7 +42832,7 @@ } ], "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", @@ -42845,7 +42845,7 @@ "event_type": "SIMULATION_COMPLETED", "is_simulated": true, "kpi_metrics": { - "current_time_saved_sec": 108, + "current_time_saved_sec": 32, "total_time_elapsed_sec": 77 }, "schema_version": "1.0", diff --git a/backend/tests/simulation/test_engine.py b/backend/tests/simulation/test_engine.py index 37e5f35..2719e4c 100644 --- a/backend/tests/simulation/test_engine.py +++ b/backend/tests/simulation/test_engine.py @@ -101,8 +101,8 @@ def test_ambulance_position_follows_the_route_polyline() -> None: assert y == pytest.approx(expected[1], abs=0.5) -def test_time_saved_on_arrival_uses_the_traffic_density_multiplier() -> None: - """D15: on arrival the normal-mode time covered is T_normal, scaled by the multiplier.""" +def test_time_saved_on_arrival_uses_the_standard_run_at_the_selected_density() -> None: + """The same standard-motion baseline is used by pre-flight and final savings.""" multiplier = 2.0 settings = SimulationSettings() template = engine_for_single_stop() @@ -123,9 +123,7 @@ def test_time_saved_on_arrival_uses_the_traffic_density_multiplier() -> None: state, events = engine.step(state, now) tick = next(event for event in events if isinstance(event, SimulationTickEvent)) - assert tick.kpi_metrics.current_time_saved_sec == round( - estimates.normal_seconds - estimates.greenwave_seconds - ) + assert tick.kpi_metrics.current_time_saved_sec == 32 - tick.kpi_metrics.total_time_elapsed_sec def engine_for_mixed_speeds(multiplier: float = 1.0) -> SimulationEngine: @@ -167,10 +165,10 @@ def test_a_step_carries_its_remaining_time_onto_the_next_edge() -> None: assert state.distance_travelled_m == pytest.approx(10.0 + 25.0 * 3.0 / 13.0) -def test_kpi_ends_at_normal_minus_greenwave_and_holds_through_recovery() -> None: +def test_kpi_ends_at_standard_minus_greenwave_and_holds_through_recovery() -> None: """D13 + D15: arrival lands on T_greenwave, and recovery ticks after it do not erode the KPI.""" engine = engine_for_mixed_speeds(multiplier=1.5) - expected_saved = round(engine.estimates.normal_seconds - engine.estimates.greenwave_seconds) + expected_saved = -1 # standard arrives at ~10 s; priority at ~11 s on this short route. expected_elapsed = round(engine.estimates.greenwave_seconds) state = engine.initial_state() now = datetime(2026, 10, 16, tzinfo=UTC) diff --git a/backend/tests/simulation/test_standard_baseline.py b/backend/tests/simulation/test_standard_baseline.py new file mode 100644 index 0000000..f79d929 --- /dev/null +++ b/backend/tests/simulation/test_standard_baseline.py @@ -0,0 +1,41 @@ +"""Savings compare priority with the ambulance run without priority, on the same route.""" + +import pytest +from tests.simulation.test_motion_modes import GREEN, RED, _engine, _run + +from greenwave.schemas import GreenWaveMode, SignalPhaseColor + + +@pytest.mark.parametrize("phase", [None, GREEN, RED]) +def test_standard_run_never_claims_savings(phase: SignalPhaseColor | None) -> None: + _, ticks = _run(_engine(GreenWaveMode.DISABLED, phase=phase)) + assert all(tick.kpi_metrics.current_time_saved_sec == 0 for tick in ticks) + + +@pytest.mark.parametrize("phase", [None, GREEN, RED]) +def test_priority_saving_is_the_difference_from_the_standard_run( + phase: SignalPhaseColor | None, +) -> None: + standard, _ = _run(_engine(GreenWaveMode.DISABLED, phase=phase)) + priority, ticks = _run(_engine(GreenWaveMode.ENABLED, phase=phase)) + assert standard[-1].arrived_at_s is not None + assert priority[-1].arrived_at_s is not None + expected = round(standard[-1].arrived_at_s) - round(priority[-1].arrived_at_s) + assert ticks[-1].kpi_metrics.current_time_saved_sec == expected + # Recovery cannot change trip savings after arrival. + assert all( + tick.kpi_metrics.current_time_saved_sec == expected + for state, tick in zip(priority, ticks, strict=True) + if state.arrived + ) + + +def test_live_standard_profile_matches_the_standard_vehicle_positions() -> None: + """The live KPI follows the crossing's time loss, rather than a fraction of total savings.""" + engine = _engine(GreenWaveMode.DISABLED, phase=RED) + states, _ = _run(engine) + for state in states: + elapsed = state.arrived_at_s if state.arrived_at_s is not None else state.simulated_time_s + assert engine.standard_profile.seconds_at(state.distance_travelled_m) == pytest.approx( + elapsed + ) diff --git a/docs/adr/0011-standard-run-estimate.md b/docs/adr/0011-standard-run-estimate.md index aaad50a..c92b659 100644 --- a/docs/adr/0011-standard-run-estimate.md +++ b/docs/adr/0011-standard-run-estimate.md @@ -69,3 +69,14 @@ Additive to contract v1; `schema_version` stays `"1.0"`. and dashboard markup snapshots. - `backend/scripts/sample_runs.py --routes 40 --seed 11` at density 1.0 and 2.5: `docs/engineering/history/post-merge-regressions-verification.md`. + +## Follow-up: 2026-10-29 standard baseline correction + +The standard-mode fix supersedes the decision above to keep savings against `T_normal`. +`current_time_saved_sec` now compares Green Wave with the same disabled-motion profile used +by `estimated_standard_time_sec` and ranking, at the same route distance. Arrival subtracts +rounded totals so displayed times agree exactly. Standard runs report zero. The setup, +telemetry strip, completed summary and previous-result card hide savings in standard mode; +Green Wave and comparison setup retain both estimates. Mock pre-flight and savings use its +actual disabled timeline. `estimated_normal_time_sec` remains available for compatibility. +See `docs/engineering/standard-mode-fix.md` for acceptance and verification. diff --git a/docs/engineering/standard-mode-fix.md b/docs/engineering/standard-mode-fix.md new file mode 100644 index 0000000..becee80 --- /dev/null +++ b/docs/engineering/standard-mode-fix.md @@ -0,0 +1,55 @@ +# Standard mode and the savings baseline + +## Requirement and diagnosis + +Standard mode must show its own simulated travel time without a Green Wave savings claim. +The selected station's estimate, start response, completed standard run, and baseline used +for Green Wave savings must describe the same route and standard motion at the selected density. +Drive and on-foot estimates stay separate. All values remain simulated. + +The pre-flight component did not receive the selected mode. Backend pre-flight already used +an exact disabled-motion dry run, but telemetry and completed summaries still used the older +normal-traffic formula. Mock pre-flight also used that formula instead of its disabled timeline. + +## Plan and acceptance + +1. Reproduce both defects with failing regression tests. +2. Reuse the standard-motion dry run as a distance/time profile. Compare elapsed time at the + same distance; standard runs report zero savings. At arrival subtract displayed rounded + trip times so the result agrees exactly with the standard and Green Wave totals. +3. Use the disabled timeline for mock pre-flight and mock savings too. Hide savings and + Green Wave estimates throughout standard-mode setup, live telemetry and finished summaries. + Preserve both estimates in Green Wave and comparison setup. Translate new copy into Polish. +4. Run backend/frontend checks, browser verification, review the diff, then commit locally. + +The normal-traffic estimate remains in the existing API for compatibility; it is no longer the +savings baseline. No new fields, dependencies, routing policy or signal actuation are introduced. +Live baseline times are interpolated between standard dry-run samples (one simulated second); +arrival uses the exact standard total. The profile is built once per engine, with linear +planning time/storage in standard trip seconds and logarithmic lookup per telemetry tick. + +## Review follow-up + +Independent review found no introduced regressions. It identified a pre-existing rounding edge: +Python rounds exact half-seconds to even, JavaScript rounds them up. Backend pre-flight and +station drive times now follow Python's rounding, with regression cases for both even/odd ties. + +## Verification (2026-10-29) + +- Frontend: lint, generated route types/TypeScript, format check, 1,254 tests and production build pass. +- Backend: Ruff lint/format and mypy pass; full pytest: 1,528 pass, one local dataset failure: + `tests/dataset/test_real_data_smoke.py::test_committed_curated_files_match_the_processed_report`. + The existing processed `etl_report.json` has no `curated_sha256` entries for + `data/curated/prm_bases.json` and `data/overrides/roundabouts.json`. These inputs and their + ETL report are outside this fix. All simulation regressions and the engine golden pass. +- Six real Kraków route pairs (two incidents, densities 1.0/1.5/3.0, cascade enabled): ranked + standard estimate = start estimate = standard completion; Green Wave savings = displayed + standard total minus displayed Green Wave total, including zero and negative results. +- Playwright CLI: mock standard pre-flight 02m 49s = finished 02m 49s, with no saving card, + live saving KPI or completed saving row. Polish phone result at 390 px also matches and + has no horizontal overflow. Screenshots and browser results are in `.tmp/playwright/`. +- Independent review, including the rounding follow-up: no actionable findings. +- Golden event changes are restricted to `current_time_saved_sec`; movement, elapsed time, + controller feedback and signal events are preserved. Local graph refreshed. +- Playwright CLI Green Wave: pre-flight standard 02m 49s, Green Wave 02m 24s; completed + standard baseline 02m 49s, travel 02m 24s, saved 00m 25s. diff --git a/frontend/src/app/globals.css b/frontend/src/app/globals.css index 3405d3a..726a193 100644 --- a/frontend/src/app/globals.css +++ b/frontend/src/app/globals.css @@ -1299,6 +1299,9 @@ button, align-items: start; gap: 1rem; } +.kpi-panel[data-standard="true"] { + grid-template-columns: repeat(2, minmax(0, 1fr)); +} .kpi-vehicle { grid-column: 1 / -1; display: grid; diff --git a/frontend/src/components/hud/DispatchForm.snapshot.test.tsx b/frontend/src/components/hud/DispatchForm.snapshot.test.tsx index b8a0c26..c23789c 100644 --- a/frontend/src/components/hud/DispatchForm.snapshot.test.tsx +++ b/frontend/src/components/hud/DispatchForm.snapshot.test.tsx @@ -295,7 +295,7 @@ describe("DispatchForm settings", () => { greenWaveMode: "ENABLED", totalSeconds: 400, savedSeconds: 380, - normalEstimateSeconds: 780, + standardEstimateSeconds: 780, stationName: "JRG PSP nr 1", incidentLabel: "Rynek Główny 1", trafficDensity: 1.5, @@ -395,17 +395,17 @@ describe("mock preflight estimates", () => { false, ), ); - expect(far).toContain("13m 00s"); + expect(far).toContain("06m 44s"); expect(far).toContain("06m 20s"); - expect(near).toContain("06m 30s"); + expect(near).toContain("03m 19s"); expect(near).toContain("03m 10s"); - expect(otherStation).toContain("06m 30s"); + expect(otherStation).toContain("03m 19s"); expect(otherStation).toContain("03m 10s"); expect(far).toContain("Approximate (mock)"); expect(far).toContain("straight line"); }); - it("recomputes normal time with density while retaining the GreenWave baseline", () => { + it("uses the capped standard crossing time at high density", () => { const markup = renderToStaticMarkup( { incident={nearIncident} />, ); - expect(markup).toContain("13m 00s"); + expect(markup).toContain("03m 19s"); expect(markup).toContain("03m 10s"); }); @@ -562,3 +562,43 @@ vi.mock("@/components/language-provider", async (importOriginal) => { const actual = await importOriginal(); return { ...actual, useTranslation: () => ({ language: "en", t: (value: T) => value }) }; }); + +describe("standard-mode preflight", () => { + it.each(["backend", "mock"] as const)("shows only the selected run's estimate (%s)", (kind) => { + transport.current = kind; + const markup = render(dispatchState({ rankTimeMode: "DISABLED" }), true, { + ...DEFAULT_DISPATCH_SETTINGS, + greenWaveMode: "DISABLED", + }); + const card = markup.slice( + markup.indexOf("pre-flight estimation") >= 0 + ? markup.indexOf("pre-flight estimation") + : markup.indexOf("Pre-flight estimation"), + ); + expect(card).toContain("Standard time"); + if (kind === "backend") expect(card).toContain("06m 12s"); + expect(card).not.toContain("GreenWave time"); + expect(card).not.toContain("TIME SAVED"); + expect(card).not.toContain("without and with"); + }); +}); + +it.each([ + [372.5, "06m 12s"], + [373.5, "06m 14s"], +] as const)( + "rounds backend standard time %s consistently with the start response", + (seconds, expected) => { + const markup = renderToStaticMarkup( + , + ); + expect(markup).toContain(expected); + }, +); diff --git a/frontend/src/components/hud/KpiHeader.test.tsx b/frontend/src/components/hud/KpiHeader.test.tsx index 7627984..3fd2b9f 100644 --- a/frontend/src/components/hud/KpiHeader.test.tsx +++ b/frontend/src/components/hud/KpiHeader.test.tsx @@ -90,7 +90,7 @@ describe("KpiHeader time saved", () => { }); describe("KpiHeader baseline label", () => { - it('labels the KPI "vs normal traffic" in a disabled run', () => { + it("hides the saving KPI in a disabled run", () => { const run = (mode: "ENABLED" | "DISABLED") => { state = { ...initialSimulationState, @@ -101,7 +101,7 @@ describe("KpiHeader baseline label", () => { return renderToStaticMarkup(); }; - expect(run("DISABLED")).toContain("vs normal traffic"); + expect(run("DISABLED")).not.toContain("kpi-saved"); expect(run("DISABLED")).not.toContain("Time saved"); expect(run("ENABLED")).toContain("Time saved"); }); diff --git a/frontend/src/components/hud/KpiHeader.tsx b/frontend/src/components/hud/KpiHeader.tsx index 05110c9..950813e 100644 --- a/frontend/src/components/hud/KpiHeader.tsx +++ b/frontend/src/components/hud/KpiHeader.tsx @@ -75,7 +75,11 @@ export function KpiHeader({ onStop }: KpiHeaderProps = {}) { const stale = isTelemetryStale({ simulationState, connection }); const elapsedLabel = `${String(Math.floor(elapsed / 60)).padStart(2, "0")}:${String(elapsed % 60).padStart(2, "0")}`; return ( -
+
{t(speed.label)}
-
- - {t( - failedIts - ? "No completed savings" - : routeData?.green_wave_mode === "DISABLED" - ? "vs normal traffic" - : "Time saved", - )} - - - {t(failedIts ? "—" : formatSignedSeconds(saved))} - -
+ {routeData?.green_wave_mode !== "DISABLED" && ( +
+ + {t(failedIts ? "No completed savings" : "Time saved")} + + + {t(failedIts ? "—" : formatSignedSeconds(saved))} + +
+ )}
{t("Elapsed")} diff --git a/frontend/src/components/hud/RunSummary.snapshot.test.tsx b/frontend/src/components/hud/RunSummary.snapshot.test.tsx index aad8a37..6b3d04a 100644 --- a/frontend/src/components/hud/RunSummary.snapshot.test.tsx +++ b/frontend/src/components/hud/RunSummary.snapshot.test.tsx @@ -18,7 +18,7 @@ function render(mode: GreenWaveMode) { return renderToStaticMarkup( { const markup = renderToStaticMarkup( { onBackToSetup={() => undefined} />, ); - const saved = markup.match( - /Saved vs normal-traffic estimate<\/dt>
([^<]*)
([^<]*)

Dispatch console / 01

Incident dispatch

Vehicle type

or click the map

Address search needs the backend

Dispatch fromApproximate (mock)

Simulation parameters

Traffic model

1.5x
1.0x normal3.0x peak

ER Green Wave

Simulated signal priority clears each intersection ahead of the vehicle.

Simulated ITS feedback

How the simulated signal controller answers each priority request.

Cascade corridor mode

Group nearby signals within 250 m

Playback speedsimulated s per real s

Times are model estimates. Simulated controller feedback may delay or end a run.

Mock pre-flight estimationREADY

Approximate (mock) · straight line, not a drivable route or a real response-time prediction.

Standard time03m 49s
GreenWave time01m 52s
51% TIME SAVED−01m 57s

Demo uses synthetic route estimates and sample signal telemetry.

+ diff --git a/frontend/src/components/hud/__snapshots__/RunSummary.disabled.html b/frontend/src/components/hud/__snapshots__/RunSummary.disabled.html index 26e09c2..05d6084 100644 --- a/frontend/src/components/hud/__snapshots__/RunSummary.disabled.html +++ b/frontend/src/components/hud/__snapshots__/RunSummary.disabled.html @@ -1 +1 @@ -

Simulated run completed

The simulated vehicle arrived and every simulated signal is back to NORMAL. Simulated times, not a real-world measurement.

Total travel time
08m 40s
ER Green Wave
Disabled
Normal-traffic estimate
13m 00s
Saved vs normal-traffic estimate
04m 20s
+

Simulated run completed

The simulated vehicle arrived and every simulated signal is back to NORMAL. Simulated times, not a real-world measurement.

Total travel time
08m 40s
ER Green Wave
Disabled
Standard time
08m 40s
diff --git a/frontend/src/components/hud/__snapshots__/RunSummary.enabled.html b/frontend/src/components/hud/__snapshots__/RunSummary.enabled.html index 3833f6d..a78788e 100644 --- a/frontend/src/components/hud/__snapshots__/RunSummary.enabled.html +++ b/frontend/src/components/hud/__snapshots__/RunSummary.enabled.html @@ -1 +1 @@ -

Simulated run completed

The simulated vehicle arrived and every simulated signal is back to NORMAL. Simulated times, not a real-world measurement.

Total travel time
08m 40s
ER Green Wave
Enabled
Normal-traffic estimate
13m 00s
GreenWave estimate
06m 20s
Saved vs normal-traffic estimate
04m 20s
+

Simulated run completed

The simulated vehicle arrived and every simulated signal is back to NORMAL. Simulated times, not a real-world measurement.

Total travel time
08m 40s
ER Green Wave
Enabled
Standard time
08m 40s
GreenWave estimate
06m 20s
Saved vs standard run
04m 20s
diff --git a/frontend/src/components/hud/dispatch/DispatchSettingsFields.tsx b/frontend/src/components/hud/dispatch/DispatchSettingsFields.tsx index c8398e4..57d25de 100644 --- a/frontend/src/components/hud/dispatch/DispatchSettingsFields.tsx +++ b/frontend/src/components/hud/dispatch/DispatchSettingsFields.tsx @@ -181,6 +181,7 @@ export function DispatchSettingsFields({ {previousRun && } 0 - : candidate !== null; - const normalSeconds = isMockTransport - ? (metrics?.normalSeconds ?? 0) - : (candidate?.standard_seconds ?? 0); + const hasEstimate = isMockTransport ? mockRoute !== null : candidate !== null; + const standardSeconds = isMockTransport + ? (mockRoute?.estimated_standard_time_sec ?? 0) + : roundBackendSeconds(candidate?.standard_seconds ?? 0); const greenwaveSeconds = isMockTransport - ? (metrics?.greenwaveSeconds ?? 0) - : (candidate?.greenwave_seconds ?? 0); - const saved = Math.round(normalSeconds - greenwaveSeconds); + ? (mockRoute?.estimated_greenwave_time_sec ?? 0) + : roundBackendSeconds(candidate?.greenwave_seconds ?? 0); + const saved = Math.round(standardSeconds - greenwaveSeconds); const onFoot = isMockTransport ? null : (candidate?.on_foot ?? null); return ( @@ -71,7 +85,7 @@ export function PreflightEstimate({ {t( isMockTransport ? "Approximate (mock) · straight line, not a drivable route or a real response-time prediction." - : `Simulated runs from the selected station, without and with ER Green Wave${ + : `${enabled ? "Simulated runs from the selected station, without and with ER Green Wave" : "Simulated standard run from the selected station"}${ onFoot ? ` · drive only, plus ${formatMinutesSeconds(Math.round(onFoot.seconds))} on foot` : "" @@ -81,35 +95,38 @@ export function PreflightEstimate({
- + {enabled && ( + + )}
{/* Standard can be the shorter run (it spends no D_min); never claim a saving then. */} - {saved > 0 ? ( -
- - - {t(Math.round((saved / normalSeconds) * 100))} - {t("% TIME SAVED")} - - - {t("−")} - {t(formatMinutesSeconds(saved))} - -
- ) : ( -
- {t("NO TIME SAVED")} - - {t(saved === 0 ? formatMinutesSeconds(0) : `+${formatMinutesSeconds(-saved)}`)} - -
- )} + {enabled && + (saved > 0 ? ( +
+ + + {t(Math.round((saved / standardSeconds) * 100))} + {t("% TIME SAVED")} + + + {t("−")} + {t(formatMinutesSeconds(saved))} + +
+ ) : ( +
+ {t("NO TIME SAVED")} + + {t(saved === 0 ? formatMinutesSeconds(0) : `+${formatMinutesSeconds(-saved)}`)} + +
+ ))} )}
diff --git a/frontend/src/components/hud/dispatch/PreviousRunCard.test.tsx b/frontend/src/components/hud/dispatch/PreviousRunCard.test.tsx index dba6c66..b731bee 100644 --- a/frontend/src/components/hud/dispatch/PreviousRunCard.test.tsx +++ b/frontend/src/components/hud/dispatch/PreviousRunCard.test.tsx @@ -8,7 +8,7 @@ const RUN: PreviousRun = { greenWaveMode: "DISABLED", totalSeconds: 812, savedSeconds: -32, - normalEstimateSeconds: 780, + standardEstimateSeconds: 780, stationName: "5. Wojskowy Szpital Kliniczny", incidentLabel: "Rynek Główny 1", trafficDensity: 2, @@ -24,15 +24,14 @@ describe("PreviousRunCard", () => { expect(markup).toMatch(/

]*>Previous simulated run<\/h3>/); }); - it("leads with the mode, then total travel time and saved vs normal", () => { + it("shows a standard result without a savings claim", () => { const content = text(renderToStaticMarkup()); const mode = content.indexOf("ER Green Wave disabled"); const total = content.indexOf("Total travel time 13m 32s"); - const saved = content.indexOf("Saved vs normal-traffic estimate −00m 32s"); + expect(content).not.toContain("Saved vs"); expect(mode).toBeGreaterThan(-1); expect(total).toBeGreaterThan(mode); - expect(saved).toBeGreaterThan(total); }); it("names the route and traffic density it ran with", () => { @@ -50,7 +49,7 @@ describe("PreviousRunCard", () => { ); expect(content).toContain("ER Green Wave enabled"); - expect(content).toContain("Saved vs normal-traffic estimate 06m 20s"); + expect(content).toContain("Saved vs standard run 06m 20s"); }); }); @@ -59,8 +58,10 @@ describe("PreviousRunCard saved tone", () => { [-32, "text-caution"], [380, "text-go"], ])("colours %i s saved by its sign", (savedSeconds, colour) => { - const markup = renderToStaticMarkup(); - const saved = markup.match(/Saved vs normal-traffic estimate<\/dt>
, + ); + const saved = markup.match(/Saved vs standard run<\/dt>
-
-
{t(SAVED_LABEL)}
-
- {t(formatDuration(run.savedSeconds))} -
- + {enabled && ( +
+
{t(SAVED_LABEL)}
+
+ {t(formatDuration(run.savedSeconds))} +
+
+ )}

); diff --git a/frontend/src/components/hud/dispatch/StationRanking.test.tsx b/frontend/src/components/hud/dispatch/StationRanking.test.tsx index b484d8e..2a1263e 100644 --- a/frontend/src/components/hud/dispatch/StationRanking.test.tsx +++ b/frontend/src/components/hud/dispatch/StationRanking.test.tsx @@ -341,3 +341,15 @@ it("preserves station identity, availability and drive/walk totals for narrow-pa expect(markup).toContain("Recommended"); expect(markup).toContain("Fastest"); }); + +it("rounds backend station times the same way as the simulation response", () => { + const markup = render({ + timeMode: "STANDARD", + ranking: { + ...RANKING, + candidates: [{ ...RANKING.candidates[0], standard_seconds: 372.5 }], + }, + }); + expect(markup).toContain("06m 12s"); + expect(markup).not.toContain("06m 13s"); +}); diff --git a/frontend/src/components/hud/dispatch/StationRanking.tsx b/frontend/src/components/hud/dispatch/StationRanking.tsx index eca65f1..6d3d941 100644 --- a/frontend/src/components/hud/dispatch/StationRanking.tsx +++ b/frontend/src/components/hud/dispatch/StationRanking.tsx @@ -5,7 +5,7 @@ import { useId } from "react"; import { ExcludedTeams } from "@/components/hud/dispatch/ExcludedTeams"; import { formatSignalDistance } from "@/lib/driver-presentation"; -import { formatMinutesSeconds } from "@/lib/format-duration"; +import { formatMinutesSeconds, roundBackendSeconds } from "@/lib/format-duration"; import { candidateDriveSeconds, candidateTotalSeconds, @@ -169,7 +169,7 @@ function CandidateRow({ // The comparison keeps the green-wave order, so its deltas are green-wave deltas. const deltaMode = timeMode === "STANDARD" ? "STANDARD" : "GREENWAVE"; const total = (mode: "GREENWAVE" | "STANDARD") => - formatMinutesSeconds(Math.round(candidateTotalSeconds(candidate, mode))); + formatMinutesSeconds(roundBackendSeconds(candidateTotalSeconds(candidate, mode))); return (