(stat, details, inputs)
| 253 | for res in task_results: |
| 254 | |
| 255 | def get_failed_tests(stat, details, inputs) -> List[Any]: |
| 256 | if stat == PASS or not details: |
| 257 | return [] |
| 258 | |
| 259 | if test_details: |
| 260 | return [ |
| 261 | inputs[i] for i in range(len(details)) if not details[i] |
| 262 | ] |
| 263 | |
| 264 | # else => simply return the only and the last fail test |
| 265 | return [inputs[len(details) - 1]] |
| 266 | |
| 267 | base_stat, base_details = res["base"] |
| 268 | base_fail_tests = get_failed_tests( |