(
paths: str | Path | Sequence[str | Path],
*,
benchmark_files: Sequence[str | Path] | None = None,
)
| 92 | |
| 93 | |
| 94 | def iter_normalized_results( |
| 95 | paths: str | Path | Sequence[str | Path], |
| 96 | *, |
| 97 | benchmark_files: Sequence[str | Path] | None = None, |
| 98 | ) -> Iterator[NormalizedResult]: |
| 99 | benchmark_index = _load_benchmark_index(benchmark_files or []) |
| 100 | for input_path in _coerce_input_paths(paths): |
| 101 | for jsonl_path in _iter_jsonl_files(input_path): |
| 102 | yield from _iter_jsonl_results(jsonl_path, benchmark_index) |
| 103 | |
| 104 | |
| 105 | def _coerce_input_paths(paths: str | Path | Sequence[str | Path]) -> list[Path]: |
no test coverage detected