Skip to content

Experiments

An Experiment runs two versions of a flow side by side over the same records and shows you which ones come out differently.

It answers the question most rule changes raise: what will this change do to the records we already have?

Each side is a published version of a flow. Usually that is the current version against a proposed one, but you can compare any two versions.

A Fixture. You choose which one, and it is the same set of records for both sides unless you deliberately give the challenger its own.

That second option exists for the case where the change includes a change to the shape of the input. When you use it, the records pair up in order, so the two Fixtures have to hold the same number of records for the comparison to mean anything.

The result is only as representative as the records. A Fixture assembled from real past records tells you about those records; a Fixture of ten invented rows tells you about those ten rows. You choose and assemble the Fixture.

A run, held permanently, with a result per record: which side did what, and where they differed.

Each run is kept, so the history of a decision stays with the Experiment. A run in progress continues if you close the page.

An Experiment does not touch live records or change anything outside the Experiment.

It is not a test. A test checks that a flow does a particular thing and fails when it does not; see the Test centre. An Experiment shows you the differences and leaves the judgement to you, which makes its results useful for whoever has to approve the change.