Testing Data
Data held out from model development and used to provide an independent evaluation of an AI system’s performance before deployment.
Definition
Testing data refers to datasets used to perform an independent evaluation of an AI model or system to confirm its expected performance prior to placing it on the market or putting it into service. In the EU AI Act this concept is expressed as data used for an independent evaluation to confirm expected performance before market placement. ([eur-lex.europa.eu](https://eur-lex.europa.eu/legal-content/EN-FR/ALL/?uri=CELEX%3A32024R1689&utm_source=openai))
Official/legal characterisation: the European Union’s AI Act (Regulation (EU) 2024/1689) defines "testing data" as "data used for providing an independent evaluation of the AI system in order to confirm the expected performance of that system before its placing on the market or putting into service." This legal definition anchors the term in a pre‑deployment assurance context and makes testing data a required element of compliance for certain regulated AI systems. ([eur-lex.europa.eu](https://eur-lex.europa.eu/legal-content/EN/ALL/?uri=OJ%3AL_202401689&utm_source=openai))
Standards and technical definitions: international standards complement the EU legal definition with technical precision. ISO/IEC terminology (as reflected in ISO/IEC TS 42119-2 and ISO/IEC 22989) defines "test data"/"testing data" as data used to assess the performance of a final model and emphasises that test data should be disjoint from training and validation sets. Standards note that test data are used to evaluate generalisability, robustness and other performance metrics under conditions representative of expected use. ([iso.org](https://www.iso.org/obp/ui?_escaped_fragment_=iso%3Astd%3Aiso-iec%3Ats%3A42119%3A-2%3Aed-1%3Av1%3Aen&utm_source=openai))
Risk management and evaluation frameworks: NIST’s AI Risk Management Framework (AI RMF 1.0) treats test sets ("test data") as a documented component of Test, Evaluation, Verification, and Validation (TEVV). NIST requires organisations to document test sets, metrics, and TEVV tools, and to demonstrate that performance and assurance criteria have been measured for conditions similar to deployment. This positions testing data as an artefact of organisational risk‑management and evidence for go/no‑go deployment decisions. ([nvlpubs.nist.gov](https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.100-1.pdf))
Jurisdictional variations
- European Union: The EU AI Act gives a concise legal definition (Article 3) and ties testing data to mandatory pre‑market evaluation for regulated (notably high‑risk) AI systems. The Act also links data governance obligations (relevance, representativeness, statistical properties) to training, validation and testing datasets used for high‑risk AI. Practically, that means testing datasets must be curated, documented, and subject to the same data‑governance rules as training data for many regulated systems. ([eur-lex.europa.eu](https://eur-lex.europa.eu/legal-content/EN-FR/ALL/?uri=CELEX%3A32024R1689&utm_source=openai))
- United States (federal and state): Federal guidance (NIST AI RMF and the White House Executive Order 14110) emphasises TEVV, testbeds, red‑teaming and documented test sets rather than giving a single statutory one‑line definition; testing data are therefore a compliance and assurance artefact within TEVV and model evaluation programs. State laws (for example Colorado’s SB24-205) require developers/deployers of high‑risk systems to document how systems were evaluated for performance and discrimination before deployment, effectively requiring testing data and evaluation records as part of mandatory documentation. ([nvlpubs.nist.gov](https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.100-1.pdf))
- International / standards bodies and multilateral instruments: ISO/IEC standards provide the technical definition and test‑data best practices (disjoint splits, representativeness), while OECD and UNESCO guidance focus on the governance aims—robustness, fairness and transparency—requiring test procedures and datasets that detect bias and safety issues. These instruments are used as normative reference points by regulators and industry when specifying what constitutes adequate testing data. ([iso.org](https://www.iso.org/obp/ui?_escaped_fragment_=iso%3Astd%3Aiso-iec%3Ats%3A42119%3A-2%3Aed-1%3Av1%3Aen&utm_source=openai))
Context, scope and practical implications for businesses: Testing data are used in pre‑deployment TEVV and in ongoing validation/monitoring. Businesses operating across jurisdictions should: (1) treat test datasets as documented compliance artefacts (retain provenance, sampling methods, labels and metrics); (2) ensure test data are representative of expected operational conditions (including demographic coverage where relevant); (3) maintain separation between training, validation, and testing data to avoid information leakage; and (4) align documentation and TEVV outputs with both regulatory requirements (e.g., EU AI Act Article 10/Article 9 data governance and pre‑market evaluation obligations) and voluntary frameworks (NIST AI RMF TEVV categories). Failure to keep adequate test data and documentation can impede market access in the EU, expose organisations to enforcement under state laws (e.g., Colorado), and undermine trust in procurement or certification processes. ([eur-lex.europa.eu](https://eur-lex.europa.eu/legal-content/EN/ALL/?uri=OJ%3AL_202401689&utm_source=openai))
Key requirements and good‑practice criteria
- Test data should be independent of training and (where used) validation sets (disjointness). ([iso.org](https://www.iso.org/obp/ui?_escaped_fragment_=iso%3Astd%3Aiso-iec%3Ats%3A42119%3A-2%3Aed-1%3Av1%3Aen&utm_source=openai))
- Test data must be relevant and representative of the intended use and population to support reliable performance claims. ([eur-lex.europa.eu](https://eur-lex.europa.eu/legal-content/EN/ALL/?uri=OJ%3AL_202401689&utm_source=openai))
- Test datasets, test methodology, metrics and tools should be documented and retained as TEVV evidence (NIST MEASURE 2.1). ([nvlpubs.nist.gov](https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.100-1.pdf))
- For certain regulated systems, test data and evaluation results may be required to be made available to deployers, market surveillance authorities, auditors, or regulators (documentation/disclosure obligations). ([s3.us-west-2.amazonaws.com](https://s3.us-west-2.amazonaws.com/beta.leg.colorado.gov/1c135ea7ae277b95f8ef560b731f18a5))
- When production or historical data are unavailable, regulators and standards recommend carefully justified synthetic or benchmark test data that match expected distributional properties; any use of synthetic data should be documented and validated. ([nvlpubs.nist.gov](https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.100-1.pdf))
Examples: Typical usages include a held‑out labeled dataset used to report accuracy/AUC for a supervised classifier; a demographic stratified test set used to measure group fairness metrics; adversarial or red‑team test datasets used to probe robustness and safety in generative models; and end‑to‑end scenario datasets used for system‑level verification in regulated domains. Standards distinguish ML‑specific "test data" for model evaluation from broader system verification datasets used in software integration testing. ([iso.org](https://www.iso.org/obp/ui?_escaped_fragment_=iso%3Astd%3Aiso-iec%3Ats%3A42119%3A-2%3Aed-1%3Av1%3Aen&utm_source=openai))
Cross‑references: See also training data, validation data, TEVV (Test, Evaluation, Verification & Validation), data governance, and test sets / held‑out data for related obligations and practices under EU, US and international frameworks. ([eur-lex.europa.eu](https://eur-lex.europa.eu/legal-content/EN/ALL/?uri=OJ%3AL_202401689&utm_source=openai))
Sources
- •EU AI Act Article 10(3)
- •NIST AI RMF
Related Terms
Training Data
Data used to develop and train AI models to perform their intended functions....
Validation Data
Data used during model development to evaluate a trained AI model and tune non‑learnable parameters (e.g., hyperparameters) to avoid under‑ or overfitting....
Data Governance
Policies, roles and processes that ensure data used across the AI lifecycle is fit for purpose, traceable, secure and managed in line with legal and operational requirements....