Skip to content

Systems and records

Historical exception distribution drift: when a rarity becomes the norm

By SourceX Editorial · Updated

10 sections

Short answer

Historical exception distribution drift happens when the share of records that are exceptions moves with policy, markets, who creates the records or what gets recorded, so a model trained on pooled history learns a base rate no period had. In GCC's commit history, a sign-off line ran 2 in 7,743 commits in 2019 and 31.9% in 2026; the 2019-2024 pooled rate, 9.1%, matched no year. Date each regime before you train.

System export

Historical exception

This page covers historical exception distribution drift: when a rarity becomes the norm.Illustrative

Key takeaways

  • Exception rates move for four reasons: policy, market shocks, a change in who creates records, and a change in what gets recorded.
  • In GCC's master history at commit 9c87af2, signed-off commits went from 8 in May 2021 to 82 in June 2021, the month the steering committee announced it would no longer require copyright assignment.
  • A pooled base rate can describe no real period: the 2019-2024 GCC rate of 9.08% sat at least 2.9 points from every year in that window.
  • Prior correction is valid only when the inputs behind each class stay the same; a rule that redefines the exception needs regime tags or relabeling.
  • One batch can fake a new norm: in January 2024, 863 of 993 signed-off GCC commits came from a single front end's import.

What is historical exception distribution drift, and what does it break?

Historical exception distribution drift is a change over time in how often a record is an exception: a refund outside policy, a manual override, an escalation, a missing approval. It happens when policy, market conditions, the mix of people creating records or the recording rules change, so a dataset spanning several years carries a base rate set partly by eras that no longer exist.

Three things break when that goes unnoticed. A classifier's predicted probabilities lean toward the old frequency, so thresholds tuned on history fire too often or too rarely. Review and alert volumes planned from history miss the real load. And an evaluation set sampled from the archive tests the model at the wrong prevalence, which moves precision even when the model itself is sound.

The repair starts with dating, not modeling. Find when the share moved, attach a documented cause to each move, and only then choose among reweighting, splitting the data by regime and relabeling.

From 2 in 7,743 to nearly 1 in 3: one trailer across GCC's history

A public record shows how quickly a rarity can become routine. SourceX counted commits on the master branch of the GCC mirror on GitHub (gcc-mirror/gcc, commit 9c87af2, read October 27, 2026) whose message contains a line beginning Signed-off-by, the certification GCC accepts from contributors who have not assigned copyright to the Free Software Foundation. In June 2021 the GCC steering committee announced that the project would accept contributions with or without an FSF copyright assignment, pointing contributors without one to the sign-off.

Counting rules: commits are dated by committer date, every commit on master from 2017 onward is included, and the last column drops commits whose subject starts with gccrs or a68, the prefixes of two front ends that landed after the policy change. The 2026 row runs to October 27.

The step is plain in monthly counts: 2, 0, 1, 1 and 8 signed-off commits from January to May 2021, then 82 of 805 in June. The yearly shares below kept climbing long after that month, which is the part a dataset builder logging only the policy date would miss:

From 2 in 7,743 to nearly 1 in 3: one trailer across GCC's history
YearCommitsWith sign-offShareShare without new front ends
20197,74320.03%0.03%
20208,761330.38%0.38%
20218,0374465.55%5.55%
20227,0934386.18%6.09%
20239,1401,10112.05%11.12%
20249,7422,56826.36%18.71%
20259,5272,62327.53%20.97%
2026, to October 277,9632,53931.88%26.87%

Four forces behind an exception's changing share

Every move in an exception rate traces to policy, a market shock, a change in who creates the records, or a change in what gets recorded, and each force calls for a different response. Policy changes what is allowed or required: GCC's 2021 update made the sign-off an ordinary route in. In business records, the U.S. Department of Transportation's final rule of April 24, 2024 requires airlines to refund passengers automatically when a flight is cancelled or significantly changed and the passenger does not accept the alternative offered, turning a request customers once had to make into a default.

Market shocks change how often the triggering event happens. DOT logged 102,550 airline complaints in 2020, up 568.4% from 15,342 in 2019, and 89,518 of them, or 87.29%, concerned refunds, according to its full-year 2020 Air Travel Consumer Report; DOT notes that it has not verified the complaints. A contact-reason model trained on 2019 complaints would have met a queue dominated by one class.

Composition changes who is creating the records. GCC's Rust front end arrived in batches: in January 2024, 974 of the month's 1,797 master commits carried its gccrs prefix, and 863 of them carried a sign-off, out of 993 signed-off commits that month. Leaving out the two new front ends cuts the 2024 share from 26.36% to 18.71%.

Recording rules change what the data can show. GCC's MAINTAINERS file keeps a section headed Contributing under the DCO, whose 73 name-and-address entries at commit 9c87af2 certify that all their subsequent contributions fall under the Developer's Certificate of Origin, and the project's DCO page treats the per-commit line as required for contributions covered by neither that list nor an assignment. A trailer count therefore tracks explicit certification, not how much work is covered, the same trap as an exception code that only some teams bother to use.

The pooled base rate that matches no period

Pooling years averages regimes into a number that may describe none of them. A dataset assembled in early 2025 from 2019 to 2024 GCC history would put the sign-off rate at 9.08%, or 4,588 of 50,516 commits; no year in that window came closer to it than 2.9 points, the years ranged from 0.03% to 26.36%, and 2026 so far runs at 31.88%.

A model trained on that pool inherits 9% as its prior and is miscalibrated in every year it is used, with the error growing as the regime moves on. The same arithmetic applies to a refund-exception classifier trained across a policy change: its pooled rate belongs to no quarter it will ever score.

When the inputs behind each class are stable and only the class shares moved, the correction is mechanical: multiply each class's predicted probability by the ratio of its current share to its training share, then renormalize. Alexandari, Kundaje and Shrikumar (ICML 2020, arXiv 1901.06852) found that estimating the new shares by maximum likelihood, the EM approach of Saerens and colleagues, works well once it is paired with bias-corrected calibration, because the method assumes calibrated probabilities.

Illustrative arithmetic shows the size of the effect. Suppose a refund-exception model was trained when exceptions were 5% of tickets and now scores a queue where they are 15%. A ticket it rates at 40% becomes about 69% after correction, so a 50% review threshold that once skipped it now sends it to a person. Precision moves too: a model that catches 80% of exceptions and wrongly flags 5% of ordinary tickets has precision near 46% at a 5% share and near 74% at 15%, with no change to the model at all.

A timeline from 2019 to 2026 with one circle per year sized and labeled by the share of GCC master commits carrying a sign-off line, from 0.03 percent to 31.88 percent, a bracket over 2019 to 2024 marking the pooled 9.08 percent that no year matches, and flags for the June 2021 policy update and the January 2024 front-end batch.
Share of GCC master commits with a Signed-off-by line by year (committer date; 2026 to October 27). Source: SourceX count of github.com/gcc-mirror/gcc at commit 9c87af2.

Did the share move, or did the meaning move?

Prior correction is valid only under label shift, which Lipton, Wang and Smola (ICML 2018, arXiv 1802.03916) describe as the case "where the label marginal p(y) changes but the conditional p(x|y) does not." Their black box shift estimator recovers current class shares from unlabeled recent records using a trained model's confusion matrix, and it needs only that the matrix be invertible.

A policy change usually breaks that assumption. After DOT's automatic refund rule, the same cancelled flight follows a different handling path, so a case that used to be an exception becomes the routine one: what an exception looks like has moved, not just how often it occurs. Reweighting such records teaches yesterday's rule at today's frequency.

Three tests sort the cases. Compare the inputs of exceptions before and after the change date; if they differ, more than label shift is at work. Replay a sample of old cases under the new rule; if labels flip, the meaning changed and those labels need regime tags or relabeling. Estimate current shares with a black box estimator on unlabeled recent records and compare the estimate with a small labeled audit; disagreement signals a shift the estimator's assumption does not cover.

Reweight, split by regime or relabel: matching the treatment to the cause

Causes often overlap. GCC's 2024 jump mixed a policy already in force, a new group of contributors and steady adoption by everyone else, and a business archive can mix a rule change with a seasonal surge in the same quarter. Apply treatments in a fixed order: remove identifiable batches, separate new creator groups, then test what remains for label shift before reweighting anything.

Each force maps to a treatment, and each treatment needs its own evidence before it is applied:

Reweight, split by regime or relabel: matching the treatment to the cause
FindingTreatmentEvidence before using it
Share moved, inputs per class stable (market shock)Correct priors to the current regime and keep all recordsA current share estimate with an interval; inputs compared across periods
A rule changed what counts as an exception (policy)Tag records by regime; train on the current regime or relabel old records under the new ruleA dated rule change from a primary source; a replay sample showing which labels flip
A new group of record creators (composition)Report shares with and without the group; weight by the mix expected in useA field that identifies the group; period counts for each part
The recording rule changed (capture)Treat the field as a measure of recording, not of the event; find a second sourceThe documented capture rule and its start date
One batch arrival in one periodExclude or spread the batch before estimating prevalenceA batch identifier, its size and its load or commit date

The exception-prevalence card: fields that keep regimes visible

Ship the prevalence history with the dataset, not only the records, so a buyer can see each regime before training on it. A card with these fields does that, shown here with values from the GCC count:

The exception-prevalence card: fields that keep regimes visible
FieldContentsExample from the GCC count
Exception definitionThe exact rule or field value that marks a record as an exceptionA message line starting Signed-off-by
Period tableCount, exception count and share per period, with denominators2,539 of 7,963 commits in 2026 to October 27
Change-event registerEach dated policy, market, composition or capture change, with its sourceJune 2021 copyright assignment policy update
Composition markersFields that identify new creator groups or batch loadsgccrs and a68 subject prefixes
Capture rulesWhen, and by whom, the field must be recordedPer-commit line not needed for contributors on the MAINTAINERS DCO list
Pooled versus current shareThe pooled training share beside the latest period's share9.08% for 2019 to 2024 against 31.88% in 2026
Target regimeWhich period's share the model should assume in use, and how it was estimatedLatest full period, or a labeled audit with an interval

Change-impact checklist when a rule or market moves inside the window

Before records from both sides of a change go into one training set, work through these questions:

Checklist · 8 items

  1. Is the change dated from a primary source, with its effective date rather than only its announcement date?
  2. Does the monthly share show a step at that date, or a gradual climb that needs a second cause?
  3. Do exceptions before and after the date look alike on their inputs?
  4. Would a sample of old exceptions keep their labels under the new rule?
  5. Did a new group of record creators or a batch load arrive in the same period?
  6. Did the capture rule change, so that the field now records more or fewer events than actually occur?
  7. Which regime will the model serve, and is that regime's share estimated with an interval?
  8. Does the evaluation set use the target regime's share, or the archive's pooled share?

0 of 8 ticked. Tick each item as you go.

Could the new share be a batch artifact rather than a new norm?

Yes, and the GCC record shows how. One month's import can carry most of a period's exceptions: the 863 front-end sign-offs of January 2024 were 87% of that month's 993. A dataset cut that ended just after a batch like that would report a jump the rest of the work never showed, which is the strongest alternative explanation for any new rate.

Two rules keep a batch from passing as a regime. Require the new share to hold for at least two consecutive periods after identifiable batches are removed, and check it inside subgroups. In GCC's case the share without the new front ends still rose every year, from 6.09% in 2022 to 26.87% in 2026, so the climb was broader than one team. A share that persists across subgroups is a norm to train on; one that lives inside a single batch is an event to log.

Requesting exception records with their regimes attached

When buying exception data, ask for dates and causes along with the rows. SourceX does not keep an inventory of datasets; it sources them from U.S. businesses to fit each buyer's request, which makes the request the place to specify the exception definition, the period table and any policy changes the buyer already knows about.

A supplier may not know every market shift that touched its records, so the request should also ask for raw monthly counts by exception type, which let a buyer find steps the supplier never logged. Whether an archive spans a change is assessed dataset by dataset, and having history on both sides of a change implies no particular prevalence or model improvement.

Frequently asked questions

How is exception distribution drift different from concept drift?

Distribution drift in the narrow sense is a change in how often exceptions occur, with each exception still meaning the same thing. Concept drift is a change in what counts as an exception, or in the right outcome for the same case. The first can often be corrected by reweighting; the second needs regime tags or relabeling.

Can I correct an old dataset's base rate without new labels?

Sometimes. If only class shares moved, a black box shift estimator (Lipton and colleagues, 2018) can estimate current shares from unlabeled recent records, and predictions can then be reweighted. Check the estimate against a small labeled audit, because a rule change breaks the method's assumption.

Should records from before a policy change be dropped?

Not by default. Older records can still teach inputs and context even when their labels follow an old rule. Tag them by regime, test whether their labels flip under the new rule, and decide by use: training on current behavior, evaluation across regimes, or study of the change itself.

How long after a change should a new exception rate be trusted?

Wait for at least two full periods after the change with batch loads removed, and confirm the share inside subgroups. A single period can be dominated by one import, as GCC's January 2024 front-end batch shows.

What should a supplier disclose about exception prevalence?

The exception definition, counts and shares per period with denominators, dated policy and capture changes, and any batch loads or new record sources. Raw monthly counts by exception type let a buyer find changes the supplier did not log.

Sources

  • GCC master commit history (mirror) used for SourceX's count of commits with a Signed-off-by line, 2017 to October 27, 2026. Source
  • GCC's MAINTAINERS file has a Contributing under the DCO section whose entrants certify that all subsequent contributions are made under the Developer's Certificate of Origin 1.1. Source
  • In June 2021 the GCC steering committee announced GCC would accept contributions with or without an FSF copyright assignment, pointing contributors to a Signed-off-by line. Source
  • GCC's DCO page describes the Signed-off-by certification and when the per-commit sign-off is required. Source
  • DOT's April 24, 2024 final rule requires airlines to give automatic cash refunds when a flight is cancelled or significantly changed and the passenger does not accept the alternative. Source
  • DOT received 102,550 airline complaints in 2020, up 568.4% from 15,342 in 2019; 89,518 (87.29%) concerned refunds; DOT has not verified the complaints. Source
  • Lipton, Wang and Smola (ICML 2018) define label shift as p(y) changing while p(x|y) does not, and introduce black box shift estimation, which needs an invertible confusion matrix. Source
  • Alexandari, Kundaje and Shrikumar (ICML 2020) report that maximum likelihood label shift adaptation, the EM approach of Saerens et al., works well when combined with bias-corrected calibration. Source

Tell us what data you need

Share scope, volume, format, timing and licensing needs. Datasets are sourced on request.

See if your company qualifies