Empirical results
Every number published in contextlift is pinned by a test in tests/ to a committed run in docs/evidence/ or examples/. The machine-readable source of truth is docs/assets/results.json.
All intervals below are per-question 95% paired Tango score intervals with continuity correction (metrics.paired_difference_interval), paired with exact two-sided McNemar p-values.
Published results table
| Context change | Questions | Lift, points [95% CI] | McNemar p | Verdict | Evidence |
|---|---|---|---|---|---|
| BIRD evidence sentences written by people, 3 databases (K=1, no holdout split) | 39 | +23.1 [+1.2, +43.6] | 0.0352 | REAL GAIN | examples/bird/run.py |
| BIRD evidence sentences, 11 databases (25.4% selective coverage, oracle table routing) | 65 | +18.5 [+4.6, +32.7] | 0.0044 | REAL GAIN | examples/bird/enterprise_result.json |
| BEAVER verified-query worked examples, 97-table warehouse | 69 | +10.1 [+0.2, +21.8] | 0.0391 | REAL GAIN | examples/beaver/result.json |
| LookML read into rules, no written descriptions | 102 | +2.0 [-4.8, +9.3] | 0.6875 | NOT PROVEN | round-2026-09-12.txt |
| Oracle selection vs 22 KB blob, 3 databases | 450 | -2.2 [-5.9, +1.4] | 0.2451 | NOT PROVEN | blob-vs-selection.txt |
| Oracle selection vs 22 KB blob, Toxicology | 139 | -8.6 [-17.0, -0.8] | 0.0290 | REAL LOSS | blob-vs-selection.txt |
| Repairing quoted enum literals against live column values | 450 | +1.3 [-1.1, +3.9] | 0.3075 | NOT PROVEN | repaired-literals.txt |
Reproduce the headline BIRD row offline with zero keys and zero network:
make example-bird
Reproduce the BEAVER 97-table warehouse tour and 11-database BIRD tour offline:
make example-beaver
make example-bird-enterprise
make example-thelook
Three findings that shaped contextlift
- Sending everything beat perfect retrieval. Giving each question only its own oracle-selected sentence instead of sending the full 22 KB context bundle scored -2.2 points across 450 questions (
NOT PROVEN) and -8.6 points[-17.0, -0.8]on Toxicology (7 fixed, 19 broke,p = 0.0290,REAL LOSS). Even perfect per-question filtering can starve cross-table context when the whole ruleset fits easily in the prompt. (Run) - A BI model with no written descriptions is not context. Reading LookML straight into rules without human business descriptions scored +2.0 points over 102 held-out questions (
p = 0.6875,NOT PROVEN). Looker's public project also carried a silent schema mismatch (orders.idvs BigQueryorders.order_id), which motivated building live warehouse checks intolint. (Run) - Models almost never ask for more context. Instructed to reply
INSUFFICIENTrather than guess when definitions were missing, the model escalated on only 2 of 139 questions (1.4%). That run had no positive control, so it cannot separate a model that refuses to escalate from a prompt instruction it ignores. (Run)
On the 97-table BEAVER warehouse, hand-written rules scored -0.7 points on the working set; switching to leak-checked verified-query worked examples (with 3 template twins banned) delivered +10.1 points [+0.2, +21.8] (p = 0.0391, REAL GAIN, 1 regression dw_247).
Retraction postmortem (WITHDRAWN)
An earlier v0.1.0 class ablation on thelook reported a large worked-examples penalty (-27.0 points [-37.8, -16.2] and -24.3 points [-34.8, -13.9], with cost per correct answer halving from $0.0004 to $0.0002). Those figures were WITHDRAWN on 2026-12-02 (v0.2.0):
- Root cause:
_cmd_classesscored rawCaApiRunnerreplies without calling_lookups(), grading 22 Conversational AnalyticsmatchedQueryhits (pred_sql=None,matched_exampleset) as0/22PRED_ERROR. - Scope: that run was one schema, one model, one repetition, and had the scoring bug above.
- Record: the raw run output remains committed in docs/evidence/classes-thelook-cost.txt and the full postmortem is archived in docs/research/CASE_STUDY.md.
Research monographs and archive
For readers who want the full campaign narratives, methodology proofs, and historical engineering notes:
- Case study: complete campaign logs (
thelook, BIRD, BEAVER, negative results, retraction postmortem). - Two-round walkthrough: annotated Round 1 (
UNDERPOWERED) to Round 2 (REAL GAIN) progression. - Methodology: paired test derivation, Tango intervals, and resolvable-lift power math.
- Thirteen context practices: practices paired beside their measured effects.
- Context sources: where rules, column descriptions, vocabulary, and examples belong.
- Attribution: AST diff attribution and leave-one-out confirmation.
- Onboarding notes, Cold run, Roadmap, and Architecture decisions.