Test Scenario Selection Agent
Reviews the scenario space for an agent or a twin, using simulator results, coverage and uncertainty, and proposes the few cases most worth testing live, in the factory or with the customer, for the test lead to approve.
For test engineers and test leads.
An accelerator built to run on XMPro. Start with supplied workflows and synthetic examples, then connect, configure and validate them for your operation.
Produces
A proposed test set, ranked, with the reason for each case: a coverage gap, high uncertainty or a safety consequence.
Outcome to measure
Live test time spent on the cases where confidence is lowest.
Agree the baseline and target for your operation.What it does
When it starts
A test campaign is planned (TEST_PLAN_DUE) or simulator results change the picture (SCENARIO_RESULT).
The decision it supports
Reviews the scenario space for an agent or a twin, using simulator results, coverage and uncertainty, and proposes the few cases most worth testing live, in the factory or with the customer, for the test lead to approve.
The output
A proposed test set, ranked, with the reason for each case: a coverage gap, high uncertainty or a safety consequence.
Data and services it needs 5 lookups
- Scenario Lookup
- the simulator scenarios for a library offering, or one scenario, with class (normal, failure, safety, edge), coverage tags, expected outcome, runs, pass rate and uncertaintySource: dbo.IndScenario
- Scenario Run Lookup
- simulator runs for a replay request, an agent or a scenario: agent version, run kind (accepted baseline, replay, exploration), outcome, score, the agent's disposition and the evidence recordSource: dbo.IndScenarioRun
- Agent Deployment Lookup
- a deployed agent, or every deployment of a library offering: intended use, authority stage, model and configuration versions, test plan and ownerSource: dbo.IndAgentDeployment
- Failure Mode Lookup
- the failure modes (FMEA rows) for an asset class with severity, occurrence, detectability and the recommended taskSource: dbo.IndFailureMode
- Requirement Lookup
- the regulatory and standard requirements that apply to an area, with the evidence each needs and when evidence was last recordedSource: dbo.IndRequirement
Operating rules and checks 7 rules
- Rank by evidence from Scenario Lookup and Scenario Run Lookup; give the numbers for every case.
- Always keep a safety-class scenario in a live test set unless the test lead excludes it.
- Say which scenarios stay in simulator regression and why.
- Ranks simulator results the customer's or XMPro's simulator adapter has recorded in dbo.IndScenarioRun and dbo.IndScenario; it does not run or explore scenarios itself. With no simulator results it ranks by coverage and failure-mode severity only and says so.
- 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
TEST_PLAN_DUE: the site test for D19 at DEMO (deployment IND-D19-AGENT-001) is planned for next week with time for three live cases.
Scenario Lookup: 14 scenarios for D19 (recorded simulator results); 11 have 20 or more runs with pass rate 100% and uncertainty below 0.1; SCN-D19-11 (two bearings degrading together) 4 runs, pass rate 75%, uncertainty 0.42; SCN-D19-12 (sensor drift during startup) 2 runs, uncertainty 0.55; SCN-D19-09 (alert during a safety hold) 6 runs, pass rate 100%, safety class; Failure Mode Lookup: combined bearing failure severity 8.
Agent output
propose-test-set for D19: SCN-D19-12, SCN-D19-11, SCN-D19-09, with the reason for each and the 11 scenarios left to simulator regression.
Human decision
The test lead approves the set and books the live cases.
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.
Live cases per test campaign
Cases run live or with the customer per campaign.
Data needed: dbo.IndActionRequestLow-confidence scenarios tested
Share of scenarios with uncertainty above the threshold that were tested live or explained.
Data needed: dbo.IndScenarioTest sets approved as proposed
Share of proposed test sets the test lead approved without changes.
Data needed: dbo.IndApprovalYour 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 moc_compliance
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: go ahead is not approval
These cases describe what to test. They are not evidence of successful execution in XMPro.
Scoping questions
- Which decision or workflow should Test Scenario Selection 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 Test Scenario Selection Agent fits your operation, the data it needs and the work required to put it into practice.