MCPcopy Create free account
hub / github.com/microsoft/Webwright / _run_id_sort_key

Function _run_id_sort_key

src/webwright/tools/self_reflection.py:91–95  ·  view source on GitHub ↗
(name: str)

Source from the content-addressed store, hash-verified

89
90
91def _run_id_sort_key(name: str) -> tuple[int, str]:
92 match = re.search(r"run_(\d+)", name)
93 if match:
94 return (int(match.group(1)), name)
95 return (0, name)
96
97
98def _sorted_image_paths(image_dir: Path) -> list[Path]:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected