Skip to content

Systems and records

System migration dataset drift: audit the converter before you pool

By SourceX Editorial · Updated

9 sections

Short answer

System migration dataset drift is mostly written by the converter, not the business. Apache Lucene's public migration of 10,628 Jira issues to GitHub in 2022 shows the pattern: seven issue types became four labels, Jira's statuses became open or closed, five component names were dropped and authors moved into body text. Read the conversion code, test each transform at the cutover seam, then pool, crosswalk, split or exclude field by field.

System export

System migration dataset

This page covers system migration dataset drift: audit the converter before you pool.Illustrative

Key takeaways

  • A migrated record is the converter's output: in Lucene's move, reporters, votes and Jira resolutions survive only as body text or prefixed labels, not in the fields native issues use.
  • Many-to-one mappings erase distinctions a model could learn; Lucene's converter folded New Feature, Improvement and Wish into one enhancement label.
  • Completeness gaps hide in edge cases: text over 65,000 characters became FIXME, some labels were skipped because import failed, and 51 key numbers have no row in the final map.
  • If a simple classifier can tell migrated records from native ones, a task model can learn the seam instead of the task.
  • Decide per field: pool what was preserved, crosswalk what was collapsed, re-extract what was demoted to text, and exclude what was lost.

What does a migration change in the records it carries?

A migration rewrites records. Everything that reaches the new system from the old one passes through a converter, a script or vendor tool that maps old fields onto new ones, and its choices become part of the data. System migration dataset drift is the gap between records that converter wrote and records the new system wrote natively, and it is often larger than the business change it gets blamed on.

The changes fall into four kinds. Semantic collapse maps several old values onto one new value. Demotion moves a structured field into free text, where people can still read it but queries cannot reach it. Omission drops a value that has no counterpart. Conditional failure swaps content the converter could not handle for a placeholder or a raw dump. Each kind leaves its own fingerprint, and each calls for a different decision when pre-migration and post-migration records are combined.

The decision here: before merging records from both sides of a cutover into one training or evaluation set, which fields mean the same thing on both sides, which can be reconciled, and which must be split off or dropped?

Inside a public converter: Lucene's move from Jira to GitHub

Apache Lucene moved its issue tracker from Jira to GitHub Issues in 2022 and published the tooling, mapping tables and mapping results in its lucene-jira-archive repository. The final issue map, dated August 23, 2022 in its file name, pairs 10,628 Jira issues with GitHub issue numbers from 1,079 to 11,714. Jira key numbers run from 1 to 10,679, and 51 numbers in that range have no row. The conversion scripts run to more than 3,000 lines of Python, so every transform can be read.

We read the converter (jira2github_import.py), its mapping tables (common.py) and both mapping files at the repository's last commit, d23cc00 of July 26, 2023, and classified each field the way an auditor would. Dates fared best: the converter passed original creation, update and close timestamps to GitHub's issue import interface, and a code comment notes that accurate creation times now show on migrated comments. Commercial migrations are rarely this open, but their converters make the same kinds of choices; the mapping simply lives in a vendor workbook or a consultant's script instead of a public repository. Most other structure changed shape:

Inside a public converter: Lucene's move from Jira to GitHub
Jira fieldAfter conversionTransformWhat a pooled dataset loses
Issue type, 7 values4 type labels; New Feature, Improvement and Wish all become type:enhancementSemantic collapseThe line between a feature request, an improvement and a wish
StatusClosed and Resolved become a closed issue; every other status becomes openSemantic collapseEvery workflow state between open and done
Resolution and priorityLabels prefixed legacy-jira-resolution and legacy-jira-priorityDemotion to a labelFields that native issues record another way or not at all
Component, 39 names in the map29 labels; 5 names map to nothing; modules/query maps to a label spelled mocule:queriesCollapse, omission and a typoFive components outright, and one module split across two labels
Reporter, votes, edit datesA footer line in the body: Migrated from LUCENE-N by the reporter's name, plus votes and datesDemotion to textQueryable authorship and engagement
Jira labelsKept with a legacy-jira-label prefix, except nine named labels and any label starting with java, skipped because import failedOmissionSome topic labels, unless someone restored them by hand
Long textDescriptions or comments over 65,000 characters replaced by FIXME; conversion errors fall back to a raw code blockConditional failureThe longest, often most technical discussions
A crosswalk from Lucene's seven Jira issue types to four GitHub labels, with three types converging on one enhancement label, beside panels for status and component mapping.
How Lucene's converter mapped Jira issue types, statuses and components, read from its public code at commit d23cc00.

Read the converter before you read the records

Start the audit with the conversion logic, because it tells you where to look in the data. Ask the system owner for the migration scripts, the field-mapping workbook or the vendor's import map, plus any logs of skipped or failed items. For each source field, record the target field, the transform kind and the rule that triggers it.

Then count how many records each transform touched. A many-to-one map affects every record carrying one of the collapsed values; a skip list affects only records with a skipped label; a size cutoff affects only the longest records, which are often the most informative. Three Lucene counts can be read straight from the code and mapping files: 7 issue types folded into 4 labels, the 39 names in the component map into 29 labels with 5 dropped, and 375 Jira accounts matched to GitHub accounts.

Account matching deserves its own line. The Lucene migration README explains that a Jira user was linked to a GitHub account only when the Jira full name and the GitHub display name matched exactly, and that the generated mapping had to be checked and edited by hand. Anyone outside the verified map of 375 accounts appears in migrated issues as a display name in text, with no account link, which breaks any join that follows a person across the seam.

Records created after cutover speak a different dialect

Native records are written by different software, and often by different habits, so one field name can carry two meanings. On GitHub, closed issues carry a close reason that issue search can filter on, reason:completed or reason:"not planned". Lucene's migrated issues carry Jira's resolution in a legacy-jira-resolution label instead. A dataset that reads closure reasons from one place will find them for one era and miss them for the other.

Text carries a fingerprint too. Every migrated Lucene issue carries a footer line that begins Migrated from, followed by a link and the reporter's name, and issues opened natively on GitHub would not. Fingerprints matter because models learn them. In a 2018 PLOS Medicine study of chest radiographs, convolutional networks identified the hospital system an image came from for 22,050 of 22,062 NIH images and 8,386 of 8,388 images from the study's MSH site, and a pneumonia model trained at MSH dropped from an internal AUC of 0.802 to 0.717 at NIH. A model trained on pooled tickets can likewise learn that migrated records look old, closed and authored by plain-text names, and lean on that signal instead of the task.

Seam tests: measure the drift at the cutover

Test the seam with the cutover date as the dividing line and the converter audit as the list of hypotheses. Every transform you classified predicts a visible break at cutover; the tests confirm whether it is there and measure how large it is:

At a glance

Seam tests: measure the drift at the cutover

  • Value-set test: for each categorical field, list the values seen before and after cutover. Values found on only one side point to collapse, renaming or new options.
  • Distribution test: compare each field in equal windows before and after cutover, long enough to hold the same seasonal mix. A step at the cutover date that no business event explains belongs to the migration.
  • Fill-rate test: compare empty and placeholder rates by field, counting converter markers such as FIXME bodies and raw-dump code blocks.
  • Key-range test: look for gaps and duplicates in identifiers. Lucene's final map has no row for 51 key numbers between 1 and 10,679, which an auditor should explain before calling the archive complete.
  • Fingerprint test: train a simple classifier to tell migrated from native records using only the fields the task model will see. Accuracy well above chance means the task model can learn the seam as well.
  • Join test: follow people, accounts and linked records across the seam and count the links that break.

Is it the migration, or a new way of working?

Usually both, and the audit has to separate them. The strongest alternative explanation is that post-cutover records differ because the work changed: a project that moves to GitHub may also move toward pull requests, new contributors and new triage habits, so newer records may describe a different task rather than a damaged one.

Two patterns tell the causes apart. Converter effects apply to every migrated record whatever its age, so they show up as a constant gap between migrated and native records, including migrated records from the last months before cutover. Changes in how people work build up after cutover and often keep moving, so they show up as a trend among native records. Compare the final pre-cutover months, which arrived through the converter, with the first post-cutover months, which did not: a flat step points to the converter, and a slope that starts at cutover points to the work.

Illustrative: suppose 90 percent of closed issues carry a recorded resolution among migrated issues from the last pre-cutover year and from five years earlier alike, while only 40 percent of native issues closed in the first month after cutover carry a close reason, and that share stays flat. A constant migrated level and an immediate, flat native level both point to the systems: in this scenario the old workflow captured a resolution at closing, while the new one captures a reason only when someone chooses it. If the native share had started near the migrated level and slid month by month, the change would lie in triage habits instead.

Where an export from the old system still exists, it is the best control available: compare the same records before and after conversion, field by field. Teams often discard those exports once the new system goes live, so ask for them before anything else.

Pool, crosswalk, split or exclude: the call for each field

Decide per field and per task, never for the archive as a whole. A field that survived intact can be pooled even when its neighbors cannot, and a task that never reads a damaged field can use both eras freely. The table gives the default call for each transform kind and the evidence that should overturn it:

Pool, crosswalk, split or exclude: the call for each field
Transform foundDefault callEvidence that changes itWhat the data card must state
Preserved, as Lucene's dates werePoolSeam tests still show a step at cutoverField preserved, with the seam test results
Semantic collapseMap native values down to the collapsed set, or split by eraThe task needs the distinction the collapse erasedThe crosswalk table and the distinctions it removes
Demotion to textRe-extract the value from text, or treat it as missing before cutoverExtraction accuracy measured on a labeled sampleExtraction method and its error rate
OmissionExclude the field for migrated recordsA pre-migration export restores the valuesWhich values were dropped, for how many records
Conditional failureExclude or repair the affected recordsRepair from the old system's exportCount of placeholder and fallback records

The migration seam card to ship with the dataset

A dataset that spans a migration should travel with a short card a buyer can check without rerunning your audit. It is the time-aware data card for this one risk, and every line should point to evidence. Python's own GitHub migration plan, PEP 588, proposed recording the old tracker's issue address on each GitHub issue and a moved-to address back in the old tracker, which is the lineage pair the card asks for:

  • Systems and cutover: old system, new system, cutover date, and any period when both ran in parallel.
  • Converter provenance: the scripts, mapping tables or vendor map used, with a version or commit.
  • Lineage key: the old identifier on every migrated record and, where possible, the new identifier written back to the old system.
  • Transform register: each field with its transform kind (preserved, collapsed, demoted, dropped or conditional failure) and the number of records affected.
  • Identity: how accounts were matched across systems and how many people or entities failed to match.
  • Seam test results: value sets, distribution steps, fill rates, key gaps and the fingerprint classifier's accuracy.
  • Cause split: which differences were traced to the converter and which to changed work, and the comparison used.
  • Pooling call per task family, the fields excluded for migrated records, and any evaluation baselines computed on pooled data that need re-running.

Requesting records from both sides of a migration

Ask for the migration along with the records. A request that spans a system change should name the cutover, ask for the converter or mapping documentation, ask whether a pre-migration export survives, and list the seam tests that will run at acceptance. If only post-migration data exists, say which fields your tasks need in native form and which can tolerate a crosswalk.

SourceX assembles datasets to a buyer's specification from U.S. businesses rather than from a ready-made catalog, and its request form is where a buyer sets out scope, volume, language, format, timing and licensing needs. Migration history belongs in that specification. Companies that kept old-system exports or mapping workbooks can answer seam questions quickly, while companies that did not may still hold usable post-cutover records. Naming the requirement up front sorts the two early, without implying that any particular archive is available or will pass.

Frequently asked questions

What is system migration dataset drift?

It is the set of differences between records a migration converter wrote into a new system and records that system created natively. It covers values collapsed together, structured fields turned into text, dropped values, and placeholders left where the converter could not handle the content.

Can migrated and native records go into one training set?

Yes, field by field. Pool fields the converter preserved, map collapsed fields down to the coarser shared set, re-extract or treat as missing any field demoted to text, and exclude fields or records the converter dropped or replaced with placeholders.

How do I tell a migration artifact from a real change in the business?

Converter effects appear as a constant gap between migrated and native records, including migrated records created just before cutover. Changes in how people work build up after cutover as a trend. An export of the same records from the old system is the strongest control when one survives.

Why would a migration footer or label matter to a model?

Models learn any signal that separates groups of records. A 2018 study found image models identifying the source hospital system almost perfectly. A text model can likewise learn that records with a migration footer are old or closed and rely on that instead of the task.

What should I ask a data owner about a past migration?

Ask for the cutover date, the conversion scripts or mapping workbook, any logs of skipped items, how accounts were matched, and whether an export from the old system still exists. Those answers settle most pooling questions before a single record is sampled.

Sources

  • Lucene's migration README documents the Jira-to-GitHub pipeline, the issue import step and account matching that required identical full names plus manual checking. Source
  • Lucene's converter maps only Closed and Resolved to closed issues, writes reporter, votes and dates into a body footer, prefixes resolution and priority labels, skips named labels, replaces text over 65,000 characters with FIXME and passes original timestamps to the import. Source
  • Lucene's mapping tables fold seven Jira issue types into four labels and the 39 names in its component map into 29 labels, with five mapped to nothing and one misspelled label. Source
  • The final issue map pairs 10,628 Jira issues (keys 1 to 10,679, 51 numbers absent) with GitHub issues 1,079 to 11,714. Source
  • The verified account map links 375 Jira accounts to GitHub accounts. Source
  • GitHub issue search can filter closed issues by close reason, completed or not planned. Source
  • Networks identified the source hospital system of chest radiographs almost perfectly, and a pneumonia model's AUC fell from 0.802 internally to 0.717 at an external system (Zech et al., PLOS Medicine, 2018). Source
  • Python's GitHub issues migration plan proposed an origin field on GitHub issues and a moved-to field on the old tracker; the migration was carried out in April 2022. 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