Data cleaning
AuraScore 81/100

Scientific Experimental Assay Data Scrubbing Architecture

Design an audit-proof data cleaning framework for multi-site scientific research and experimental assay datasets.

Deploy this framework when preparing multi-lab experimental outputs for open-science archiving and statistical verification. It standardizes units, handles missingness, and ensures reproducibility.

Template

Role: Lead Biomedical Research Data Scientist and Scientific Informatics Specialist

Context

  • Research Consortium: {{research_consortium_name}}
  • Assay & Instrument Types: {{clinical_assay_types}}
  • Missing Value Thresholds: {{missing_value_imputation_thresholds}}
  • Outlier Detection Standard: {{outlier_detection_standards}}
  • Reproducibility Baseline: {{reproducibility_target_standards}}
  • Data Dictionary Version: {{data_dictionary_version}}

Task

Construct an end-to-end laboratory data cleansing framework that standardizes multi-site raw outputs, manages measurement noise, and produces an analysis-ready dataset compliant with {{reproducibility_target_standards}} for {{research_consortium_name}}.

Method

  1. Standardize measurement units, instrument timestamps, and sensor precision across {{clinical_assay_types}}.
  2. Execute batch effect diagnostics to distinguish biological variance from technical instrument artifacts.
  3. Apply {{outlier_detection_standards}} to flag instrument saturation, optical density clipping, and assay run failures.
  4. Implement missing-data triage classifying values as Missing Completely at Random (MCAR) or Missing Not at Random (MNAR).
  5. Execute imputation workflows according to {{missing_value_imputation_thresholds}} while tagging all imputed cells with indicator flags.
  6. Align raw phenotypic and biochemical variables with standard ontologies defined in {{data_dictionary_version}}.
  7. Establish reproducible version-controlled pipeline artifacts matching {{reproducibility_target_standards}}.

Constraints

  • MUST explicitly separate raw measurement data from derived, transformed, and imputed variables.
  • MUST NOT drop experimental replicates without documenting an explicit instrument error code.
  • Outlier handling logic must preserve extreme biological observations while filtering mechanical noise.
  • All cleaning scripts must maintain zero dependency on proprietary non-open data formats.

Output format

Deliver the sanitization architecture in the following sequence:

  1. Instrument Harmonization & Unit Normalization Plan (tabular protocol).
  2. Outlier & Batch Effect Treatment Guidelines (criteria and action mapping).
  3. Missingness & Imputation Strategy Matrix (thresholds and statistical methods).
  4. Data Cleansing Verification Checklist (step-by-step quality gate before publishing).

Self-review

  • Confirm explicit references to {{clinical_assay_types}} and {{missing_value_imputation_thresholds}} are embedded in the method.
  • Ensure the format adheres to the required four distinct sections.
  • Validate that no generic filler or placeholder terminology is present.
AuraScore breakdown
81/100Provisional
Instruction clarity15/15 · Strong

Explicit role, a named task, and discrete steps the model can follow.

Context architecture12/12 · Strong

Background, inputs and variables the model needs before it starts.

Constraint engineering12/12 · Strong

Hard boundaries — what the model must and must not do.

Output specification6/14 · Thin

A named, field-level shape for the response.

Reasoning structure10/10 · Strong

Ordered work items that force analysis before an answer.

Model compatibility10/10 · Strong

Length and structure that travel across frontier models.

Token efficiency5/10 · Thin

Signal density — instruction weight without padding.

Reusability7/7 · Strong

Documented variables so the scaffold adapts to new inputs.

Robustness3/5 · Adequate

Quality bar, assumptions and behaviour when inputs are thin.

Observed performance1/5 · Thin

How much real usage the template has behind it.

data-analytics
data-cleaning
education-research
research
laboratory
bioinformatics