(repo_root: Path)
| 23 | |
| 24 | |
| 25 | def _git_sha(repo_root: Path) -> str: |
| 26 | try: |
| 27 | out = subprocess.check_output(["git", "-C", str(repo_root), "rev-parse", "HEAD"], text=True) |
| 28 | return out.strip() |
| 29 | except Exception: |
| 30 | return "unknown" |
| 31 | |
| 32 | |
| 33 | def _dataset_from_cfg(cfg: dict) -> tuple[object, dict]: |
no outgoing calls
no test coverage detected