From e8270c5a63772780b42ccd537543a5b7db742268 Mon Sep 17 00:00:00 2001 From: gahusb Date: Sun, 31 May 2026 17:51:29 +0900 Subject: [PATCH] =?UTF-8?q?feat(agent-office):=20lotto=20backtest=20review?= =?UTF-8?q?/run-forward=20=ED=94=84=EB=A1=9D=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 (1M context) --- agent-office/app/service_proxy.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/agent-office/app/service_proxy.py b/agent-office/app/service_proxy.py index 4db5dd1..1690a71 100644 --- a/agent-office/app/service_proxy.py +++ b/agent-office/app/service_proxy.py @@ -399,6 +399,21 @@ async def lotto_evolver_evaluate() -> Dict[str, Any]: return resp.json() +async def lotto_backtest_review(draw_no: int) -> Dict[str, Any]: + from .config import LOTTO_BACKEND_URL + resp = await _client.get(f"{LOTTO_BACKEND_URL}/api/lotto/backtest/review/{draw_no}") + resp.raise_for_status() + return resp.json() + + +async def lotto_backtest_run_forward(draw_no: int) -> Dict[str, Any]: + from .config import LOTTO_BACKEND_URL + resp = await _client.post(f"{LOTTO_BACKEND_URL}/api/lotto/backtest/run-forward", + params={"draw_no": draw_no}) + resp.raise_for_status() + return resp.json() + + from .config import AGENT_CONTAINER_MAP