Evaluate the delivery in three layers
A software repository offered for AI training needs three separate assessments: what technical material is present, how its provenance can be checked, and whether the proposed use has an adequate rights basis. A high line count answers none of these questions by itself.
This guide helps engineering teams prepare a reproducible technical review. It describes evidence to collect, not a legal conclusion about whether a particular training use is permitted. Keep the rights decision with the authorized company reviewer and qualified counsel where needed.
A source snapshot, Git history and platform records are different assets
A source archive can support inspection of the files it contains. It cannot establish the development history that was not included. Even a Git clone has a defined scope: Git documents shallow history through --depth, branch restrictions through --single-branch, and separate submodule behavior. Record the clone/export method and selected revision rather than assuming every clone is complete. Git clone documentation.
Hosting-platform records require separate attention. GitHub documents backup approaches that contain different categories of data, and exposes pull requests and reviews through dedicated APIs. A Git object database does not by itself supply all issue discussions, review approvals and platform event records. Ask for authorized exports or verifiable access when those records are part of the requested dataset. GitHub backup guidance; pull-request review API.
A merge-looking commit message is not sufficient evidence that an original platform review occurred. Conversely, do not reject a repository solely because every change lacks a two-parent merge commit: the platform record and chosen merge workflow need to be examined. GitHub documents squash and rebase merges as alternatives to a merge commit. For a merged-PR requirement, verify the original PR identifier, recorded merge state/time and associated commit information against the available host evidence. Count distinct original PRs once, exclude open or closed-without-merge entries, and cross-check the claimed repository. Squash and rebase merges can be legitimate without a conventional two-parent merge graph. GitHub pull-request API.
Build a manifest that can be reproduced
Our recommended manifest begins with a repository identifier, authorized source, export timestamp, target revision, included refs, shallow/partial-export limitations, and dependencies needed to reproduce the assessment. Treat the manifest as an evidence index, not a seller's narrative.
| Claim | Technical evidence | Limit |
|---|---|---|
| Source size | Tool/version, counted paths and exclusion rules | Lines do not establish ownership, use or quality |
| Development history | Included refs, commit graph and export scope | The supplied graph alone does not authenticate every identity or event |
| Merged PRs | Original host IDs and authorized platform records | Local reconstructed records are not original approvals |
| Tests pass | Exact revision, command, environment and result | Passing tests do not prove real customer deployment |
| License identification | License texts, applicable paths and dependencies | A detected identifier is not a complete permitted-use decision |
| Security review | Scan scope, tool version, findings and remediation evidence | No findings is not proof that no sensitive data exists |
Separate original source from dependencies, generated artifacts, bundled assets, tests and documentation. Preserve the classification rules so the recipient can reproduce the totals. Do not call everything excluded from a dependency folder “original”; copied or generated material can appear elsewhere. Mark uncertain classification as uncertain rather than forcing it into a favorable total.
Record tool exclusions and inaccessible history. If a scanner examined only the current checkout, its report should not be described as a review of all past versions. If production use matters, seek separate authorized operational evidence. Neither an old commit date nor a large test suite establishes customer deployment or collected revenue.
Public visibility is not a complete rights analysis
GitHub's licensing guidance distinguishes publishing code from granting a software license. It also notes the platform's view-and-fork permissions for public repositories. Preserve that distinction: public access should not be advertised as unrestricted permission for every downstream use. Assess the actual license and applicable agreements rather than inferring rights from a download button. GitHub licensing guidance.
The SPDX License List supplies standardized identifiers and license texts. That helps record which license a file or component appears to use. It does not establish a contributor's authority, settle conflicting notices or certify a proposed AI-training use.
For the review package, map the supplied material to license evidence and unresolved questions. Keep separate statuses for the exporter's control of the repository, each component's documented rights, and the specific AI-training use proposed; a general seller warranty does not independently verify every third-party file. Include third-party components, assets, documentation and separately exported discussions when they are in scope. Ask the authorized reviewer to determine the necessary permissions and obligations for the actual use and jurisdiction. Do not replace that decision with an automated “commercially cleared” label or a blanket claim that all AI training is either permitted or prohibited.
Security checks must match the export scope
Review candidate material in an isolated environment with controlled access. Our proposed process is to inspect source and configuration, scan the included history, identify personal or confidential records, and quarantine findings before sharing. Do not run untrusted build scripts with production credentials or unrestricted access merely to obtain a test score.
If a credential is exposed, deleting the current file is not the whole response. GitHub advises revoking or rotating the secret first and explains limitations of history rewriting, including copies outside the repository owner's control. The response should be coordinated by the credential owner; an evaluator should not test an exposed token against a live service. GitHub guidance on removing sensitive data.
Record scanner findings without reproducing secrets in a public report. A report should state whether a finding was confirmed, remediated or still unresolved. The absence of detected secrets remains a bounded result tied to the tool and inspected material.
Worked example: a technically promising repository with missing evidence
Example: a delivered folder contains 120,000 counted source lines and a test report. The request also requires 100 original merged PRs. A subsequent Git export contains 140 commits, but no authorized platform records have been provided.
The correct preliminary result is that the source and available history can be evaluated, while the merged-PR requirement remains unverified. Do not convert commits into a PR count or manufacture review records from diffs. Ask for the relevant host export or controlled verification. If those records cannot be obtained, state the gap and let the recipient decide whether to change the requirement.
Likewise, a permissive-looking root license does not resolve every component's provenance. Keep the technical findings, unresolved license questions and commercial acceptance decision in separate fields. That makes the report useful even when the overall delivery is not yet acceptable.
Illustrative decision record: Source and tests inspected; development history partially verified; original PR approvals unverified; credential findings unresolved; licensing review pending. Overall disposition: HOLD. Record evidence, reviewer and date for each state. Passing tests do not establish original history or training rights.
Make the final decision traceable
Deliver the exact assessment revision, manifest, exclusion rules, reproducible commands, bounded results and a list of unresolved items. Preserve the assessed revision hash, review sampling method and PR cross-checks so another evaluator can reproduce both an accepted finding and a rejected one. For training and evaluation use, also propose checks for overlap among repository families or duplicated material across partitions, rather than assuming different repository names make independent examples.
Use precise states: technically inspected, provenance verified for a stated scope, rights review pending, or accepted for a specified use. Preserve the evidence behind each state. A credible repository dataset is one whose contents, limitations and review decisions the recipient can inspect without relying on impressive totals or unverifiable promises.