String artifactFilePrefix(String testId) => attemptCount > 1 ? '${testId}_attempt_$attemptNumber' : testId;