Skip to Content
Test runs

Test runs

A test run is a real run of the template you are building, started from the builder in one click. You play it as the facilitator and as two test players, on the real dashboards, before you publish anything. Each time you save, the test run is replaced with a run of the new version, and everything you did is done again in it, so you land back where you were.

Test runs are behind a server setting and are not switched on in every environment. If there is no Test run button next to Save in the builder, they are off where you are. See Availability.

What it’s for

  • Trying a template before you publish it. A test run can use a version you have not published, so you can catch a trigger that never fires, a confusing brief or a wrong metric change before any participant sees it.
  • Fixing and checking in a loop. Play up to the part you are working on, change the template, save, and you are back at the same point under the new version. You don’t click through the first three tasks again to check your fix to the fourth.
  • Seeing both sides at once. The facilitator dashboard and each team’s dashboard are one click away.

For example, in a quick-commerce simulation, Test Player 1 hands in the supplier negotiation task, but the trigger that should raise Supplier Trust does nothing. You fix the trigger’s condition and save. The new run replays the hand-in, and this time Supplier Trust moves.

Starting a test run

Save the template

The Test run button appears in the builder’s header, after Save (and Publish, when that is shown), once the template has been saved at least once. It is not shown on a new, unsaved template or in the read-only view.

Click Test run

Any unsaved changes are saved first, as a new version, so the run is exactly what is on screen. A new run of that version is created and started straight away. If nothing needed saving, the run uses the latest saved version.

Open the menu

The Test run button now shows a dot. Click it to open the menu, then open the facilitator dashboard or one of the test players.

To start a test run you need permission to update the template and to create simulation instances (Simulation Template: Update and Simulation Instance: Create, see Feature groups).

The version does not have to be published, but it must pass the same checks Publish runs. If it does not, no run is started and the builder shows the reason (it starts with Publish validation failed).

How a test run is set up

A test run is set up the way the instance wizard would set it up, with these choices made for you:

SettingIn a test run
NameTest run · <template title> · V<version>, described as “Started from the builder”
VersionThe version you just saved, or the latest saved one. It may be unpublished.
TeamsTwo teams, Test Team 1 and Test Team 2, of one player each
PlayersTest Player 1 (test-player-1@example.com) and Test Player 2 (test-player-2@example.com). Each gets a random password and is not asked to change it.
StartImmediately
Round progressionAs in every run, the facilitator dashboard has Next Round and End Simulation, so you can move on without waiting
TimingThe wizard’s default. In a Time-based template every duration you set (run, rounds, subrounds, tasks) is a limit. In a Non-time-based template there are no limits.
TagsIf you can only see runs with certain tags, the run gets your tags, so you can see it. See Profiles and tags.

You can’t change the number of teams or players in a test run.

The Test run menu

The dot on the button is green while the run is fine and amber when the last replay stopped short. While a new run is being set up the button shows a spinner instead, and during a replay a count such as 4/12.

ItemWhat it does
Test run · V4The version the run is of, with its status: Starting, Running, Paused, Ended or Stopped.
Open the facilitator dashboardOpens the run’s facilitator dashboard in its own tab. Clicking again reuses that tab.
Open Test Player 1 (Test Team 1), Open Test Player 2 (Test Team 2)Signs you in as that player, with no password, and opens their dashboard. Both buttons use the same player tab.
Sign in from another browserShows the player sign-in address for the run and each test player’s email and password.
RestartSaves any unsaved changes, then replaces the run with a new one of the latest saved version. What you did is replayed if Replay to where I was is on.
Start cleanSaves any unsaved changes, then replaces the run with a fresh one. Nothing is replayed.
StopCancels the run, as the facilitator’s Cancel does. Only shown while the run is live.
Restart on saveOn (the default): every Save replaces a live test run with a run of the version you just saved. Off: saving leaves the test run alone, and you restart it yourself.
Replay to where I wasOn (the default): a restart, on save or from Restart, replays what was done in the old run. Off: every restart starts clean.

The two switches are remembered in your browser.

Once the run has ended or you have stopped it, the menu folds back into the plain Test run button. Clicking it starts a fresh run with nothing replayed, and saving does not start a run until you have started one again.

Playing as a test player

Clicking a player in the menu opens a short “Opening the test player…” page, which signs you in as that player and opens their player dashboard. Only the person who started the test run can do this, and only for their own test run. If it fails, the page says This test player couldn’t be opened; open the player again from the menu.

A browser holds one player sign-in, shared by all its tabs. Opening Test Player 2 in the same browser switches the player tab to Player 2, and any other player tab in that browser reloads as Player 2. To play both teams side by side:

  1. Open Sign in from another browser in the menu.
  2. In another browser, or a private window, go to the address shown (/play/<run id>/login).
  3. Sign in with the other player’s email and password from the list.

Each new run gets new passwords, and the server keeps them only in memory. If the server has restarted since the run began, the list says reset it on the dashboard instead of a password: reset that player’s password from the facilitator dashboard.

The facilitator dashboard is the normal one, with a Test run badge beside the run’s name. Everything on it works as in a real run, except that it has no Delete: test runs are cleaned up from the builder.

Moving between the builder, the dashboard and the players

  • Keep the builder, the facilitator dashboard and a player in separate tabs. The menu always opens the dashboard in the same tab and the players in the same tab, so you don’t collect stray tabs.
  • When a restart finishes, open dashboard and player tabs in the same browser move to the new run by themselves, on the same page. The dashboard keeps its view (the leaderboard, say), and a player stays on the same page of their dashboard, signed in as the same player.
  • They move when the replay has finished, not before. Until then they stay on the old run.
  • It is the builder that tells them, so the builder must be open in the same browser. A player signed in from another browser does not follow: sign in again with the new run’s address and password.

Saving during a test run

With Restart on save on, each Save while a test run is live does this:

A new version is saved

For example, V5.

A new run of V5 is created and started

It is set up exactly as above.

What you did is replayed into it

Only if Replay to where I was is on. The menu shows Replaying what you did: 4 of 12…. See How the replay works.

Open tabs move to the new run

As described above.

The old run is cancelled

It is kept until the next restart, so pages still open on it don’t break. Anything older is deleted.

If you save again while a restart is still going, the new save waits. The menu adds Your latest save is next., and when the current restart finishes, a new one starts from your latest save. Saves in between are skipped: only the latest one is used.

How the replay works

What is recorded

Every request that changes how a test run plays is recorded in order, with who made it (the facilitator or which test player) and what was sent. Only requests that succeeded are recorded. The step names below are the ones the builder uses when a replay stops.

KindSteps
Running the runPause, Resume, Next round, End, Round schedule, Extend time, Run time limit
TasksOpen task, Move task, Assign task, Complete task, Submit task, Submit
ComponentsOpen resource, Map, Action, Rubric evaluation, AI evaluation, Release results, Update leaderboard
AI conversationsStart conversation, Message, Voice message, Voice call, Restart conversation, End conversation, Evaluate conversation

The result of each AI evaluation a trigger runs is recorded too, so it can be reused. So are the files a player uploads for a hand-in: before a Submit step is replayed, its files are copied into the new run, so the replayed hand-in carries them.

On standard voice, each message is a Voice message step. On either live voice mode, each turn of the call (what the player said and what the persona answered) is a Voice call step. A replay adds those words to the conversation again without opening a call.

These are not recorded, so they are not replayed:

  • Time passing. The new run’s clock starts when it is created. Anything that happened in the old run because time passed (a timer trigger, a deadline, a time-based metric’s growth) has not happened yet in the new one.
  • Things that don’t change how the run plays: reading, starring or clearing notifications, a player’s profile, picture or preferences, dismissing a banner.
  • Facilitator housekeeping: editing players, resetting passwords, changing tags, and starting or cancelling the run.

How a step is replayed

  • Steps are sent into the new run one at a time, in the order they were first done, as the same person: facilitator steps as you, player steps as the same test player.
  • Each goes through exactly the same checks as when someone does it for real. If the new version would not allow it, it is refused.
  • The old run, its teams and its players are swapped for their counterparts in the new run (Test Team 1 for Test Team 1, Test Player 2 for Test Player 2). Tasks and components keep their identity from one version to the next, so a step finds the same task as long as you edited that task rather than deleting it and adding a new one.
  • After each step, the replay waits for any AI evaluation the step set off to finish, as it had when the step was first done, before going on.
  • Anything done in the old run while the replay is going is carried across too.
  • Replayed steps are recorded again in the new run, so the next save carries everything forward.

AI replies are reused

A step that got an answer from an AI model the first time gets the same answer again from the recording: a persona’s reply in a conversation, the turns of a live voice call, a conversation’s evaluation, an AI evaluation’s score and feedback. The model is not asked again. AI evaluations run by triggers are reused the same way, in the order they first ran, for the same component and team.

This keeps a replay quick and repeatable, and replayed steps don’t use your organisation’s AI allowance. It also means:

  • Edits to a persona’s instructions or an evaluation’s criteria don’t change what is replayed. Replayed replies and scores are the old ones. Your change applies to new messages and new evaluations from that point on. To see it on something you had already done, use Start clean and play that part again.
  • Something new is evaluated for real. If the new version makes something run an AI evaluation that did not run before, there is no recording of it, so the model is called as usual.

When the replay can’t reach the same point

The replay stops at the first step that can’t be done, and leaves the new run as far as it got. That happens when:

  • The new version refuses the step. For example, you deleted the task or component it acted on, or the step relied on something that, in the new run, has not happened yet (a task that a timer trigger unlocked, say). The reason shown is the one the server gave.
  • There is no one in the new run to do it as. The player who did the step is not in the new run.
  • An AI evaluation the step started didn’t finish within two minutes.

When a replay stops, the builder shows a notice, The replay stopped, naming the step as who, what and where, for example Player 1 · Submit · Market analysis, with the reason and a Restart button. The Test run dot turns amber, and the menu says The replay stopped at … The run is as far as it got. with a Restart from the beginning button.

You can carry on playing from where it stopped, or click Restart (in the notice) or Restart from the beginning (in the menu). Both save any unsaved changes first, as every way of starting a test run does, then start a clean run of that version with nothing replayed. If the save fails, no run is started.

If the new run can’t be created at all, or the replay breaks off for another reason, the builder says The test run could not restart or The replay didn’t finish, with the reason.

How test runs differ from real runs

A test run is a real run: the same engine, triggers, timers, evaluations, notifications and live updates as any simulation instance. What differs:

Test runReal run
Started fromThe builder, in one clickThe instance wizard
VersionAny saved version that passes Publish’s checks, published or notPublished versions only
Instances listNot listed. You reach it from the builder.Listed
Your organisation’s instance limitDoesn’t countCounts
A Resource’s Usage Analytics in the builderViews and downloads aren’t countedCounted
AI allowanceAI calls count, as in a real run. Replayed steps don’t call the model, so they don’t count.AI calls count
Rate limitsYour own play is limited as usual. A replay’s requests are not limited, since it sends a whole session at once.As usual
Whose it isOne per person per template. Only the person who started it can open its players.Anyone who can see it in the Instances list
How long it lastsReplaced on each restart and cleaned up automaticallyKept until deleted

Clean-up

You don’t need to tidy up after test runs:

  • Each person has one test run per template. Two people testing the same template each have their own.
  • When a restart finishes, the run you were on is cancelled and kept until the next restart. Anything older is deleted, with its recorded steps and every file stored for it: the copies of template files made for it and the files its players uploaded. At most your current run and the one before it are kept.
  • Stop cancels a run but does not delete it. A later restart deletes it, like any older run.
  • Deleting an unpublished version deletes the test runs started from it.

Limits and gotchas

  • Two teams of one player each. You can’t change this.
  • One player per browser. Use another browser or a private window for the second player.
  • The builder must be open in the same browser for open tabs to follow a restart.
  • Replayed AI answers are the old ones. Use Start clean to see a changed persona or evaluation on work already done.
  • Time is not replayed. Timers start again from zero in each new run.
  • Live voice calls are replayed as words. The recorded turns are added to the conversation; no call is opened.
  • Some details live only in the server’s memory: the test players’ passwords, the progress of a restart and a save waiting its turn. A server restart loses them. Test runs are meant for environments that run a single server.

Availability

Test runs are switched on by a backend setting, TEST_RUNS_ENABLED. Set it to true in the backend’s environment (on your own machine, its local environment file) and restart the backend.

The builder asks the server whether test runs are on when it loads, and shows the Test run button only if they are, so reload the builder after switching it on. Where the setting is off, the button is hidden, the server answers Not found to anything about test runs, and nothing is recorded.

At the time of writing, test runs are on for local development and the dev environment, and off in production.

Last updated on