Skip to content

Commit

Permalink
Relax the checking of stop watch to handle alternate screen represent…
Browse files Browse the repository at this point in the history
…ation.

PiperOrigin-RevId: 712885397
  • Loading branch information
The android_world Authors committed Jan 7, 2025
1 parent 5fc92c3 commit 2d78212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android_world/task_evals/single/clock.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def _is_stopwatch_paused(
n_stopwatch += 1
logging.info("Start present: %s", start_present)
logging.info("Stopwatch: %d", n_stopwatch)
return start_present and n_stopwatch == 2
return start_present and n_stopwatch >= 2


def _is_timer_set(
Expand Down

0 comments on commit 2d78212

Please sign in to comment.