Artvv's picture
Upload src/persistentpoker_bench/testsupport.py with huggingface_hub
53cd6b0 verified
raw
history blame contribute delete
585 Bytes
from __future__ import annotations
from persistentpoker_bench.hand_runner import StaticDecisionAgent
from persistentpoker_bench.schemas import LLMDecision, WinnerPoolDecision
def static_agent_factory() -> StaticDecisionAgent:
# Keep demo/smoke agents deterministic but with enough scripted actions to
# survive longer multi-hand runs without exhausting the stub.
decisions = [LLMDecision("call", None, (), WinnerPoolDecision.CONTINUE)] * 1024 + [
LLMDecision("check", None, (), WinnerPoolDecision.CONTINUE)
] * 2048
return StaticDecisionAgent(decisions)