String parseFlowFromName(String testName) { final match = RegExp(r'sweep: (\S+)').firstMatch(testName); return match?.group(1) ?? testName; }