Skip to content

Dataset

Perforce depot and changelist history datasets for AI training

A Perforce dataset is the history held on one company's Perforce P4 server, formerly Helix Core: depots and streams of source code and binary assets, every file revision, the changelists that submitted them with their descriptions, and the integration records that trace each branch, copy and merge. Game, chip and automotive teams run Perforce because it versions large binaries beside code. SourceX sources the dataset to a buyer's spec from established businesses that run Perforce. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
Depot file revisions, submitted changelists and integration records, with text and binary assets versioned side by side
Typical systems
Perforce P4 Server (Helix Core) with classic depots or Streams, shelved changelists, jobs and fixes, and P4 Code Review (Helix Swarm) where in scope
Typical history
Often the full life of a product, since depots are rarely rewritten; some binary file types keep content for only their newest revisions
Modality
Source code and binary asset files per revision, with structured changelist, integration, label and stream metadata
Delivery formats
Files per revision or per changelist with JSONL metadata from changes, filelog and integrated output
Preparation
Usernames, emails, workspace and host names replaced; secrets scanned in every revision; third-party engine code, SDKs and purchased assets removed or flagged by depot path
Licensing
Scoped per depot path, stream and changelist range; permitted use agreed per license
Availability
Sourced to your spec; scope depends on what the owner holds rights to, and supply is not guaranteed
CodeIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
changeintegerThe Changelist number, assigned by the server from one sequence across all depots.
statusenumSubmitted or shelved; pending changelists that exist only as open files in a Workspace are not history.
submitted_atstringThe Changelist's date as the server recorded it at submit.
descriptionstringThe Changelist description as written, including any ticket or review tags the team's convention puts there.
userstringPseudonym of the User who submitted the Changelist.
clientstringPseudonym of the Workspace (client) the Changelist came from; the client spec's host and local root are not delivered.
streamobjectIn stream depots, the Stream the change landed in, with its type and parent from the stream spec.
filesarrayThe File revisions in the Changelist, each a depot path and revision number.
actionenumOn each file: add, edit, delete, branch, integrate, move/add or move/delete, as the server recorded the revision.
file_typestringOn each file: the base type and modifiers, such as text, or binary+l for an exclusive lock, usually assigned by the Typemap.
digeststringOn each file: the MD5 digest the server stored for the revision, used to verify delivered content.
integrationsarrayOn each file: its Integration records, giving the source file, the revision range and how it arrived, such as branch from, merge from or ignored.
fixesarrayJobs linked to the Changelist through Fix records, with the job's status from the server's jobspec.
labelsarrayLabels that cover the Changelist's file revisions: static labels that tag revisions, and automatic labels that point at a changelist number, such as build and release labels.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "change": 418233,
  "status": "submitted",
  "submitted_at": "2023-06-14T16:42:09Z",
  "description": "Fix grapple hook detach when the target actor is destroyed mid-swing. Retuned rope material so the snap reads at distance.\n#ticket GAME-5127\n#review-418190",
  "user": "user_0d4e",
  "client": "ws_7b21",
  "stream": {
    "path": "//game/dev-gameplay",
    "type": "development",
    "parent": "//game/main"
  },
  "files": [
    {
      "depot_path": "//game/dev-gameplay/Source/Traversal/GrappleComponent.cpp",
      "rev": 37,
      "action": "edit",
      "file_type": "text",
      "digest": "9B1F04C2A7D35E8861F0B2C49D7AE310"
    },
    {
      "depot_path": "//game/dev-gameplay/Source/Traversal/RopeSolver.cpp",
      "rev": 9,
      "action": "integrate",
      "file_type": "text",
      "digest": "44E0D9A1B6C27F5300A8E1D4C95B7F26",
      "integrations": [
        {
          "how": "merge from",
          "from_file": "//game/main/Source/Traversal/RopeSolver.cpp",
          "from_revs": "#11,#12"
        }
      ]
    },
    {
      "depot_path": "//game/dev-gameplay/Content/Traversal/M_GrappleRope.uasset",
      "rev": 6,
      "action": "edit",
      "file_type": "binary+l",
      "digest": "C7A2915E0D4B38F6A1E97C0254BD863F"
    }
  ],
  "fixes": [
    {
      "job": "job004512",
      "status": "closed"
    }
  ],
  "labels": [
    "nightly-2023-06-14"
  ]
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Train coding agents on code with its assets

Changelists that touch source and binary assets together show what a gameplay or hardware change needs beyond the code.

Learn merge decisions between branches

Integration records with merge from, edit from and ignored outcomes label how each change moved, or was held back, between release lines.

Build repository-scale tasks

Sync a depot to one changelist, take the next description as the task and its file revisions as the reference answer.

Model asset iteration

Successive revisions of a model, texture or level file with their descriptions show how art changes in response to feedback.

Evaluate release reasoning

Labels and release streams mark which revisions shipped, giving checkable questions about what a build contained.

Use-case guides: Coding agents, Private evaluation sets, Enterprise and computer-use agents

What makes this data valuable

Server history, not a folder

The delivery was produced from the server, with changelists and every revision, not from a synced workspace.

Integration records kept

Branch, copy and merge provenance per file survives the export.

Content at old revisions

Older revisions of binary assets still have their content, not only metadata.

Digests match

Delivered file content verifies against the digest the server stored.

Descriptions with substance

Changelist descriptions are written sentences with ticket tags, not single words.

Ownership mapped by path

The owner can say which depot paths hold its own work and which hold licensed code or assets.

Record timeline

Perforce dataset

This page covers perforce depot and changelist histories.Illustrative

History is kept per file, and every branch leaves a record

Perforce does not store snapshots of a tree. It stores revisions of files. Every file in a depot has its own numbered history, written as a path and a revision such as //depot/main/src/render.cpp#7, and each revision has an action (add, edit, delete, branch, integrate, move) and a file type. A changelist is the atomic set of file revisions one person submitted together, with a description. Changelist numbers come from one counter for the whole server, so they put every submit in a single order, and the state of any path at any changelist can be rebuilt by syncing to that number.

A branch is not a pointer. It is a copy of files to a new path, and for each copied file the server writes an integration record naming the source file, the revision range taken and how it was resolved. Later merges add more records: merge from, copy from, edit from when the merged result was changed by hand, ignored when someone decided a change should not travel. That is provenance per file, one decision at a time. Streams add declared intent: each stream spec names its type, its parent and the paths it shares, isolates or imports.

The other distinctive part is what sits beside the code. Teams choose Perforce because it handles large binaries, so textures, models, levels, chip layouts and firmware images are versioned in the same depot. A typemap gives such files a binary type with an exclusive lock, because two people cannot merge a level file. One changelist can therefore hold a code edit and the asset edit it needed. Check what the server no longer has. File types with a revision limit keep the content of only the newest revisions, obliterate removes history outright, and work between submits was never recorded unless it was shelved.

A synced workspace is not the history

The most common thing offered as a Perforce export is a folder: someone synced a workspace and zipped it. That holds the head revision of each file the workspace view mapped, with no changelists, no earlier revisions and no integration records. Unlike a Git clone, a workspace carries no history. A conversion to Git is the next most common offer. It replays changelists as commits and usually loses or approximates integration records, file types, locks and labels.

The server's real state is three things: a checkpoint, which is a text dump of its metadata tables, the journal of transactions since that checkpoint, and the versioned file archive on disk. The archive is not laid out the way the depot looks. Depending on file type and server version, a revision is stored as a delta inside one RCS archive file per path or as its own compressed file, and a branched file that was never edited points back at content stored under its original path, so a branch cannot be cut out of the archive by directory. The checkpoint also holds what should not travel: user records with email addresses, workspace specs with host names and local paths, and the protections table. The practical route is to restore the server privately and run a scoped export with changes, describe, filelog, integrated and print.

Code review is separate. P4 Code Review, long known as Swarm, is its own application. It holds a review of unsubmitted work as a shelved changelist, and its comments, votes and review states do not appear in changes or filelog output. To test a sample, pick twenty files and compare the revision count in filelog output with what was delivered. Verify content against the stored digests, and ask how text files with expanded keywords or converted line endings were compared. Open an old revision of a large binary. Check that the files of a release branch carry integration records.

What to check before licensing

  • Have the data owner and your counsel check Perforce Software's license terms for the server, and any hosting provider's terms, on exported data and API use.
  • Ask the owner to map depot paths to ownership, and check the licenses on third-party engine code, platform SDKs, middleware and purchased assets stored in the depot, which studios rarely own outright.
  • Confirm the delivery was produced from server history, not from a synced workspace or a converted repository alone, and that integration records are included.
  • Ask which file types carry a revision limit and whether obliterate or archive depots were used, then open old revisions of large binaries in the sample to confirm content exists.
  • Verify a sample of delivered files against the digests in the server metadata, and check that file types and their modifiers came through.
  • Check that usernames, email addresses, workspace names, host names and local paths are removed or pseudonymized, and that secrets were scanned in every revision, not only at head.
  • Ask whether shelved changelists, jobs and fixes, labels and P4 Code Review records are in scope, and how the server's case sensitivity was handled when files were written out.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

Can a Perforce depot be delivered as a Git repository?

Yes, with losses you should agree in advance. Conversion tools replay changelists as commits, but integration records between branches are usually flattened or approximated, file types and exclusive locks have no Git equivalent, and large binaries are moved to large-file storage or dropped. If merge provenance or asset history matters, ask for native metadata alongside any converted repository.

Are binary assets such as art, models and levels included?

They can be, and they are a main reason to source from Perforce. Depots commonly hold engine asset files, textures, audio and design files beside the code, each with its own history. Three things limit this: files stored with a revision limit may have lost old content, purchased assets may not be the owner's to license, and proprietary formats need the matching tool version to open.

Does the dataset include code review comments?

Only if the owner ran a review tool and its records are requested separately. Perforce itself stores changelists, shelves and descriptions. Review discussion lives in P4 Code Review, formerly Helix Swarm, or in a third-party tool, linked to changelists by number or by a tag in the description. Many teams reviewed informally, so ask before assuming reviews exist.

How is third-party code in a depot handled?

It should be identified by depot path and removed or flagged before delivery, and the buyer should verify that. Studios and hardware teams routinely check licensed engine source, platform SDKs, middleware and purchased assets into the same depot as their own work, so a build has everything it needs. The owner's path-to-ownership map and the protections table, which may restrict licensed paths, are the starting points.

What does one training example look like in Perforce data?

The natural unit is the changelist: a description, the set of file revisions submitted together, and the depot state just before it. Because changelist numbers order the whole server, the before state is exact. For merge tasks the unit is a file's integration record with its source and target revisions. For asset work it is the revisions of one binary file with their descriptions.

Is SourceX affiliated with Perforce Software?

Perforce P4 is named to identify the system the records come from. That does not imply a partnership with or endorsement by Perforce Software. The records belong to the business that runs Perforce P4, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 26 November 2026.

See if your company qualifies