(cache: Path)
| 108 | |
| 109 | |
| 110 | def create_pr_dict(cache: Path): |
| 111 | with open(cache, "rb") as f: |
| 112 | data = pickle.load(f) |
| 113 | |
| 114 | sprint(data[1]) |
| 115 | pr_dict = {} |
| 116 | for item in data: |
| 117 | prs = item["associatedPullRequests"]["nodes"] |
| 118 | if len(prs) != 1: |
| 119 | continue |
| 120 | |
| 121 | pr = prs[0] |
| 122 | pr_dict[pr["number"]] = pr |
| 123 | return pr_dict |
| 124 | |
| 125 | |
| 126 | def categorize_csv_file(csv_path: str): |
no test coverage detected
searching dependent graphs…