← Về thư mục
harness/characterize.py
- _Recorder · class · L34-L63 — class _Recorder
- init · method · L37-L43 — def init(self) -> None
- emit · method · L45-L63 — def emit(self, kind: str, status: str, payload: Mapping[str, Any]) -> None
- _FakeKernel · class · L66-L91 — class _FakeKernel
- init · method · L69-L70 — def init(self, args: Any, *kwargs: Any) -> None
- enter · method · L72-L73 — def enter(self) -> "_FakeKernel"
- exit · method · L75-L76 — def exit(self, *exc: object) -> None
- execute · method · L78-L91 — def execute(self, code: str, origin: str = "agent", **kwargs: Any) -> dict
- _JsonResponse · class · L94-L107 — class _JsonResponse
- init · method · L97-L98 — def init(self, body: Mapping[str, Any]) -> None
- enter · method · L100-L101 — def enter(self) -> "_JsonResponse"
- exit · method · L103-L104 — def exit(self, *exc: object) -> None
- read · method · L106-L107 — def read(self) -> bytes
- _FakeMCPManager · class · L110-L118 — class _FakeMCPManager
- init · method · L111-L112 — def init(self) -> None
- list_tools · method · L114-L118 — def list_tools(self, connector_id: str, config: dict) -> list[dict]
- _run_case · function · L121-L150 — def _run_case( *, case_id: str, current_behavior: str, desired_contract: str, known_bug: bool, probe: Callable[[], Mapping[str, Any]], replacements: Mapping[str, str], ) -> dict[str, Any]
- _cli_max_turns · function · L153-L194 — def _cli_max_turns(data_dir: Path) -> Mapping[str, Any]
- _rate_limit_single_attempt · function · L197-L239 — def _rate_limit_single_attempt() -> Mapping[str, Any]
- _partial_sse_hard_failure · function · L242-L279 — def _partial_sse_hard_failure() -> Mapping[str, Any]
- fail_after_delta · function · L253-L255 — def fail_after_delta(url, payload, headers, timeout, on_event, **_context) -> None
- _compaction_provider_hoist · function · L282-L368 — def _compaction_provider_hoist(data_dir: Path) -> Mapping[str, Any]
- capture_post · function · L312-L328 — def capture_post(url, payload, headers, timeout, **_context)
- _oversized_observation · function · L371-L396 — def _oversized_observation() -> Mapping[str, Any]
- _headless_permission · function · L399-L439 — def _headless_permission(data_dir: Path) -> Mapping[str, Any]
- _disabled_mcp_tools_connects · function · L442-L483 — def _disabled_mcp_tools_connects(data_dir: Path) -> Mapping[str, Any]
- collect_prechange_characterization · function · L486-L554 — def collect_prechange_characterization(data_dir: str | Path) -> dict[str, Any]
- characterization_bytes · function · L557-L563 — def characterization_bytes(data_dir: str | Path) -> bytes