#!/usr/bin/env python3

import sys
import time

start = time.time()

for line in sys.stdin:
    seconds = time.time() - start
    sys.stdout.write('%02d:%02d %s' % (seconds // 60, seconds % 60, line))
    sys.stdout.flush()

@@ -15,16 +15,18 @@
  python3
+.7
 %0A%0Aimport
@@ -64,16 +64,114 @@
 time()%0A%0A
+sys.stdin.reconfigure(errors='surrogateescape')%0Asys.stdout.reconfigure(errors='surrogateescape')%0A%0A
 for line

Make Shippable timing script more resilient.