Agent verification and testing use repeatable QA reference cases to evaluate the Agent. Engineers first prepare references in the QA sample library, then initiate batch testing, navigate to specific cases from the summary results, and can initiate SOP learning from the accuracy report, writing reusable methods into versioned Skills. Execution, evaluation, reference writing back, and learning writing each have final states that need to be judged separately.
Prerequisites
To use Agent verification and testing, the following conditions must be met simultaneously:
- The current account has management permissions for the target Agent, as well as the corresponding QA or batch test permissions.
- Agent instructions, models, data scope, and reference cases are available; confirm the Agent and workspace are correct before running.
- System administrators or O&M personnel can view the accessible task status in the task center, but triggering and viewing are subject to their respective permissions.
Initiating SOP learning also requires: completing one round of batch testing and having reached a final conclusion on accuracy assessment; the case must have a complete successful run, reference answers or clear judgment criteria, and a clear pass/fail conclusion.
Feature entry
Click Test at the top of the Agent workspace, and select:
- QA Library: Maintain reference cases, add, edit, or import files.
- Batch Test: Select cases to execute, generating traceable individual results; you can also directly run after selecting cases from the QA library.
Feature details
Run batch tests
Engineers with Agent and QA permissions can go to Agent > Test at Top of Workspace > Batch Test, execute selected cases, and generate traceable results. Before running, Agent instructions, models, data scope, and reference cases must be available.
The current page displays the task phase and status; cross-page information can be continued to view in the batch test details of the task center. The result page shows a summary and opens cases indicating the task is completed; for failed or cancelled states, handle task errors before retrying. Progress is based on the summarized quantity and phase; evidence for individual cases is retained on the result page; only authorized engineers or O&M personnel can trigger or view the corresponding scope.
The completion count and progress bar indicate execution count; 100% does not equal all cases successful. Success, error completion, failure, and cancellation must be judged separately; accuracy and stability assessment have their own statuses. After correcting model, data, permission, or service issues, retry for failures.
SOP learning method
SOP learning extracts reusable query methods and constraints from the batch test accuracy report, generates a draft Skill revision for review, writes it into the versioned Skill after reviewing differences. Candidates are not automatically published; diagnostic information is retained if evidence is insufficient, rules conflict, or security verification fails, rather than generating seemingly usable procedures.
Procedure:
- In the accuracy report, open Generate SOP Learning Summary, select the Skill baseline (optional) and learning options.
- Click Load Cases, select the cases to learn from in the case queue, and click Analyze Cases.
- The system extracts methodologies and constraints trajectory by trajectory. After completion, view the workflow, constraints, dataset facts, and source cases in Revised Candidates.
- Open Candidates vs Baseline to preview the differences. After confirmation, click Write to Skill, wait for the receipt, and verify the new version and revisions.
Candidate Review: Candidates are divided into methodology and dataset facts. Methodology describes a transferable query process, excluding dataset-specific table names or fields; dataset facts apply only to the current data source and require manual confirmation before use. Some root causes are explicitly marked when extraction is incomplete, to avoid assuming all failure patterns are covered. The verification preparation status showing "Pending Real Playback" only means the validation set is prepared, not that the candidate has passed real playback or accuracy has improved.
Write and Restore: The first click on Write to Skill only opens a read-only preview. After confirmation, approve in the pop-up window to replace the baseline text; the write retains the manual text, existing rules, and support files, forming a roll-back version. After writing, you can click Restore Previous Version to revert, creating a new traceable version without deleting the candidate, cases, or evaluation history. If other managers have updated the Skill during this period, an expired operation will return a conflict and require re-review.
Note
A candidate does not equal an updated Skill. The Skill is only updated after an engineer confirms and writes it in the difference preview. Automatic publishing is not provided in the current phase.
Create, edit, and synchronize references
Engineers with QA management permissions can go to Agent > Top Test on Workbench > QA Sample Library, click Add Sample or Import File in the upper-right corner, to prepare clear, reusable reference scenarios for quality operations.
After synchronization is complete, batch tests can select the updated reference cases; if synchronization fails, the retained error information is used for correction and retry. When writing back references from batch test answers, select eligible successful answers on the result page. Single answers can be edited and saved, while batch or AI rewriting will be submitted to the backend for processing.
QA sample import and export
QA samples support exporting all, currently filtered, or selected samples, with a single file limit of 10 MB, excluding attachments; the original sample hierarchy is retained upon import.
Read queue, run, and results
During queuing or running, wait until the current phase reaches its final state. After completion, use the summary to identify overall issues, then open specific cases to check inputs, answers, and data scope. Temporary counts displayed during page runtime cannot be used as a final conclusion.
Accuracy and stability need to be assessed separately for each page action. Stability requires at least two runs; completed records from failed tasks can still be used for allowable accuracy assessment, but missing or indeterminable parts cannot count as passed.
Distinguish between infrastructure and business results
If a task shows as failed or cancelled, first check the model, data, Agent configuration, and service conditions, correct them, and rerun; such states indicate the run was not completed. Only tasks that are completed and have case results enter business result judgment. Overall success should also continue to check the business conclusion for each rule.
