(path: Path)
| 191 | |
| 192 | |
| 193 | def iter_jsonl(path: Path) -> Iterable[Dict[str, Any]]: |
| 194 | with path.open("r", encoding="utf-8-sig") as handle: |
| 195 | for line in handle: |
| 196 | line = line.strip() |
| 197 | if not line: |
| 198 | continue |
| 199 | item = json.loads(line) |
| 200 | if isinstance(item, dict): |
| 201 | yield item |
| 202 | |
| 203 | |
| 204 | def collect_method_episodes(method_key: str, method_name: str, path: Path) -> List[Dict[str, Any]]: |
no outgoing calls
no test coverage detected