Skip to content

cayu.evals.browser_acceptance_authentication

Public Cayu API. Definitions are grouped by their public source module, and definitions from private implementation modules appear on their package’s page; adding a symbol does not move existing links. The import shown at each entry is a supported public namespace. Read the Python API overview and install the required extra.

from cayu.evals import BrowserAcceptanceAuthenticationCollector

Register at application construction, then supply the same object to the plan.

The counter must measure successful requests for the exclusive designated test account/browser journey, not shared site traffic. Samples contain no page or credential content. They become evidence only after private durable readback. One collector owns at most one active trial and six sequential browser calls.

Bases: RuntimeHook.

BrowserAcceptanceAuthenticationCollector.execution_profile_identity() -> ExecutionProfileBehaviorIdentity
BrowserAcceptanceAuthenticationCollector.name() -> str
async BrowserAcceptanceAuthenticationCollector.after_session_completed(context: RuntimeHookContext) -> None

Run after a session reaches completed state.

async BrowserAcceptanceAuthenticationCollector.after_session_failed(context: RuntimeHookContext) -> None

Run after a session reaches failed state.

async BrowserAcceptanceAuthenticationCollector.after_session_interrupted(context: RuntimeHookContext) -> None

Run after a session reaches interrupted state.

async BrowserAcceptanceAuthenticationCollector.before_tool_call(context: BeforeToolCallHookContext) -> None
async BrowserAcceptanceAuthenticationCollector.after_tool_call(context: ToolCallHookContext) -> None
BrowserAcceptanceAuthenticationCollector.__init__(counter: Callable[[], int], *, observer_revision: str) -> None

Release source · Runtime guarantees · Capability guides