diff --git a/js/headless/bulktest.mjs b/js/headless/bulktest.mjs index e33f177..90dedc0 100644 --- a/js/headless/bulktest.mjs +++ b/js/headless/bulktest.mjs @@ -207,7 +207,9 @@ async function test_pack(pack, ruleset, level_filter = null) { record_result('failure', "Lost", true); break; } - else if (level.tic_counter >= replay.duration + 200) { + else if (level.tic_counter >= replay.duration + 220) { + // This threshold of 11 seconds was scientifically calculated by noticing that + // the TWS of Southpole runs 11 seconds past its last input record_result('short', "Out of input", true); break; } diff --git a/js/main.js b/js/main.js index 57da8d3..943dbba 100644 --- a/js/main.js +++ b/js/main.js @@ -3303,7 +3303,9 @@ class PackTestDialog extends DialogOverlay { record_result('failure', "Lost", true); break; } - else if (level.tic_counter >= replay.duration + 200) { + else if (level.tic_counter >= replay.duration + 220) { + // This threshold of 11 seconds was scientifically calculated by noticing + // that the TWS of Southpole runs 11 seconds past its last input record_result('short', "Out of input", true); break; }