docuAIMS

7.3.3 Simulate — test the team on cases

7.3.3 Simulate — test the team on cases

Simulate is the transformAIMS stage where an agent team is tested on cases before it goes live. The team runs on its real engines: rules, decision models and language models. Nothing it does leaves the room. Nothing is sent, booked or paid. Every case has a known right answer, so the result can be judged.

Simulate exists to find the team's weak points before the process goes live, so they can be fixed first. A run ends in a score, and also in a list of what went wrong: which agent, which kind of case, and why. An accepted run with some of your own cases is what Decide uses for the business case.

What Simulate is for

Simulate does three things:

  • It proves the team for Decide. Decide needs measured figures: how often the team is right, how often a person still steps in, the time per case and the cost per case. They only mean something when they come from many cases with a known answer.
  • It hardens the input and the processing. Problems in what the customer sends are planted in some cases on purpose. Finding such a problem, naming it and handling it as the rules say is a good result. Missing it is not. A problem in the input never counts against the team.
  • It puts quality on record. Every run keeps an audit file per case and per step. It can be sealed and exported.

The Simulate start page

Open Simulate and pick a process. The page opens with the process stepper, as the other stages do: the steps of the process map in a row, with Map, Steps and Cards to switch how you see them. The open step is in the address (?step=), so a reload or a shared link opens the same step.

Each step in the stepper carries a mark from its own runs:

  • Last run accepted: the step is drawn as done.
  • Last run not accepted: the step carries a red dot.
  • Not simulated yet: the step is plain.
  • Run under way: a run of this step is going on now.
  • No saved team yet is added when the step has no saved team version.

The information box shows one figure for the open step: Last run, the share right of its newest run (for example "92% right"), or No run yet.

Below the stepper are three blocks:

  • What to simulate: the start card for a new run (see "What to simulate in Simulate").
  • Earlier runs of this step and Earlier runs of the whole chain: the runs so far, newest first. Each line shows the case set and preset, how many cases are done, the share right and the status (Queued, Running, Stopped, Done or Failed). Choose a line to open that run.
  • The path to Decide, beside them (see "What in Simulate counts for Decide").

A process map without steps has no stepper. Its Simulate page is a list of runs with New run, which opens the same start panel in a window titled New simulation run.

Case sets in Simulate: where the test cases come from

A run always takes its cases from a case set version. Only a released version can be run. A released version never changes: an edit makes a new version, and every run records the version it used, so a run can be repeated on the same cases.

Case sets come from two places:

  • OPSAIMS base sets. OPSAIMS builds them per industry and process, and releases them like agents, with checks and a second signature. About 20 cases are written by hand, each with its right outcome. A generator turns them into many variations and plants defects on purpose, so it always knows the right answer. A language model only words letters and emails. It never decides an answer. The start panel shows the mix, for example "20 hand-written cases and 480 generated variations". These are invented cases: a starter set and a pre-check.
  • Your own cases from Sandbox. In Sandbox, under Take it further, Save the inputs as a case keeps a session's inputs and what a person decided on them as a case of your workspace. The person's decision is the right answer. A Sandbox process run that went the whole way can be saved as one case of the whole process too. A saved case waits as a draft: Draft: Simulate does not run it yet. Use Release N cases for Simulate to release the drafts. The message then names the new version of the case set and says Simulate can run it now. Released cases cannot be changed any more. A case you save later goes into the next version.

When cases from Sandbox wait as drafts and no case set fits the process yet, the start panel says so and points you to Take it further in Sandbox. When there are no cases at all it reads There are no test cases for this process yet.

A case is your own when it holds a document from your workspace's document store. A case made of pasted text counts as invented, as do the OPSAIMS base sets.

What to simulate in Simulate: this step or the whole process chain

On the Simulate start page, the start card What to simulate offers two choices:

  • This step ("Step N · name"): its own input in, its own result out. Start here: it is fast and cheap, and the errors point at one team. The step needs a saved team version. Without one the choice is greyed out and the card says This step has no saved team yet, so it cannot run on its own, with a link Build and save its team in AgenticOrg.
  • Whole process chain: every step, one after the other, automatically. Each case runs from step 1 to the end, and a step's result is the next step's input. The card says how many steps have a saved team.

Below the choice the card names the team that will run: Team version N of this step, or for the chain The team saved for this process. A process with no saved team versions runs the banking pilot's default team (Banking, intake agents of wave 1), and only on the pilot's own case set.

Starting a Simulate run: case set, preset, price and cap

The Simulate start panel asks for:

  1. Case set: the released case set version, by name and version number.
  2. Preset: Quick check (50 cases, a first look), Standard (500 cases, every defect type) or Audit run (1,000 or more, the broadest measure). For an audit run you set the number in Cases in the audit run.
  3. Parallel processes: how many cases run at the same time. Your licence sets the most (at most 10 in the pilot). Each process is one lane on the floor.

A case set smaller than the preset runs every case it holds, and the panel says so. A run of any size can count for Decide. Only an empty case set stops the start.

The price is one AIMS Credit per case, whatever mix of engines the team uses. Continue opens the confirmation: "500 cases = 500 AIMS Credits, start?", with the team, the parallel processes, the price and your balance after. The full price is reserved as a cap. The run stops at the cap, and unused credits come back. Nothing starts until you choose Start run. With too few credits the panel says Not enough AIMS Credits for this run.

Simulate runs on real engines, nothing sent

Every Simulate run uses the team's real engines, and the run header says so: Real engines. Nothing is sent, booked or paid. Effects are blocked by the engine itself, not by convention. When an agent would act outside (send a letter, book an entry), the engine answers "blocked", records what it would have done, and the case carries on. The outcome counts the blocked effects: "Nothing was sent, booked or paid: N effects blocked."

Each agent runs the way its catalogue version says (its own code, a decision model or a language model), and that is fixed for the whole run. A case that does not fit an agent fails that step and says why. It never switches to another engine silently.

How Simulate runs a whole process chain, and the person played from the case

In Simulate, a run of the whole process walks each case step by step, along the way the case recorded in Sandbox. Every step's team runs as its newest team version drew it.

Every team ends at a person. In a simulation that person is played from the case: they release what the person in Sandbox released. Every value the person confirmed is checked against what the team gave. A right value is accepted. A wrong or missing one is corrected to the confirmed value, so the next step works on fair inputs, and the step that needed the correction is judged not good.

  • A person in the middle of a team is played the same way, and the team goes on from their answer.
  • A choice between two ways, and a rejection, are the case's: the run follows the way the case took. A rejection ends the case there.
  • A step without a team (done by hand in Sandbox, or with no team version) is stood in for by what the person released in Sandbox. It counts neither for an agent's score nor against "done alone", and marking the run tested marks only the steps a team ran.

Watching a Simulate run: the Step view

A Simulate run opens in the Step view. It is built to be watched. It opens with one case in slow motion: the case comes in, each agent does its part ("Document Reader is done, 94% sure"), the place where the team would act outside is held back, and the result is compared with the expected one. Play all fast or Play in real time then runs all cases.

The screen shows:

  • The step at work: inputs waiting, the agents, and the outputs as cases end. Each ending has its own bin, for example To a person or Not finished.
  • Three gauges, Quality · right result, Speed · time per case and Cost · per case, engines, with a Focus switch between them. The cost gauge shows the AIMS Credits spent.
  • What came up, newest first, in three lanes: Caught correctly (a planted problem handled as the rules say), Needs your decision (the result differs from the expected one, or the team was unsure) and Technical (the engine could not finish the case; rerun free).
  • The controls: Live, Pause, Play, Replay, Fast-forward, To the end and a speed choice (Slow motion, Real time, Fast).

At the end, Result gives the headline, for example "46 of 50 cases right. 7 of 8 planted problems caught." Under 100 cases it adds Run 100 or more cases before you rely on a rate.

The Simulate Detailed view: Watch, Measure, Follow a case

On a Simulate run, switch to Detailed view above the run for three tabs:

  • Watch: the floor. Agent stations stand in process order, and cases move through them in parallel lanes (P1, P2 …). A side rail lists the agents with their score against their minimum, and For your review.
  • Measure: Share right as cases add up with its likely range and the team minimum; Where cases end; Planted defects found and missed; Who decided (rule first, then the decision model, then a language model); For your review; Agents at work; All cases, one cell per case; and Newest cases.
  • Follow a case: one case scene by scene, with each agent's step, the effects guard, the machine judge, the known answer and the team's answer.

A third choice, Evidence, opens the run's evidence (see "The evidence of a Simulate run").

Judging in Simulate: the machine judge and your verdict

In Simulate the machine judges every case against its known answer, by rules only, never with a language model:

  • A case from Sandbox is judged value by value against the outcome the person confirmed. A value is right when it matches however it is written ("EUR 180,000" is 180000). The case is good when every value is right and every step finished. A case the person rejected in Sandbox, or one with no value to grade, is not judged and goes to a person.
  • Banking's loan cases are judged by the loan judge: complete file or request to the customer, and which planted defects were found.

A person then checks a sample: every case the machine was unsure about, plus a random 5 %. They arrive in For your review. Open one with Review the next case. The case says why it is there (Reviewed because the machine was unsure on a step or Reviewed because it fell in the random 5 %). Choose Good or Not good. Not good needs a reason: choose one or write it in Or in your own words. Then Save verdict.

When you disagree with the machine, you win: Your verdict wins. Flagged for OPSAIMS. Your verdicts can still change the share right after the run.

In the Step view a case under Needs your decision asks one question: The team needs a fix or The expectation was wrong. A decision is final and goes into the audit file.

The Simulate outcome: pass marks and acceptance

When a Simulate run ends, the outcome banner says how it came out against its pass marks:

  • All fine. This step is ready. Every pass mark was met. The run is Accepted.
  • Almost there or Not ready yet, with the areas to focus on next. The run is Not accepted.
  • Run complete. No pass marks were set. A run without pass marks can neither pass nor fail.
  • Stopped (at the credit cap, by a person, or because it could not go on) or Failed.

A run is accepted only when it meets every mark:

  • Wrong: at most this share of cases judged not good or not finished. A case handed to a person and judged good is not wrong.
  • Done alone: at least this share of cases the team finished without a person. When a team ends at a person, a case counts as done alone when the person only had to confirm: nothing corrected, nothing added, nobody else asked. For a single step, Score sets this mark: where Score says Automate 70 %, the mark is 70 %, and where Score says Augment, the run is not held to autonomy.
  • Agents: every agent at its own pass mark. One agent below its mark blocks acceptance.

The tiles show each score against its mark. Focus next, most important first lists the patterns behind the problems, in the team's own words where possible. What went well and Against the last run (right results, wrong, cost per case, up or down) sit beside them.

The buttons depend on the outcome: Mark vN as tested, Run the whole chain and Continue to Decide after an accepted run; Run again and Fix in AgenticOrg after one that was not accepted; Review N cases while reviews are open.

Simulate rules: pass marks and learning settings

Simulate's pass marks are set per workspace under Admin ▸ Studios ▸ transformAIMS, on its Simulate stage, card Simulate rules. OPSAIMS sets at most 2 % wrong and at least 50 % done alone. You can set your own, and Back to the OPSAIMS defaults restores them. New runs use the marks saved at their start. Earlier runs keep theirs.

The same card holds Learning from runs: when Simulate recommends a change to the team (More quality, More speed or More control). A person always decides whether a recommendation is applied.

What in Simulate counts for Decide

A Simulate run counts for Decide when two things hold:

  1. It was accepted against its pass marks. Its size does not matter.
  2. Some of its cases are your own: they hold a document from your workspace's store. There is no minimum number.

A run made only of invented cases does not count. Quick checks on invented cases are for trying things out. The rule is the same wherever the cases came from, Simulate's own sets or cases saved from Sandbox.

Mark vN as tested attaches an accepted run to every team version it tested and makes them tested. It is refused, with the reason, when the run was not accepted, when none of its cases is your own, or when the run did not test a saved team version. After marking, the outcome says It counts towards Decide now.

The path to Decide, beside the runs on the start page, shows three steps and where the process stands:

  1. Each step on its own: until its run is accepted ("3 of 7 steps passed").
  2. The whole chain: automatically, once every step has a saved team.
  3. Audit run with your own cases: the screen asks for an accepted run with some of your own cases. This step lights up from the newest run with the Audit run preset that was accepted. It does not check for your own cases. Whether a run really counts is decided by the two rules above, when you mark it tested.

The evidence of a Simulate run

On a Simulate run, See the evidence in the outcome, or Evidence above the run, opens Evidence of run … for an auditor. It makes three statements, each with what the run stored as proof:

  • The test cases were fixed before the run: the case set and version, a fingerprint of its content, and each case's right answer, stored before any agent worked on it.
  • The team really ran: every agent with its catalogue version, engine, steps, model calls and tokens, and the team versions tested. Tokens are the models' own counts, in and out. A dash means the run stored no count: it is not known, never zero. In a case, a step that more than one model answered lists its tokens by model.
  • Rules judged it, not a model: the judge and its version.

Download audit file (JSON) and Print / Save as PDF export it. Seal the run stores the fingerprint of the audit file with the run. After sealing nobody can change a decision on its cases. Sealing cannot be undone.

On this page