MCPcopy Create free account
hub / github.com/Dizzy-K/AutoPT / _iter_jsonl_files

Function _iter_jsonl_files

analysis/loader.py:111–120  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

109
110
111def _iter_jsonl_files(path: Path) -> Iterator[Path]:
112 if path.is_file():
113 if path.suffix.lower() == ".jsonl":
114 yield path
115 return
116 if not path.exists():
117 return
118 for child in sorted(path.rglob("*.jsonl")):
119 if child.is_file():
120 yield child
121
122
123def _iter_jsonl_results(path: Path, benchmark_index: dict[str, dict[str, Any]]) -> Iterator[NormalizedResult]:

Callers 1

iter_normalized_resultsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected