Qure
Research

How the E2E study was done

How the study selected and classified commits, checked accuracy, and compared E2E test changes across projects and time.

By Konstantin S.11 min read
Four white bars over a sky at night, narrowing from all commits to the E2E changes the study kept

This is the method behind Why E2E tests change. The analysis used a fixed Git snapshot. HekaJev sent commits selected by E2E test paths to Jev and saved the model’s decisions.

What the study covered

Across 21 public repositories, the analysis screened 468,566 non-merge commits for changes in current and historical E2E test paths. That left 20,026 candidates for Jev.

Jev classified 16,024 as E2E changes from their messages, paths and patches. Only path-selected commits were sent to Jev. The Git snapshot ends on September 21, 2026.

From Git history to E2E changes

Commits at each step of the selection

  • Commits in source histories549,224
  • Non-merge commits screened468,566
  • Path candidates sent to Jev20,026
  • Classified as E2E16,024
  • Relevance unresolved3,154
  • Classified as out of scope848

The last three rows split the 20,026 path candidates.

The sample includes 19 open-source projects, Mattermost with mixed licensing, and source-available n8n. It is not representative of all E2E work.

Path selection misses changes outside E2E locations, including some CI and lockfile work. The histories cover different periods.

WordPress/gutenberg, woocommerce/woocommerce and streamlit/streamlit contribute 51.3% of E2E-classified commits, so combined percentages are weighted toward larger projects.

How changes were classified

HekaJev sends commit messages, changed paths and text patches to Jev (jev-1.13.0). Two questions identify E2E changes; six classify reasons. Python combines the saved decisions.

A reason is selected when any text chunk reaches 0.8 probability; values between 0.2 and 0.8 stay unresolved. A reason is rejected only when all evidence is complete and every chunk is negative. The study did not run tests; Jev could not see PR discussions, unchanged files or binary snapshots.

Reason What it means
New coverage Add a scenario, regression test, or meaningful check.
Product adaptation Update an existing test to match a change in the product’s expected behavior.
Environment & tooling Maintain the runner, browser, dependencies, or E2E infrastructure.
Flakiness repair Fix inconsistent test behavior when the change provides evidence of it.
Test refactoring Reorganize tests without changing what they check.
Test bug repair Fix a test bug that occurs consistently while the product’s expected behavior stays the same.

View in the report

How to interpret the percentages

  • Overall percentages use 16,024 E2E-classified commits. Project and time comparisons state their own sample. Labels can overlap.
  • Maintenance counts 7,250 distinct commits with at least one non-coverage reason. A commit can also have a new-coverage label.
  • The shares describe model-selected labels, not verified causes or engineering hours.
  • 4,263 commits (26.6%) have no confident reason. This reflects the model, evidence and defined categories, not a lack of purpose. Other commits may have some unresolved categories.

A separate audit of 100 commits

AI reviewers assessed 100 commits in 120 blind reviews. Twenty commits were reviewed twice, and disagreements were checked again. Cases span labels, projects and years. This is a spot check of selected labels, not human-verified accuracy for the full dataset.

Category Confirmed Refuted Unresolved Precision 95% interval
New coverage 16/16 0 0 100.0% 80.6 to 100.0%
Product adaptation 12/16 4 0 75.0% 50.5 to 89.8%
Environment & tooling 17/17 0 0 100.0% 81.6 to 100.0%
Flakiness repair 14/17 1 2 93.3% 70.2 to 98.8%
Test refactoring 13/17 3 1 81.3% 57.0 to 93.4%
Test bug repair 5/17 3 9 62.5% 30.6 to 86.3%

Confirmed, refuted and unresolved primary labels in the AI audit. Precision and intervals are among resolved audit decisions. Wilson intervals describe these small samples, not population accuracy.

Test-bug repair is the least certain category: 9 of 17 cases remain unresolved. Product history or PR discussion may be needed. The audit did not measure missed cases (recall).

Following a change through file history

The follow-up analysis uses saved Jev labels and Git history, with no new model calls. Starting commits must be E2E changes to a selected test file and have 30 days of later history.

A follow-up must descend from that commit, touch the same path within 30 days, and have the relevant label. Deletion, rename or recreation ends the path; merge-only changes are excluded. Each starting commit counts once.

New-file coverage starts with a Git-added test file, excluding snapshots, fixtures, generated files and assets. Maintenance means any of the five non-coverage labels. A shared file does not prove the same test failed or that a fix failed.

Coverage commits adding new test files

Among 1,921 eligible coverage commits across 21 projects, 646 have a later change labeled as maintenance on a newly added file within 30 days (33.6%). Each starting commit counts once, and every one has a full observation window. A follow-up can reflect normal product changes.

Group New-file coverage, then maintenance Flakiness, then flakiness
All projects 33.6% (646/1,921) 28.2% (275/974)
OSS only 31.6% (507/1,602) 28.8% (256/888)
Complete commit evidence 33.0% (622/1,883) 28.2% (272/963)
Starting commits from 2024 to 2026 33.4% (357/1,069) 30.9% (203/658)
One selected E2E file at both ends 14.0% (65/465) 10.8% (50/463)

Thirty-day outcomes; each column has its own eligible originating commits. The single-file check narrows both the sample and the links counted; it is not a corrected failure rate. Labels apply to whole commits, so a follow-up does not prove a test failed or measure maintenance hours.

Download the selected commits, starting-commit records and file links. View in the report.

Repeated flakiness labels in a shared test file

275 of 974 eligible starting commits labeled as flakiness repairs have another such follow-up within 30 days (28.2%), across 19 projects. Requiring one selected E2E file at both ends gives 50/463 (10.8%). Both the sample and the rules for linking changes become narrower. This is not an estimate of how often fixes fail.

View in the report

Comparing changes over time

Calendar years use UTC committer dates. The report’s calendar chart pools all available projects, so its project mix changes over time; sparse years through 2018 are combined. The 2026 point ends on September 21. The fixed-project comparison below uses January 1 to September 21 in every year.

Checking the new-coverage rise

The same-window check uses the downloadable commit file and January 1 to September 21 in 2025 and 2026. New-coverage labels appear in 699 of 2,006 E2E commits (34.8%) in 2025 and 1,473 of 3,085 (47.7%) in 2026. Excluding each project in turn leaves a rise of 10.3 to 17.2 percentage points.

Gutenberg and Mattermost contributed 419 of the 774 additional coverage-labeled commits. Excluding both still leaves a 7.5-point rise. Of 20 projects with E2E changes in both years, 12 saw their coverage share rise, seven saw it fall and one stayed flat. Among 15 projects with at least 20 E2E commits in each year, the equal-project average rose from 31.8% to 45.3%. These checks do not identify the cause or establish an AI effect.

View in the report

The same projects across 2024, 2025 and 2026

The report keeps the same 13 projects across all three years. Each has at least 20 E2E and 100 non-merge commits from January 1 to September 21 in every year. Combined rates give more weight to busier projects.

Year Flakiness labels E2E commits All non-merge commits
2024 162 2,051 32,401
2025 172 1,901 25,225
2026 271 2,713 41,005

Counts for the same projects, January 1 to September 21 each year.

View in the report

Why combined rates and project averages differ

Flakiness-repair share rises in 11 of 13 projects among E2E commits, and in 10 of 13 among all commits. Equal project weighting gives a rise from 0.744% to 1.055%; pooling commits gives 0.682% and then 0.661%. Neither measures failing tests or time spent.

Project age: a different view of time

Year 1 starts at each history’s earliest reachable commit, using its committer date. This is recorded Git age, not necessarily the product’s or test suite’s age. The report chart pools complete years across 21 projects; the mix changes with age.

Reason lines show the share of E2E commits with each label. Labels overlap; maintenance counts each commit with any of five maintenance labels once. A share without its denominator is undefined, not zero.

On the report chart, sparse years become one point: ages 12+ and calendar years through 2018. The report chart pools projects within each original year, then averages the defined yearly shares equally. Later ages can represent only one project.

Age patterns cannot isolate project maturity from tools, AI use or project selection. Repair labels do not measure failed tests or engineering hours.

Exploratory AI comparisons

The dataset contains 805 explicitly AI-attributed E2E commits from January 1 to September 21, 2026. Attribution comes from commit messages; unmarked commits may also use AI. The report compares groups within 2026. Historical baselines mix AI attribution with changes over time.

AI-attributed 2026 versus unmarked 2026

The report compares 664 AI-attributed E2E commits from 2026 with 1,483 unmarked observations from 2026 across 7 projects, January 1 to September 21, 2026.

Both groups come from the same year. The comparison matches them within each project and calendar quarter. Each project-quarter group (cell) needs at least five observations from each side, and each project needs twenty per side. Within a project, a quarter gets more weight if it has more AI-attributed observations. Each project then receives equal weight. Data from earlier years are not required. All six reasons use the same sample. Later maintenance uses a separate sample of starting coverage commits that meet the follow-up rules.

Measure Unmarked 2026 AI 2026 Difference, pp Relative, % 95% interval, pp
New coverage 44.79% 50.47% +5.7 +12.7 -3.0 to +14.4
Product adaptation 30.96% 27.77% -3.2 -10.3 -11.1 to +5.3
Environment & tooling 4.88% 2.37% -2.5 -51.5 -6.8 to +1.4
Flakiness repair 10.88% 12.11% +1.2 +11.3 -3.6 to +7.6
Test refactoring 2.09% 3.60% +1.5 +72.7 -2.5 to +7.7
Test bug repair 1.05% 1.74% +0.7 +66.1 -0.4 to +2.1

Unmarked 2026 and AI-attributed 2026, matched projects and quarters. Included projects: WordPress/gutenberg, calcom/cal.diy, mattermost/mattermost, n8n-io/n8n, streamlit/streamlit, umbraco/Umbraco-CMS, woocommerce/woocommerce. Intervals come from 10,000 project resamples (project bootstrap, seed 42). This does not account for systematic classification errors. To calculate a relative difference, the calculation divides the difference in percentage points by the unmarked rate. These exploratory comparisons have no adjustment for multiple testing.

Attribution comes from a marker in the commit message. It does not verify AI use or measure how much work AI produced. Unmarked commits may also include AI-assisted work. The groups may differ in their tasks, authors’ behavior and whether they mention AI use. Comparing the same year does not show what effect AI caused.

Coverage labels also rise among unmarked commits: from 32.75% to 44.21% between 2025 and 2026 across 14 matched projects. Fewer unresolved decisions could explain part of the change.

Download AI comparisons and matching cells (JSON). View in the report.

How much does the baseline change the answer

The three baselines keep the AI group, projects and seasonal weights the same. This shows how the choice of reference year affects the result. Comparing earlier years mixes changes over time with AI attribution. Even within 2026, the groups may differ in which tasks they do and how they record AI use. Neither comparison establishes an AI effect.

Every row uses the same 664 AI-attributed E2E commits from 2026 and the same 7 projects. Only the unmarked baseline year changes. Coverage labels include new scenarios, regression checks and extensions of existing tests. They do not measure how many new test cases AI produced.

Unmarked year Unmarked n Unmarked, % AI 2026, % Difference, pp 95% interval, pp
2024 1,407 42.11 50.47 +8.4 -11.3 to +29.0
2025 1,269 36.67 50.47 +13.8 +0.1 to +30.2
2026 1,483 44.79 50.47 +5.7 -3.0 to +14.4

New coverage: fixed AI-attributed 2026 group, alternative unmarked baseline years. Percentages of commits classified as E2E, using January 1 to September 21 in each year. The comparison uses the same seasonal quarters, keeps the AI-based quarter weights fixed, and gives each project equal weight.

Historical baselines need earlier matching observations: 7 projects for reasons and 3 for maintenance. The within-2026 maintenance comparison has 4. Intervals resample projects, not individual commits. They do not account for systematic errors in labels or AI attribution, and they do not establish an AI effect.

Does AI-attributed coverage get more follow-up work

The comparison uses 199 AI-attributed coverage commits eligible for follow-up from 2026 and 498 unmarked observations from 2026 across 4 projects: origins from January 1 to August 21, 2026, with a 30-day follow-up. Each percentage includes qualifying coverage commits with 30 days of later history, whether or not maintenance was observed.

Measure Unmarked 2026 AI 2026 Difference, pp Relative, % 95% interval, pp
Later maintenance (30 days) 40.40% 40.83% +0.4 +1.1 -6.7 to +7.8

Included projects: WordPress/gutenberg, mattermost/mattermost, n8n-io/n8n, streamlit/streamlit. The matching, intervals and caveats are the same as in the comparison above.

Repeat the analysis

This study used HekaJev, a Git analysis tool built with Jev. The research README has the full reproduction guide, including how to recalculate saved results without a new model run. The prompt below starts a new run through the TypeSafe API.

Replace <REPOSITORY> and paste this into your coding agent. Make your TypeSafe API key available in its environment.

Plain text
Use HekaJev (https://github.com/zurk/hekajev) to analyze <REPOSITORY>.
Read its README and examples/e2e.yaml. Identify current and historical E2E paths and pin a revision.
Use TYPESAFE_API_KEY from my environment. Run a dry-run and small sample before the full scan.
Save the results; report the scope, labels, unresolved cases and API cost.
For this exact study, follow research/e2e/README.md in the HekaJev repository.

View the study configuration or explore the results and downloads.

The recorded run reported $23.20 in API usage, excluding pilots, audit work and 27 requests without usage figures. A new run may return different answers.

Earlier work examines why GUI tests change, how they change alongside products, and what causes flaky tests or test-code bugs. This study asks a narrower question: why commits touching E2E tests changed across 21 projects. Of 16,024 E2E commits, 7,250 have a maintenance-related label and 6,149 have a new-coverage label. These groups overlap. The counts do not show that maintenance takes more engineering time.

Di Meglio et al. studied web GUI testing in 472 projects; Coppola et al. inspected Android test changes in 423. The 549,224 source-history commits include unselected changes: Jev classified only 20,026 commits selected by path. These studies count tests, files or selected changes differently, so raw sample sizes and percentages are not directly comparable.

Topics

Share

Keep reading

All articles

  • Research

    Why E2E tests change

    A commit-level study of 16,024 E2E changes across 21 open-source repositories. Explore what changes, how it shifts over time, and the data behind it.