Should Records From the Same Customer Appear on Both Sides of an AI Test?
A classifier can appear strong on a random sample of support messages while struggling with the first customer it has never seen. One possible reason is that messages from the same customer appear in both training and testing. The test may reward familiarity with that customer's language or templates.
Before choosing a split, ask what the deployed system must handle. Predicting another message from an established customer and handling an entirely new customer are different evaluation questions. A good split reflects the intended boundary rather than merely producing tidy percentages.
Choose the unit that must remain unfamiliar
The independent unit might be a customer, organization, document, conversation or device. If several rows originate from the same underlying unit, a row-level random split can put related examples on both sides.
Scikit-learn's cross-validation guide describes GroupKFold as keeping a group out of both training and testing within the same split. This helps evaluate generalization to groups absent from training.
Use the group definition that matches the deployment question. Grouping by customer does not automatically separate documents reused by several customers. Investigate the actual relationships that could carry information across the boundary.
Create a split ledger
Illustrative example: three organizations
Suppose Cedar supplied forty messages, Birch supplied thirty and Elm supplied thirty. A proposed evaluation holds Elm out entirely. Training contains Cedar and Birch, while evaluation contains Elm. The ledger lists each message identifier, its organization and its assigned split.
Check that the set of training organization IDs has no intersection with the evaluation organization IDs. Then inspect the source documents and conversation identifiers for additional overlap. A clean organization check is useful evidence, but it cannot detect a wrongly assigned organization label.
Count groups as well as rows
A test with thirty messages from one organization is still evidence from one held-out organization. It is not equivalent to thirty independent organizations. Report both counts and describe the held-out group's relevant characteristics.
If the model succeeds only for one unusually simple organization, do not generalize that result to every prospective customer. Add coverage deliberately as new evaluation data becomes available.
Keep transformations inside the training boundary
Splitting records is only part of the workflow. Vocabulary construction, preprocessing statistics, feature selection and model tuning can also expose evaluation information if performed on the whole dataset.
Create a review checklist that follows the data from raw records to the final score. For each transformation, identify what data it learns from and where its fitted state is stored. Keep evaluation labels and examples out of decisions that are supposed to be made using training evidence.
This article's group boundary complements the earlier guide on holdout leakage. The distinctive question here is whether related records remain together, even when no exact row is duplicated.
Resolve time and group requirements explicitly
A new-customer test may also need to represent future work. Group separation alone does not establish a chronological boundary. If the intended claim concerns future customers, record both the group rule and the relevant time rule.
Do not keep trying alternative partitions until the headline score looks appealing. Set the evaluation purpose and split procedure first. When practical constraints require a change, record the reason and treat previously inspected results as part of development evidence.
Review failures at the group level
Alongside the overall score, summarize results for each held-out group when there are enough groups to make that useful. Look for shared failure patterns such as unfamiliar terminology, different document structures or a category absent from training.
Avoid interpreting a group label as the cause of poor performance. Use it to locate cases for investigation. The next step is to inspect representative errors and determine which observable feature or workflow condition is responsible.
A FutureOS evaluation brief should state the deployment question, grouping key, split ledger and overlap checks. Those artifacts make a score's limits visible before anyone relies on it to expand an AI workflow.
Editorial note
Editorial note: This article was prepared with AI assistance. Primary sources and the linked FutureOS article inventory were checked on October 26, 2026. Examples are illustrative and are not customer results. The current FutureOS introduction describes the project as being in prelaunch; this guide does not assert that a particular product feature, integration or service is available. The procedures are practical proposals to adapt and test in your own setting. No independent expert review is claimed. Start with a specific question, your relevant constraints and a small example of the result you need.




Comments