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.
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
When it starts
A data quality check fails (DATA_QUALITY).
The decision it supports
Finds gaps, flatlines and bad timestamps in historian data.
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 exampleA 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.
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.IndDataQualityYour 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
- 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.
- 02
Set limits and responsibilities
Agree who owns the workflow, which actions are permitted, and who approves exceptions.
- 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.
- 04
Set up success measures
Select the relevant measures, connect their data sources, and set your baseline, targets and review frequency.
- 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
- Which decision or workflow should Data Quality Agent support in your operation?
- Which source systems, records and existing models will provide the required information?
- Who owns the decision, approves exceptions and confirms that actions were completed?
- 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.