From 80582255d56c42a3acf7f84281798726313b1edb Mon Sep 17 00:00:00 2001
From: log
Date: Fri, 10 Jul 2026 14:10:01 +0800
Subject: [PATCH] fix: route OpenClaw updates through optimized flow

---
 code/strategy/rdagent_interface.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/code/strategy/rdagent_interface.py b/code/strategy/rdagent_interface.py
index 988ee9d..52699fd 100644
--- a/code/strategy/rdagent_interface.py
+++ b/code/strategy/rdagent_interface.py
@@ -322,9 +322,9 @@
                 {
                     'formula': f.formula,
                     'description': f.description,
-                    'ic': f.ic,
-                    'ir': f.ir,
-                    'is_valid': f.is_valid,
+                    'ic': float(f.ic),
+                    'ir': float(f.ir),
+                    'is_valid': bool(f.is_valid),
                     'source': f.source,
                     'created_at': f.created_at
                 }

--
Gitblit v1.8.0