MCPcopy Create free account
hub / github.com/COLA-Laboratory/TransOPT / load_data

Function load_data

demo/comparison/plot.py:59–65  ·  view source on GitHub ↗
(workload, algorithm, seed)

Source from the content-addressed store, hash-verified

57
58
59def 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
67def load_and_prepare_data(file_path):
68 """

Callers 1

plot.pyFile · 0.70

Calls 1

load_and_prepare_dataFunction · 0.70

Tested by

no test coverage detected