This prompt is designed for QA leads and ML engineers who are responsible for maintaining the long-term health of a golden dataset used in regression testing. Its primary job is to systematically review existing examples for staleness, bias, coverage gaps, and schema drift. The output is a structured curation report that includes specific recommendations, priority scores, and a list of deprecation candidates, enabling the team to make data-driven decisions about dataset maintenance.
Prompt
Dataset Curation Review Prompt

When to Use This Prompt
Understand the job, ideal user, and constraints for the Dataset Curation Review Prompt.
Use this prompt when your golden dataset has been in production for several development cycles, after a significant model upgrade, or when you observe a drift in production traffic patterns that your test suite no longer reflects. It is also valuable before a major release gate review to ensure the quality of your evaluation benchmarks. The prompt requires a representative sample of your golden dataset as input, along with the original output schema and any known failure mode taxonomies. It is not a replacement for automated schema validation or a one-time dataset generation tool; it is a periodic review mechanism for ongoing curation.
Do not use this prompt for initial dataset creation, for real-time production filtering, or as a substitute for human judgment in high-risk domains. The recommendations it produces are advisory and require human review, especially for bias and fairness findings. If your dataset is small (fewer than 50 examples), a manual review is more effective. The prompt works best when integrated into a scheduled maintenance workflow, such as a quarterly dataset audit, where its output can be tracked in your issue management system and acted upon by the team.
Use Case Fit
Where the Dataset Curation Review Prompt delivers value and where it introduces risk. Use these cards to decide whether this prompt fits your current QA workflow before integrating it into your regression pipeline.
Good Fit: Mature Golden Sets
Use when: your golden dataset has been in production for multiple release cycles and you need systematic staleness detection. Why: the prompt excels at identifying examples that no longer represent current model behavior or user intent. Guardrail: pair with a coverage gap analysis prompt to ensure removals don't create blind spots.
Good Fit: Pre-Release Hygiene
Use when: preparing for a major prompt version bump or model migration. Why: the prompt catches schema drift, deprecated enum values, and format mismatches before they corrupt your regression suite. Guardrail: run this prompt against a frozen snapshot of the dataset, not the live version, to avoid mid-review mutations.
Bad Fit: Initial Dataset Creation
Avoid when: you are building a golden set from scratch with fewer than 50 examples. Why: the prompt assumes sufficient density to detect distribution gaps and bias patterns. Small sets produce noisy, low-confidence recommendations. Guardrail: use the Golden Example Generation Prompt first, then apply curation review once volume exceeds threshold.
Required Inputs: Schema and Taxonomy
Risk: without a current output schema and domain taxonomy, the prompt cannot reliably detect schema drift or terminology staleness. Guardrail: always provide [OUTPUT_SCHEMA] and [DOMAIN_TAXONOMY] as structured inputs. Validate that the schema version matches what your production prompt expects.
Operational Risk: False Deprecation
Risk: the prompt may flag rare-but-valid edge cases as stale, especially low-frequency examples that are critical for regression coverage. Guardrail: require human review for all deprecation candidates with priority scores above threshold. Maintain an audit log of removed examples with rationale.
Operational Risk: Review Cadence
Avoid when: your golden set changes daily from active labeling pipelines. Why: running curation review too frequently produces churn without meaningful signal. Guardrail: schedule curation review at release boundaries or monthly, not per-commit. Gate the prompt behind a manual trigger in your CI/CD pipeline.
Copy-Ready Prompt Template
A reusable prompt template for reviewing golden dataset examples and producing prioritized curation recommendations.
The prompt below is designed to be dropped into your existing QA or MLOps pipeline. It expects a batch of golden dataset records, your current output contract, and any known failure mode taxonomies. The model will review each example for staleness, bias, coverage gaps, and schema drift, then return structured recommendations with priority scores and explicit deprecation candidates. Use this template as a starting point—adjust the constraints and output schema to match your team's specific review rubric and risk tolerance.
textYou are a dataset curator responsible for maintaining the quality of a golden regression test suite used to evaluate AI prompt behavior. Review the following golden dataset examples against the provided output contract, failure mode taxonomy, and coverage requirements. For each example, assess: - Staleness: Is the example still representative of current production traffic? - Bias risk: Does the example encode or reinforce harmful stereotypes or representational gaps? - Coverage contribution: Does this example test a unique scenario, or is it redundant? - Schema compliance: Does the expected output match the current output contract? - Edge case value: Does this example stress an important boundary condition? Produce a curation report with the following structure. [INPUT] Golden dataset records to review, each containing an input, expected output, metadata, and provenance. [OUTPUT_SCHEMA] { "review_date": "ISO 8601 date of review", "reviewer": "model-and-version identifier", "summary": { "total_examples_reviewed": <integer>, "deprecation_candidates": <integer>, "augmentation_recommendations": <integer>, "coverage_gaps_identified": <integer> }, "findings": [ { "example_id": "<string>", "staleness_score": <float 0.0-1.0, where 1.0 is completely stale>, "bias_risk": "none|low|medium|high|critical", "bias_risk_rationale": "<string>", "coverage_contribution": "unique|complementary|redundant", "schema_compliant": <boolean>, "schema_drift_details": "<string or null>", "edge_case_value": "none|low|medium|high", "recommendation": "retain|deprecate|augment|review", "priority": "P0|P1|P2|P3", "rationale": "<string explaining the recommendation>" } ], "coverage_gaps": [ { "gap_category": "<string>", "description": "<string>", "severity": "low|medium|high|critical", "suggested_example_count": <integer>, "generation_template": "<string describing how to create examples for this gap>" } ], "deprecation_candidates": [ { "example_id": "<string>", "deprecation_reason": "<string>", "replacement_priority": "P0|P1|P2|P3", "migration_notes": "<string>" } ] } [CONSTRAINTS] - Do not recommend deprecation without a clear reason tied to staleness, redundancy, or schema violation. - Flag bias risks even if the example appears technically correct. - For each coverage gap, provide a concrete generation template that a separate prompt can use to create new examples. - If an example is schema-noncompliant, mark it as a deprecation candidate unless the schema itself is under review. - Prioritize P0 for issues that would cause immediate regression test failures or safety incidents. - Do not invent examples or coverage gaps not supported by the provided data. [EXAMPLES] Input example: { "example_id": "ex-0042", "input": "What is the return policy for electronics?", "expected_output": "Electronics can be returned within 30 days with original receipt.", "metadata": { "source": "prod_trace", "capture_date": "2024-01-15", "persona": "customer" } } Output example: { "example_id": "ex-0042", "staleness_score": 0.2, "bias_risk": "none", "bias_risk_rationale": "Generic customer query with no demographic or identity dimensions.", "coverage_contribution": "complementary", "schema_compliant": true, "schema_drift_details": null, "edge_case_value": "low", "recommendation": "retain", "priority": "P3", "rationale": "Example is recent, schema-compliant, and covers a common customer intent. No action required." } [RISK_LEVEL] High. Golden dataset quality directly impacts regression test reliability. Incorrect deprecation can mask real regressions. Missed bias can encode harmful behavior into evaluation benchmarks. All P0 and P1 recommendations must be reviewed by a human QA lead before execution.
Adapt this template by replacing the output schema with your team's specific review dimensions. If your golden dataset includes multi-turn conversations, add a turn_count and context_dependency field to the findings. For teams using LLM judges downstream, include a judge_calibration_risk flag that warns when an example might produce flaky automated evaluations. Always route P0 and P1 deprecation candidates through a human approval step before removing them from the regression suite—automated dataset pruning without review can silently degrade test coverage.
Prompt Variables
Required and optional inputs for the Dataset Curation Review Prompt. Each placeholder must be populated before the prompt is sent to the model. Validation notes describe how to check that the input is well-formed before execution.
| Placeholder | Purpose | Example | Validation Notes |
|---|---|---|---|
[DATASET_MANIFEST] | Describes the golden dataset under review: record count, schema version, creation date, and intended use | {"name": "support-triage-v3", "records": 1240, "schema_version": "2.1.0", "created": "2024-09-15", "domain": "customer_support"} | Parse as JSON; require name, records, schema_version fields; reject if records < 1 or schema_version missing |
[REVIEW_SCOPE] | Defines which quality dimensions to evaluate: staleness, bias, coverage_gaps, schema_drift, or all | ["staleness", "coverage_gaps", "schema_drift"] | Must be a non-empty array of strings from allowed enum; reject unknown values |
[SAMPLE_RECORDS] | A representative sample of golden dataset records for inspection, including input-output pairs and metadata | [{"id": "rec-001", "input": "...", "expected_output": "...", "created": "2024-06-01", "tags": ["refund"]}] | Parse as JSON array; require id and expected_output fields; reject if empty or > 50 records to avoid context overflow |
[SCHEMA_DEFINITION] | The expected output schema that golden records should conform to, including field types and constraints | {"fields": [{"name": "category", "type": "string", "enum": ["billing", "technical", "account"]}]} | Parse as JSON; require fields array with name and type per field; warn if enum constraints are missing |
[PRODUCTION_DISTRIBUTION] | Optional summary of production traffic distribution for drift comparison: intent frequencies, category breakdowns, or time ranges | {"intent_distribution": {"refund": 0.34, "login_issue": 0.28, "cancel": 0.18}, "observation_window": "2025-01-01 to 2025-01-31"} | Parse as JSON; allow null if no production data available; if provided, require observation_window and at least one distribution key |
[PRIOR_REVIEW_NOTES] | Findings from previous curation reviews to track whether prior issues were resolved or recurred | [{"review_date": "2024-12-01", "finding": "15 records with stale category labels", "status": "resolved"}] | Parse as JSON array; allow empty array; if provided, require review_date and finding per entry; reject if status is not in allowed set |
[FAIRNESS_DIMENSIONS] | List of demographic or sensitive dimensions to check for representational bias in the dataset | ["language", "region", "account_tier"] | Must be a non-empty array of strings; reject if empty when bias is in REVIEW_SCOPE; warn if dimensions lack corresponding tags in SAMPLE_RECORDS |
Implementation Harness Notes
How to wire the Dataset Curation Review Prompt into a QA pipeline with validation, retries, and human approval gates.
The Dataset Curation Review Prompt is designed to run as a scheduled or triggered job within a golden dataset management pipeline, not as a one-off chat interaction. It expects a batch of examples—typically serialized as JSON or CSV—along with metadata about the dataset's intended use, schema version, and coverage requirements. The prompt's output is a structured curation report containing priority-scored recommendations, deprecation candidates, and gap flags. This report should be treated as a machine-readable artifact that downstream systems can parse and act on, not just a human-readable summary.
Wire the prompt into an application by first constructing the input payload from your dataset registry. The [INPUT] placeholder should receive a serialized array of examples, each with fields like id, input, expected_output, created_date, tags, and schema_version. The [CONTEXT] placeholder should carry dataset-level metadata: total example count, coverage targets, known bias dimensions, and the current schema contract. After calling the model, validate the output against a strict JSON schema that enforces the expected structure: a recommendations array where each item has example_id, action (one of keep, deprecate, review, augment), priority_score (0.0–1.0), rationale, and affected_dimension. Reject and retry any response that fails schema validation, contains hallucinated example IDs not present in the input, or produces priority scores outside the defined range. Log every validation failure for later prompt debugging.
For high-stakes datasets used in safety-critical or regulated workflows, insert a human review gate between the model's output and any automated dataset mutation. The curation report should be surfaced in a review UI that lets a QA lead accept, reject, or modify each recommendation before changes are applied to the golden set. Track which recommendations were overridden and why, feeding that signal back into prompt improvement and evaluator calibration. Avoid wiring this prompt directly to automated dataset deletion or modification without human approval when the golden set gates production model behavior. For model choice, prefer a capable instruction-following model with strong JSON output discipline; if using a model prone to hallucinated IDs, add a post-processing step that cross-references every example_id against the input payload and strips invalid entries before presenting results to a reviewer.
Expected Output Contract
Define the exact shape and validation rules for the Dataset Curation Review Prompt output. Use this contract to build automated checks in your CI/CD pipeline before accepting curation recommendations into your golden dataset management workflow.
| Field or Element | Type or Format | Required | Validation Rule |
|---|---|---|---|
review_id | string (UUID v4) | Must parse as valid UUID v4. Generated by the prompt or injected by the harness. | |
review_timestamp | string (ISO 8601 UTC) | Must parse as valid ISO 8601 datetime in UTC. Reject if missing timezone offset. | |
dataset_identifier | string | Must match the [DATASET_NAME] input placeholder exactly. Case-sensitive match required. | |
coverage_gaps | array of objects | Each object must contain 'gap_category' (string), 'description' (string), and 'severity' (enum: low, medium, high, critical). Array may be empty. | |
stale_examples | array of objects | Each object must contain 'example_id' (string), 'staleness_reason' (string), and 'recommended_action' (enum: deprecate, refresh, retain). Array may be empty. | |
bias_findings | array of objects | Each object must contain 'finding_type' (string), 'affected_demographic' (string or null), 'evidence_summary' (string), and 'severity' (enum: low, medium, high). Array may be empty. | |
schema_drift_indicators | array of objects | Each object must contain 'field_name' (string), 'drift_description' (string), and 'backward_compatible' (boolean). Array may be empty. | |
curation_recommendations | array of objects | Each object must contain 'priority_score' (integer 1-100), 'action' (string), 'rationale' (string), and 'affected_example_ids' (array of strings). Array must contain at least 1 item. |
Common Failure Modes
Golden datasets degrade silently. These are the most common failure modes when reviewing dataset quality over time, and the concrete checks that prevent them from corrupting your regression suite.
Schema Drift Between Examples and Production
What to watch: Golden examples reference output schemas, field names, or enum values that no longer match the current prompt contract. The test passes but validates the wrong behavior. Guardrail: Run a schema compliance check comparing each golden output against the live expected output contract before every review cycle. Flag any example where field presence, type, or allowed values diverge.
Stale Examples Masking Real Regressions
What to watch: Examples from six months ago test scenarios users no longer encounter. The suite reports 98% pass rates while production quality degrades on current traffic patterns. Guardrail: Tag every golden example with a creation date and expected shelf life. During curation review, compare example distributions against recent production traces and flag any example older than the review window that lacks a recent production match.
Coverage Gaps from Silent Requirement Changes
What to watch: The prompt gains new capabilities or constraints, but the golden set was never updated to test them. New failure modes have zero test coverage. Guardrail: Maintain a coverage map linking each prompt requirement to at least one golden example. During curation review, diff the current prompt specification against the coverage map and generate a gap report with priority scores for missing scenarios.
Bias Amplification Through Unbalanced Examples
What to watch: The golden set overrepresents one user persona, language, or difficulty level, causing the evaluation to optimize for a narrow slice of behavior while ignoring degradation elsewhere. Guardrail: Stratify the dataset by persona, language, intent, and difficulty tier. During review, run a distribution audit and flag any stratum that falls below the minimum representation threshold. Generate augmentation candidates for underweighted categories.
Contradictory or Ambiguous Ground Truth Labels
What to watch: Two examples with nearly identical inputs have conflicting expected outputs, or an example's expected output is so vague that any result could be judged correct. The eval harness produces noisy, untrustworthy scores. Guardrail: Run a pairwise consistency check across the golden set, clustering similar inputs and flagging output pairs with semantic divergence above a threshold. Require human reconciliation for any flagged cluster before the examples remain in the suite.
Deprecation Candidates Accumulating Without Removal
What to watch: Examples marked as questionable or low-quality in previous reviews remain in the active test suite, accumulating technical debt and slowing down test runs with no quality benefit. Guardrail: Assign every example a lifecycle status. During curation review, automatically surface all examples flagged for deprecation in prior cycles that are still active. Require explicit re-approval or removal before the review is considered complete.
Evaluation Rubric
Criteria for evaluating the quality of a Dataset Curation Review Prompt output before approving changes to the golden set.
| Criterion | Pass Standard | Failure Signal | Test Method |
|---|---|---|---|
Staleness Detection | Correctly flags examples older than [STALENESS_THRESHOLD_DAYS] with a deprecation score above 0.7 | Misses examples with timestamps clearly exceeding the threshold or assigns high scores to recently updated records | Unit test with a synthetic dataset containing known old and new timestamps; assert precision >= 0.95 |
Bias Flagging | Identifies at least 80% of pre-seeded representational gaps across [PROTECTED_DIMENSIONS] without false positives on balanced slices | Produces more than 2 false positives on balanced data or misses more than 2 known gaps | Run against a labeled audit dataset with injected demographic skews; measure recall and false-positive rate |
Coverage Gap Analysis | Surfaces missing scenario categories listed in [COVERAGE_TAXONOMY] with priority scores that rank known critical gaps highest | Assigns a low priority to a pre-defined critical gap or fails to list a gap category present in the taxonomy | Compare output gaps against a pre-mapped taxonomy; assert critical gaps appear in the top 3 recommendations |
Schema Drift Detection | Flags any example whose output does not conform to [OUTPUT_SCHEMA] with a drift severity of 'high' | Passes an example with a missing required field or an incorrect enum value without flagging it | Inject 5 schema-violating records into the input set; assert all 5 are flagged with severity 'high' |
Deprecation Candidate Justification | Every deprecation recommendation includes a specific, verifiable reason referencing the example's content or metadata | A deprecation reason is generic, hallucinated, or references data not present in the provided example | Manual review of a 10% sample of deprecation justifications; assert 100% contain a verifiable, example-specific reason |
Priority Score Calibration | Priority scores for 'deprecate' recommendations are consistently higher than 'review' recommendations, which are higher than 'retain' | A 'retain' recommendation receives a higher priority score than a 'deprecate' recommendation for a known-stale example | Run on a labeled calibration set with known outcomes; assert monotonic relationship between recommendation class and priority score |
Output Schema Compliance | The entire response is valid JSON matching the [CURATION_OUTPUT_SCHEMA] with all required fields present | The response is missing the 'recommendations' array, contains malformed JSON, or has an extra unexpected field | Validate the raw output string against the JSON schema; assert strict validation passes with no errors |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Adapt This Prompt
How to adapt
Start with the base prompt and a small golden set of 20-30 examples. Remove the priority scoring and deprecation candidate sections. Focus on a single curation dimension (e.g., staleness only). Use a lightweight CSV or JSONL file as input instead of a database connection. Run manually and review every output.
codeYou are reviewing a golden dataset for [SINGLE_DIMENSION]. For each example in [INPUT_FILE], flag issues and suggest fixes. Do not generate priority scores or deprecation lists.
Watch for
- Over-flagging: the model marks everything as stale or biased when the dataset is fine
- Missing the difference between "needs minor update" and "should be removed"
- No baseline comparison: you can't tell if curation quality is improving iteration to iteration

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us