Skip to main content

evaluate

Method
This is a method of the LivenessPolicy class in the protocols module.
Return :attr:LivenessDecision.REAP iff the connection is stale.

Signature

Parameters

float
required
The connection’s last-activity timestamp (same clock as now — the wrapper uses a monotonic clock).
float
required
The current timestamp.

Returns

LivenessDecision
attr:LivenessDecision.KEEP while reaping is disabled or the connection is within its liveness window; otherwise :attr:LivenessDecision.REAP.

Uses

  • reap_deadline

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 5327

Evaluation Concept

LLM as Judge

Evaluation Loop