(workload, algorithm, seed)
| 57 | |
| 58 | |
| 59 | def load_data(workload, algorithm, seed): |
| 60 | if target == "llvm": |
| 61 | result_file = llvm_results / f"llvm_{workload}" / algorithm / f"{seed}_KB.json" |
| 62 | else: |
| 63 | result_file = gcc_results / f"gcc_{workload}" / algorithm / f"{seed}_KB.json" |
| 64 | df = load_and_prepare_data(result_file) |
| 65 | return df |
| 66 | |
| 67 | def load_and_prepare_data(file_path): |
| 68 | """ |
no test coverage detected