()
| 212 | |
| 213 | |
| 214 | def get_git_info(): |
| 215 | repo = git.Repo(search_parent_directories=True) |
| 216 | repo_infos = { |
| 217 | "repo_id": str(repo), |
| 218 | "repo_sha": str(repo.head.object.hexsha), |
| 219 | "repo_branch": str(repo.active_branch), |
| 220 | } |
| 221 | return repo_infos |
| 222 | |
| 223 | |
| 224 | ROUGE_KEYS = ["rouge1", "rouge2", "rougeL"] |
no outgoing calls
no test coverage detected