Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions www/experiments.php
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ function observationHTML($parts)
}

$numRuns = $test['test']['runs'];
$fvonly = $test['testinfo']['fvonly'];
// $fvonly = $test['testinfo']['fvonly'];

if (!$isReadOnly) {
?>
Expand All @@ -447,9 +447,9 @@ function observationHTML($parts)
<p class="exps-runcount">
<label>
Experiment Runs:
<input type="hidden" name="fvonly" value="'<?php echo $fvonly; ?>'" required="">
<input type="hidden" name="fvonly" value="1" required="">
<input type="number" min="1" max="9" class="text short" name="runs" value="<?php echo $numRuns; ?>" required="">
<b class="exps-runcount-total"></b> <small>Each experiment run uses 2 test runs (1 experiment, 1 control) for each first & repeat view</small>
<b class="exps-runcount-total"></b> <small>Each experiment run uses 2 test runs (1 experiment, 1 control) for first view</small>
</label>
</p>
</div>
Expand Down
1 change: 1 addition & 0 deletions www/runtest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1090,6 +1090,7 @@ function buildSelfHost($hosts)
$test['video'] = 1;
$test['label'] = 'Original (Control Run)';
$test['metadata'] = json_encode($experimentMetadata);
$test['fvonly'] = 1; // force a first view only test for the experiment and control run
$id = CreateTest($test, $test['url']);

if (isset($id)) {
Expand Down