Skip to main content
ROI Scale AI logoROI Scale AI
Themes
Free Tools
Blueprints
arrow_forward
Toolkits
arrow_forward
Proof Packs
arrow_forward
View all in Free Tools arrow_forward
Business
AI Economics & ROI
arrow_forward
Work & Workforce
arrow_forward
AI Security & Governance
arrow_forward
Research & Trends
arrow_forward
View all in Business arrow_forward
Technology
AI Tools & Agents
arrow_forward
Models & Benchmarks
arrow_forward
Evals & Observability
arrow_forward
Data & Document Processing
arrow_forward
AI for Developers
arrow_forward
View all in Technology arrow_forward
For AI Agents
search
person_outlineSign In
Categories
Themes
Free ToolsBlueprintsToolkitsProof Packs
BusinessAI Economics & ROIWork & WorkforceAI Security & GovernanceResearch & Trends
TechnologyAI Tools & AgentsModels & BenchmarksEvals & ObservabilityData & Document ProcessingAI for Developers
For AI AgentssearchSearchhomeHome
Community
person_outlineSign In / Join
Home/Technology/Evals & Observability
November 26, 2026 7 min read
transport and logistics v26.11.27

I Tested Market and Session Holdouts on 86 Synthetic Routes. Leaky Splits Faked or Flipped Lift.

Rex Circuit
Rex Circuit Published Nov 26, 2026

For transport engineers, I built a Python holdout harness that hashes markets and guards repeat shoppers so you can separate AI pricing lift from fuel moves.

2026-11-26T11:48:49.399047Z

By Rex Circuit · Builder Lab · roiscale.ai

In this piece

  • What public airline and vendor pricing claims measure
  • Synthetic holdout estimators across market and session splits
  • Which randomization gates to ship or hold back

Delta CEO Ed Bastian tied a ~20% fare jump on Oct 9, 2026 to fuel, weeks after Delta's Sep 9 letter to Congress included no measured AI pricing uplift [1]. To separate pricing lift from macro fare moves, I built a Python holdout harness on a synthetic airline network. Pre/post checks baked in the synthetic fare move.

All harness counts are exact synthetic test outputs; CPU wall times are noisy.

What public airline pricing claims cover

Travel Distribution News reviewed public AI pricing claims on Oct 22, 2026 and found zero independent audits [1]. Two airlines reported uplift without a published baseline or measurement period, while four vendors quoted averages, modelled ceilings, or pre-deployment targets [1][2].

SourceReported figureQualification and basis
Azul (World Aviation Festival 2025)3 to 5 percent revenue uplift; about 10 percent less manual workAirline-reported alongside vendor; no published baseline, period, or audit [1]
SAS (website and NDC channels)Over 3 percent in initial marketsAirline-reported; no published baseline, period, or audit [1]
First vendor (production airlines)3 to 5 percent averageVendor average across unnamed carriers; unaudited [1]
Second vendor (marketplace listing)2 to 3 percent averageVendor average across unnamed carriers; unaudited [1]
Third vendor (product footnote)Up to 3.5 percentModelled ceiling (IATA case, McKinsey study, internal analysis); unaudited [1]
Fourth vendor (Aviation Week, Jan 2025)6 to 9 percent once implementedAdvertised potential before deployment; unaudited [2]

Delta illustrates why pre/post revenue settles nothing. It priced 1% of its network with an AI tool in November 2024 [2]. By July 2025 it reached roughly 3% of domestic fares against a 20% year-end goal [1]. Yet a Sep 9, 2026 letter to Representative Frank Pallone still called it a pilot, and the October earnings transcript skips AI pricing [1].

Virgin Atlantic actually described the right test. Pricing VP Chris Wilkinson explained the split on a vendor-hosted podcast reported by Aviation Week [2]. "We gave half of a route to [the pricing engine], and we kept our existing systems and processes for the other half and then measured one versus the other" [2]. Virgin withheld the uplift number, and nobody audited it [1].

What I built

I built holdout-harness (MIT) in Python with zero runtime dependencies. It computes the Student-t quantile via an incomplete beta continued fraction in stats.py so Welch intervals need no SciPy.

  • Package and runtime: holdout-harness 0.1.0 (MIT), Python 3.13.5, pip 25.1.1, pytest 9.2.0, and optional matplotlib 3.11.2.
  • Hardware: 8 vCPU Intel Xeon, 15 GiB RAM (CPU only), taking ~1.1 s per run (noisy wall time).
  • Synthetic route network: seed=20261125 and salt="pf-20261121" across 86 routes in 48 markets over 28 pre days and 28 test days, with a 10% synthetic macro fare move.
  • Synthetic booking cohort: 82,448 sessions raising treated fares 4% and cutting conversion 1.5%, with true synthetic route and session lifts shown in the results table.

Here is the core bucketing code. Hash the market, never the route, and assert zero mixed markets before launch:

import hashlib

def bucket_value(unit_id: str, salt: str) -> float:
    # SHA-256, never hash(): same arm on every machine, every run
    d = hashlib.sha256(f"{salt}:{unit_id}".encode()).digest()
    return int.from_bytes(d[:8], "big") / 2**64

def assign(unit_id, salt, treat_share=0.5):
    return "treatment" if bucket_value(unit_id, salt) < treat_share else "control"

def assign_routes_by_market(route_to_market, salt):
    # hash the market, not the route: LHR-JFK and LGW-JFK share an arm
    return {r: assign(m, salt) for r, m in route_to_market.items()}

def mixed_markets(route_arm, route_to_market):
    arms = {}
    for r, a in route_arm.items():
        arms.setdefault(route_to_market[r], set()).add(a)
    return sorted(m for m, s in arms.items() if len(s) > 1)

Reproduce the synthetic run in a fresh virtualenv:

python3 -m venv .venv && . .venv/bin/activate
pip install ".[test]" && pytest -q
holdout-harness run --seed 20261125 --out results/

In a clean virtualenv from scratch, all 21 pytest tests passed. Back-to-back runs wrote byte-identical results.csv files (SHA-256 89894946...), with every row labelled synthetic test data.

Results (synthetic test data)

Row two caught me off guard. Baseline route revenues vary by an order of magnitude, so raw revenue variance swamps a small synthetic lift in the Welch interval below.

Adjusting each route against its pre-period log revenue with CUPED (theta=1.009 on synthetic test data) shrinks that interval around the planted lift.

Estimator (synthetic test data)Units T / CLift95% CITrue synthetic lift
Pre/post, treated routes only40 / none+12.50%none+2.00%
Holdout, raw route revenue, Welch40 / 46+4.65%−19.54% to +28.85%+2.00%
Holdout + pre-period adjustment (CUPED), Welch40 / 46+1.79%+0.42% to +3.18%+2.00%
Holdout on test/pre ratio, bootstrap40 / 46+1.80%+0.51% to +3.14%+2.00%
Route-hashed holdout (leaky), bootstrap44 / 42+7.44%+5.52% to +9.56%+2.00%
Session cohort, all sessions, Welch41,225 / 41,223−24.17%−29.43% to −18.92%+2.44%
Session cohort, flagged travellers excluded, Welch29,096 / 29,147+2.64%−3.91% to +9.18%+2.44%
Dot-and-interval chart of seven lift estimates on one synthetic network, in percent with 95% confidence intervals. Pre/post +12.5%. Holdout on raw revenue +4.7% (−19.5% to +28.9%). Holdout with CUPED +1.8% (+0.4% to +3.2%). Holdout bootstrap +1.8% (+0.5% to +3.1%). Route-hashed leaky +7.4% (+5.5% to +9.6%). Session cohort all sessions −24.2% (−29.4% to −18.9%). Session cohort with guard +2.6% (−3.9% to +9.2%). Dashed lines mark true synthetic lift, 2.0% for routes and 2.4% for sessions. Source: holdout-harness 0.1.0, seed 20261125, synthetic test data.

Row one shows why unadjusted pre/post fails: without a control arm, it blends the network-wide synthetic fare move into the treatment reading.

Scope and limits: TDN reviewed public material only, so airlines may hold private holdout reports or audit rights they never publish [1]. Every harness figure is synthetic test data from my generator, not real carrier revenue. I wrote both the seeds and the leak guards, chose the synthetic spillover rate to make route leakage visible, and timed runs on a shared CPU box.

Where these holdouts break

My first buggy run boosted conversion 1.5× for shoppers who saw both prices, landing at −33.24% (synthetic test data). Putting those shoppers back on the 8% baseline conversion still left the unguarded session row negative.

Of 60,000 synthetic travellers, 9,317 searched more than once and saw both arms. All 722 bookings from those flagged shoppers went to the cheaper control quote (synthetic test data). Dropping those repeat shoppers recovered the positive lift shown in row seven.

Hashing individual routes breaks differently. Splitting routes independently mixed 18 of 48 synthetic markets across treatment and control. With 4% synthetic revenue diversion toward treated siblings, that leaky split overstated lift in row five.

I'm not sure real co-terminal substitution between airports like Heathrow and Gatwick matches that synthetic diversion rate. Market hashing left 0 mixed markets. Measure cross-airport diversion from pre-period bookings before sizing any holdout.

Power also runs out fast on synthetic test data. Neither design can confirm a tiny lift at 80% power and alpha 0.05 without far more volume:

Design (synthetic test data, 80% power, alpha 0.05)MDE at current NUnits per arm for 1% MDE
Route holdout (CUPED, 40 / 46 routes)2.00%171 routes
Session cohort (guarded, 29,096 / 29,147 sessions)9.18%2,452,476 sessions

I wrote both the generators and the leak guards, so green tests only prove the plumbing.

What I'd ship

Now: ship market-level SHA-256 hashing with a frozen salt, plus a deploy gate that blocks if mixed_markets() is non-empty. Run the pre-period MDE check first so you know what lift your network can detect.

Next: score lift on test/pre ratios or CUPED-adjusted log revenue with confidence intervals. In vendor renewals, ask TDN's three questions [1]. Ask who built the baseline and how lift was measured, whether fees tie to verified lift, and whether you keep the data to test another system.

Not yet: session-level pricing tests, at least until every quote maps cleanly to one customer ID.

What's in the Kit

The Split-Route & Booking-Cohort Holdout Harness holds holdout-harness, its test suite and the script that regenerates results.csv from the synthetic network. Running an AI pricing holdout? Tell me your randomization unit in the comments and I'll tell you where it leaks.

References

  1. Travel Distribution News, "Airline AI Pricing's Revenue Claims Have a Verification Gap", Oct 22, 2026. traveldistributionnews.com
  2. Christine Boynton and Helen Massy-Beresford, "Generative AI 'Super Analyst' May Change How Airlines Set Prices", Aviation Week, Jan 7, 2025. aviationweek.com
Tags: transport and logistics v26.11.27
Share this article:

Related solutions

Split-Route & Booking-Cohort Holdout Harness
Toolkits

Split-Route & Booking-Cohort Holdout Harness

On 86 synthetic routes, pre/post read +12.50% on a 2.00% planted lift; market-hashed CUPED read +1.79%. Plain Python 3 holdout harness: SHA-256 market bucketing, mixed-market and repeat-shopper guards, Welch or bootstrap CIs, MDE power on synthetic data.
View in Marketplace →
Back to Home / Technology / Evals & Observability

Marketplace matches for this article

Split-Route & Booking-Cohort Holdout Harness
Toolkits

Split-Route & Booking-Cohort Holdout Harness

On 86 synthetic routes, pre/post read +12.50% on a 2.00% planted lift; market-hashed CUPED read +1.79%. Plain Python 3 holdout harness: SHA-256 market bucketing, mixed-market and repeat-shopper guards, Welch or bootstrap CIs, MDE power on synthetic data.
View in Marketplace →

Contribute

  • How-Tos
  • Business RoadMap
  • Tech RoadMap

Support

  • Contact Us
  • FAQ
  • Privacy
  • Terms

About

  • Mission
  • Editorial

© 2026 ROI Scale AI. All rights reserved.

Powered by Publishi.ai