MineBugs
MINeBugs
New SimulationGuide

Chapter 8 · Go further

Copies and comparisons

Copy a run, change one thing, and see what changed.

  • 4 min read
  • In the app: Compare

In short

You need
A finished run or cohort.
You do
Duplicate it, change one thing, run it, compare the two.
You get
What your change did, side by side.

1Duplicate a run

Duplicate makes a copy you can change and launch, without uploading or checking the models again.

A finished run in the history, with its Duplicate button
  1. Duplicate appears on a finished run when you move the mouse over it. On a phone, a tablet or a narrow window it is always there, as an icon.
Organisms and models
Copied.
Abundances
Copied.
Diet, targets, guardrails
Copied, ready to change.
Name
The original's name followed by copy 1, copy 2 and so on.
Notes
Start empty.
Results
None: it is a new run.

The copy opens in the setup as a draft, in the folder of the original. Change what you want to test, then launch it from the last step.

Duplicate keeps the same models. To try other models for some taxa, use Duplicate and change mapping on the mapping page of the run (chapter 4, section 5) or of the cohort (chapter 6, section 5): it makes the same kind of copy, but opens the model review first.

2Compare two runs

In the history, Compare lets you pick two runs.

The history in compare mode, with two runs picked
  1. While you pick, the button reads Exit Compare.
  2. Two runs of the same kind picked. A button at the bottom of the screen opens the comparison.

On a finished copy, Compare with original does the same in one click, from its row or from the top of its report. You can compare two single runs or two cohorts, not a run with a cohort.

3Reading a comparison

A is in purple, B in teal. The original of a copy is always A.

The top of a comparison between a run and its copy
  1. The two runs, each with its state and a link to its report.
  2. What changed between them, here Changed: Diet.
  3. Four numbers: organisms kept, organisms in common, biomass and target production, A above B with the change.

When the two runs come from the same upload but use different models for some taxa, the top says Mapping changes and Configuration gets a Mapping changes block. It lists each taxon with its model in A and in B. In the organisms table, a taxon whose model was swapped sits on one row marked model changed, with the old and the new model, instead of appearing as two unrelated organisms.

Below come Community Composition, which organisms each side keeps, then Biomass and Target Production, two bars per row with A above B; click a target to see who makes it. Configuration and Organism Profiles stay closed until you open them.

4Compare two cohorts

Two cohorts with the same patients. The top says which settings differ.

The top of a comparison between two cohorts
  1. Each cohort, with how many of its patients finished, and a link to its report.
  2. Completed on both: the patients that finished on both sides. The means next to it count only those.

The two cohorts can use different models for some taxa, for example a cohort and its copy made with Duplicate and change mapping (chapter 6). The top then says Mapping changes and Configuration lists each taxon with its model in A and in B. In the species grid a taxon whose model was swapped keeps its one row, marked ⇄, and a line under the grid names the two models.

Species Distribution lays the two grids over each other: species kept only in A, only in B, or in both, patient by patient. Per-Patient Comparison lists every patient on both sides; open one to compare its two runs.