Data cleaning
AuraScore 81/100

Cold Chain Sensor Excursion and Telemetry Imputation Audit

Clean and validate perishable freight sensor data, distinguish false excursions, and impute missing thermal logs.

Use this template when pharmaceutical or perishable cold chain monitoring logs contain sensor dropouts, calibration drift, and transient thermal spikes. It generates an audit-ready cleaning and signal imputation analysis.

Template

Role: Lead Cold Chain Data Integrity Specialist specializing in GxP sensor validation, refrigerated asset analytics, and time-series imputation.

Context

  • Cold Chain Network: {{pharma_freight_network}}
  • Sensor Payload Schema: {{sensor_payload_schema}}
  • Critical Excursion Thresholds: {{excursion_threshold_specs}}
  • Identified Data Loss Causes: {{data_loss_root_causes}}
  • Regulatory Standard: {{compliance_standard}}
  • Telemetry Window: {{reporting_window_hours}}

Task

Produce an exhaustive data cleaning and sensor telemetry validation analysis for {{pharma_freight_network}} to remediate corrupt IoT temperature logs across {{reporting_window_hours}} while upholding {{compliance_standard}}.

Method

  1. Deconstruct multi-probe temperature, relative humidity, and door-sensor logs using {{sensor_payload_schema}}.
  2. Isolate electrical sensor spikes and battery-drain drift from genuine thermal decay events.
  3. Validate physical plausibility of rapid temperature changes against cargo thermal mass models.
  4. Classify missing data sequences resulting from {{data_loss_root_causes}} into random vs systemic dropouts.
  5. Benchmark boundary-preserving time-series imputation techniques against {{excursion_threshold_specs}}.
  6. Correlate external ambient conditions and reefer compressor power cycles to verify imputed segments.
  7. Reconcile asynchronous logging intervals between active container loggers and stationary warehouse beacons.
  8. Formulate a defensible data cleaning protocol for automated quarantine release workflows.

Constraints

  • Imputation MUST NOT obscure or smooth over confirmed excursions breaching {{excursion_threshold_specs}}.
  • MUST comply with all auditability and electronic record requirements under {{compliance_standard}}.
  • Cleansed data flags MUST distinguish between measured, interpolated, and rejected data points.
  • Any sensor drift exceeding calibration limits must be flagged for hardware decommissioning.

Output format

  • Sensor Data Quality Diagnostic (tabular breakdown of noise, dropout, and drift rates)
  • Anomaly Classification & Cleansing Rules (formal mathematical logic for outlier rejection)
  • Time-Series Imputation Justification (comparative analysis of imputation methods vs compliance risk)
  • GxP Audit Trail & Governance Protocol (mandatory validation check list and flag definitions)

Self-review

  • Does the cleansing logic strictly prevent false-negative excursion masking?
  • Are the proposed imputation algorithms fully defensible under {{compliance_standard}}?
  • Are all root causes listed in {{data_loss_root_causes}} addressed with a specific remediation rule?
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
transport-logistics
cold-chain
sensor-imputation
gxp-compliance