{"methodology":{"dataset":{"name":"Amazon Last Mile Routing Research Challenge (2021), evaluation split","provider":"Amazon Last Mile Routing Research Challenge (Amazon / MIT CTL)","year_of_routes":2018,"source_url":"https://registry.opendata.aws/amazon-last-mile-challenges/","s3_prefix":"s3://amazon-last-mile-challenges/almrrc2021/almrrc2021-data-evaluation/","acquired_at":"2026-11-10T18:40:03+00:00","manifest_sha256":"2c2d17fa82ee92596d620f646c071b582fff440b84b04f0c29d02962431549e2","file_sha256":{"Readme.txt":"1325a6079ad41da79c150dd34bf20b866ce26330e3dac2d28f8753e0f812a54d","License.txt":"48f99d700291c586c53ceed67e424e4513ef0a2ba1b61d1472d4113086d820c9","eval_route_data.json":"dfd8a198b9df5e3b194d3a268f6f442edcd77f028870d54a8d7397a7bc366466","eval_package_data.json":"612f9aae67df34e637b106a6e2b1cd627fee11fdc0107937bdb56f8c61ec7848","eval_travel_times.json":"5ba2f1add7f43eb90eb17ec9ac032636e891baeac7b15d7963651baeaf12edfd","eval_actual_sequences.json":"30e924b5f263bd5e0a4bb58a756c8f6767b49d59a6bfa718ce26d2767a2c90e9"},"citation":"Merchán, D., Arora, J., Pachon, J., Konduri, K., Winkenbach, M., Parks, S., Noszek, J. (2022). 2021 Amazon Last Mile Routing Research Challenge: Data Set. Transportation Science.","fields_used":["route: station_code, date, departure_time_utc, executor_capacity_cm3","stops: lat, lng, type, zone_id","actual sequence (observed stop order)","packages: time_window, planned_service_time_seconds, dimensions","travel_times: mean seconds between stops WITHIN one route"],"selection":{"rule":"same station_code and date; anchor ordered by sha256(route_id); add up to 3 nearest unused routes by stop-centroid distance <= 12.0 km with departure gap <= 90 min; groups ordered by sha256(group_id), first 160 kept; partition = development if sha256(group_id) % 10 < 3 else evaluation","exclusions":{"groups_formed":654,"no_station_stop":0,"missing_sequence":0,"groups_kept_after_cap":160,"singleton_station_date":359}}},"license":{"name":"CC BY-NC 4.0","url":"https://creativecommons.org/licenses/by-nc/4.0/","note":"Non-commercial research and demonstration use. A commercial product needs separately licensed operational data."},"assumptions":["Routes, stops, packages, windows and the observed stop order are historical (HISTORICAL ROUTES).","Vehicle progress is reconstructed from departure time, observed in-route mean travel times and planned service times (RECONSTRUCTED). There is no GPS trace.","Disruptions (delay, area slowdown, vehicle failure) are simulated (SIMULATED DELAY).","Default scenario cutoff: 40% through the delayed route's reconstructed day.","Planned service time repeats per package at a stop in the source (99% of multi-package stops), so a stop's service time is the maximum, not the sum, of its package values.","Shift limit (scenario assumption, not source data): each driver may work up to 60 minutes past the reconstructed finish of their historical route. Packages whose service would start later count as missed.","Packages with no time window are never counted as on-time or late for a window; they only count toward the shift limit.","Handoff takes 5 minutes plus 15 seconds per package. Meeting points are existing stop locations only, not vetted parking.","Traffic slowdown multiplies every travel leg inside the delayed route's own stop set, whichever van drives it."],"travel_model":{"version":"xroute-quantile-1.0","within_route":"Observed historical mean travel seconds (asymmetric matrix) from the source.","cross_route":"No observed cross-route times exist. Estimated from straight-line distance using empirical travel-time quantiles (q10, mean, q90) per distance band, fitted per station on development-partition routes only.","holdout":{"fit":{"fit_pairs":333256,"fit_routes":112},"all_pairs":{"note":"Held-out WITHIN-route pairs. No observed cross-route labels exist; domain shift applies.","mae_s":59.9,"pairs":424165,"max_km":null,"routes":285,"interval":"[q10, q90]","p90_ae_s":127.1,"median_ae_s":43.8,"interval_coverage":0.8106,"upper_exceeded_fraction":0.0935},"partition_fit":"development","pairs_within_3km":{"note":"Held-out WITHIN-route pairs. No observed cross-route labels exist; domain shift applies.","mae_s":54.7,"pairs":392493,"max_km":3.0,"routes":285,"interval":"[q10, q90]","p90_ae_s":116.2,"median_ae_s":41.8,"interval_coverage":0.821,"upper_exceeded_fraction":0.0907},"pairs_within_8km":{"note":"Held-out WITHIN-route pairs. No observed cross-route labels exist; domain shift applies.","mae_s":58.7,"pairs":422647,"max_km":8.0,"routes":285,"interval":"[q10, q90]","p90_ae_s":125.8,"median_ae_s":43.6,"interval_coverage":0.8121,"upper_exceeded_fraction":0.0933},"partition_holdout":"evaluation"},"conservative_rule":"A rescue is recommended only if it still helps, and the helper gains no missed package, when every cross-route leg takes its q90 time.","cross_route_validated":false},"baselines":{"no_intervention":"Every van keeps its remaining observed sequence under the same disruption.","nearest_feasible":"Pick the helper closest (estimated travel) to the delayed van; move every at-risk stop at the delayed van's position; insert each stop at its cheapest position. Rejected if capacity or the helper's shift limit is violated; then the next-nearest helper is tried; if none fits, no transfer.","spareline":"Search helpers x meeting points (current positions and next few stops of either van, within 8.0 km) x whole-stop transfer sets (route tails, at-risk stops, delivery zones). Screen with insertion, re-sequence the best candidates with OR-Tools while preserving the helper's own observed stop order, validate with an independent invariant checker, then apply the conservative travel check."},"objective":["1. Fewest missed packages across ALL vans (late windowed packages plus packages past shift limit).","2. No newly missed package on the helper (strict mode; reported for every policy).","3. Fewest late minutes, then least added driving plus waiting, then fewest moved stops."],"constraints":["Every undelivered package is assigned to exactly one van; none lost or duplicated.","Completed stops are immutable.","Receiving van volume never exceeds executor capacity at the handoff or after it.","Handoff starts only after both vans arrive at the same stop location, and lasts > 0 minutes.","Transferred stops are delivered only after the handoff ends.","Schedules move forward in time and never before the scenario cutoff."],"statuses":{"recommended":"A transfer helps and passes every constraint and the conservative travel check.","no_safe_rescue":"No transfer helps, or every helpful transfer makes the helper miss packages.","low_confidence":"A transfer helps under mean travel estimates but not under conservative ones.","timed_out":"Time limit reached; only fully validated candidates are returned."},"approval":"Approving a plan changes simulated dispatch state for your demo session only. Nothing is sent to any real driver. Parcels are recorded as transferred only after both simulated driver confirmations.","algorithm_version":"spareline-rescue-1.0.0","limitations":["Historical 2018 routes with anonymized, perturbed coordinates; not live operations.","Cross-route travel times are estimated and validated only against held-out within-route pairs.","Shift limit and handoff duration are declared assumptions.","No field validation with drivers or dispatchers has been done."],"reproduction":["python -m app.data.ingest --raw data/raw/almrrc2021 --out data/processed/bundle.json","python -m scripts.fit_travel_model","python -m scripts.evaluate --config evaluations/config.json","python -m app.data.seed"]},"evaluation":{"status":"completed","evaluation_id":"eval_20261110T185425Z_21dfd2fe","scenario_count":456,"completed_at":"2026-11-10T18:56:07.588553+00:00","algorithm_version":"spareline-rescue-1.0.0","config":{"name":"spareline-heldout-v1","seed":2026,"shocks":[{"kind":"delay","delay_minutes":75,"travel_time_factor":1.0},{"kind":"delay","delay_minutes":105,"travel_time_factor":1.0},{"kind":"traffic_multiplier","delay_minutes":0,"travel_time_factor":1.6},{"kind":"vehicle_failure","delay_minutes":0,"travel_time_factor":1.0,"failure_after_stop_index":0}],"baselines":["no_intervention","nearest_feasible"],"objective":"lexicographic: missed packages (all vans), helper newly missed (strict 0), late minutes, added drive + wait, moved stops","partition":"evaluation","donor_rule":"sorted(route_ids)[sha256(group_id) mod n]","max_groups":1000,"robustness":"recommend only if improvement holds and helper gains no missed package with every cross-route edge at q90","cutoff_rule":"40% of the donor's reconstructed route duration after departure","declared_at":"2026-11-10T19:00:00Z","time_limit_s":10,"travel_model":"xroute-quantile-1.0 fitted on development partition","declared_note":"Written after tuning on development-partition groups only and before running any evaluation-partition scenario.","group_selection":"All evaluation-partition groups from data/processed/bundle.json (same station + date, 2-4 routes, centroid <= 12 km, departure gap <= 90 min). No exclusions after results.","handoff_seconds":"300 + 15 per package","shift_slack_minutes":60},"metrics":{"packages":{"windowed_total":13894,"remaining_total":195279},"scenarios":{"total":456,"errors":0,"states":{"recommended":74,"low_confidence":76,"no_safe_rescue":306},"with_missed_packages_under_no_action":354},"abstention":{"low_confidence":76,"no_safe_rescue_with_missed_packages":204,"denominator_scenarios_with_missed_packages":354},"latency_ms":{"max":4703,"p95":3646,"mean":1870.1,"note":"solver wall time per scenario on the evaluation machine, excludes HTTP","median":2710},"helper_harm":{"spareline_recommendations":74,"nearest_feasible_transfers":56,"spareline_newly_missed_helper_packages":0,"nearest_feasible_scenarios_harming_helper":7,"nearest_feasible_newly_missed_helper_packages":14,"nearest_feasible_newly_missed_helper_packages_conservative":129},"solver_p95_ms":3646,"missed_packages":{"spareline":23593,"no_intervention":24474,"nearest_feasible":24889,"spareline_conservative_travel":23713,"denominator_remaining_packages":195279,"nearest_feasible_conservative_travel":25145},"delta_vs_nearest":{"tie":350,"packages_total":1296,"spareline_worse":4,"spareline_better":102,"mean_per_scenario":2.842,"ci95_mean_bootstrap":[2.243,3.518]},"windowed_on_time":{"spareline":12200,"no_intervention":12165,"nearest_feasible":12090,"denominator_windowed":13894},"delta_vs_no_action":{"tie":382,"spareline_worse":0,"spareline_better":74,"mean_per_scenario":1.932,"ci95_mean_bootstrap":[1.474,2.434],"packages_saved_total":881},"scenarios_with_safe_rescue":{"numerator":74,"denominator":456},"at_risk_scenarios_abstained":{"numerator":280,"denominator":354},"cost_of_recommended_rescues":{"count":74,"transfer_stops_mean":9.64,"extra_drive_minutes_mean":23.55,"handoff_wait_minutes_mean":7.1},"missed_packages_avoided_vs_no_action":{"numerator":881,"denominator":24474},"invariant_violations_in_emitted_plans":0,"helper_packages_newly_missed_by_spareline":0},"limitations":["Disruptions are simulated; routes are historical 2018 research data, not live operations.","Cross-route travel is estimated from distance; it is validated only on held-out within-route pairs.","The shift limit (planned finish + 60 min) and handoff duration are declared assumptions.","Only 7% of packages carry time windows; most missed packages come from the shift limit.","Results describe this model on this cohort, not field performance."]}}