(i)
| 17 | |
| 18 | |
| 19 | def run(i): |
| 20 | repo_path = os.path.join(root_path, 'repos/linux-complete') |
| 21 | pickle_path = os.path.join( |
| 22 | root_path, 'data/branch_commits_chunk' + i + '.pickle') |
| 23 | with open(pickle_path, 'rb') as f: |
| 24 | sha_lst = pickle.load(f) |
| 25 | |
| 26 | az = Analyzer(repo_path, CGraph()) |
| 27 | r = Repo(repo_path) |
| 28 | chunk_commits = [r.commit(sha) for sha in sha_lst] |
| 29 | az.build_history(chunk_commits, phase='history-chunk-' + i) |
| 30 | |
| 31 | |
| 32 | def main(): |
no test coverage detected