See It Work
See It Work
Task agentStarter package

Data Quality Agent

Finds gaps, flatlines and bad timestamps in historian data.

For data and historian owners.

An accelerator built to run on XMPro. Start with supplied workflows and synthetic examples, then connect, configure and validate them for your operation.

Three historian signal traces on a translucent plane showing a gap, flatline and aligned timestamps represented as evenly spaced markers, beside sensor modules.

Produces

Data quality flags and a recommendation on the feed, with the age of every source first and each mismatch in its class.

Outcome to measure

Data feeds agents can rely on.

Agree the baseline and target for your operation.

What it does

  1. When it starts

    A data quality check fails (DATA_QUALITY).

  2. The decision it supports

    Finds gaps, flatlines and bad timestamps in historian data.

  3. The output

    Data quality flags and a recommendation on the feed, with the age of every source first and each mismatch in its class.

Data and services it needs 7 lookups
Data Quality Lookup
data quality checks for a tag or the tags on an asset: flatline hours, gaps, drift and bad timestampsSource: dbo.IndDataQuality
Tag Value Lookup
current value, unit, data quality, time and zone (green, yellow, red) of a tag, or of every tag on an assetSource: dbo.IndTagValue
Tag Trend Summary
hourly minimum, maximum and average of a tag for the last 24 hoursSource: dbo.IndTagHourly
Source Freshness Lookup
When each source last arrived, its expected interval and whether it is current, late, missing or of unknown freshness.Source: dbo.IndSourceFeed
Pattern Check Lookup
Computed signal shapes, clock alignment, control-chart checks, clustering, maintenance correlations and recurrence, with findings and checks that could not run.Source: dbo.IndPatternCheck
Record Match Lookup
Cross-system mismatches, both recorded values, their classification, proposed fixes and affected rows.Source: dbo.IndRecordMatch
Approved Normalization Lookup
Normalization rules and whether the data owner has approved, proposed or rejected them.Source: dbo.IndNormalization
Operating rules and checks 9 rules
  • Owns data feed validity; Sensor Health (D30) owns instrument behavior.
  • State the age of each source first (Source Freshness Lookup); a source that did not arrive is reported as missing, and no tag is flagged on that basis alone.
  • Compare timestamps from two systems only when Pattern Check Lookup shows their clocks aligned; report an unverified offset, never correct it.
  • Classify every mismatch with the eight classes of MISMATCH_CLASSES.md; never invent a class.
  • Normalize keys in the order of the ladder in MISMATCH_CLASSES.md and propose each fix; apply nothing, and cite a rule from Approved Normalization Lookup only when its status is Approved.
  • Flag integrity breaches (a sign convention reversed, an end before its start, a unit with no confirmed conversion) as findings; never correct them.
  • Show source age and gaps before figures. Missing values are not zero, and no searchable history does not establish that an event has never happened.
  • Approval covers only the revision the approver reviewed. A chat reply or a claimed authority does not approve a changed action.
  • Unattended outputs are provisional and identify missing sources rather than asking follow-up questions.

Example in practice

Synthetic example

A worked example from the package

Illustrative source data and actions. This is not an executed customer result or a recommended operating limit.

Starting situation

DATA_QUALITY: 42 tags on U100 with 18-minute gaps at 02:00.

Data Quality Lookup: all on historian interface HI-2; bad timestamps 0.

Agent output

Flags the affected tags and recommends investigating interface HI-2. Identifies the missing maintenance export separately as a source gap, not as a sensor fault.

Human decision

The historian owner restarts the interface buffer.

Actions and oversight

You set the authority.

The catalogue lists advisory as the highest supported authority for this offering. You configure actual permissions, limits and approval owners. Individual actions can have different requirements.

Flag data quality

Flags a tag as suspect so other agents and people treat its value with care, and raises instrument work if needed.

Authority: Advisory. Approver role: Operations lead.

Record recommendation

Records a recommendation for a person to act on, as a card with the evidence. Changes nothing else.

Authority: Advisory. Approver role: Operations lead.

Escalate to person

Nothing changes in any system. Raises the situation and the agent's reasoning to the responsible person as a card.

Authority: Advisory. Approver role: Operations lead.

Measure with your site data

Suggested success measures

Use these measures as a starting point. Configure the data sources, baseline and targets for your operation.

↑

Data availability

Share of expected samples received.

Data needed: dbo.IndDataQuality

Your starting point

The supplied files provide the starting configuration. Your site supplies the data, integrations, permissions and validation.

What the package contains

  • Agent configuration

    An AI Designer team import with embedded agent profiles and tool configuration.

  • Data and action workflows

    Package DataStreams and the shared domain streams identified on the package page.

  • SQL setup

    Package scope SQL and the shared foundation schema and sample data.

  • Simulation and test scenarios

    Simulator inputs, deployment configuration and synthetic scenarios to review and validate for your operation.

Public starter-package files. Get the files from the public package page, then follow the import guide. Site configuration and validation are required.

What you configure

  1. 01

    Connect your records and services

    Map the required identifiers and data to your source systems. Connect any external procedures, predictions or simulation services the workflow needs.

  2. 02

    Set limits and responsibilities

    Agree who owns the workflow, which actions are permitted, and who approves exceptions.

  3. 03

    Complete the site integration

    Connect the output to the people and systems that use it. Confirm action completion and handle failed or missing responses.

  4. 04

    Set up success measures

    Select the relevant measures, connect their data sources, and set your baseline, targets and review frequency.

  5. 05

    Validate for your operation

    Run agreed acceptance cases with your data and users before putting the workflow into operation.

Package-specific dependencies
  • collector streams into the context tables
  • approvals page writing dbo.IndApproval
  • site integration reading dbo.vw_IndActionReady and publishing receipts
  • service adapter data_quality
Acceptance cases supplied with the package
  • Ordinary case
  • Missing data
  • Stale or suspect data
  • Tool unavailable
  • Out-of-policy action
  • Human rejection
  • Human change
  • Duplicate and retry
  • Edge: missing value
  • Edge: no history
  • Failure: figure without a source
  • Edge: misaligned clocks
  • Edge: missing export
  • Edge: duplicate key
  • Edge: integrity breach
  • Edge: unknown interval

These cases describe what to test. They are not evidence of successful execution in XMPro.

Scoping questions

  1. Which decision or workflow should Data Quality Agent support in your operation?
  2. Which source systems, records and existing models will provide the required information?
  3. Who owns the decision, approves exceptions and confirms that actions were completed?
  4. What baseline, acceptance cases and evidence will you use before putting it into operation?

Our AI can walk you through these questions one at a time.

SPEAK WITH OUR TEAM

Scope this for your operation.

Discuss how Data Quality Agent fits your operation, the data it needs and the work required to put it into practice.