From 497937a833eaed1e524fb30b6258b693a60f567e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1igo=20Etxaniz?= Date: Fri, 17 Jul 2026 06:53:44 +0000 Subject: [PATCH] change load index computation --- test_script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_script.py b/test_script.py index cd05147..4cacb74 100644 --- a/test_script.py +++ b/test_script.py @@ -22,7 +22,7 @@ def logic(plant): cpu = plant.state.get("deb13kde-cpu", 0.0) ram = plant.state.get("deb13kde-ram", 0.0) - load_index = (cpu + ram) / 2.0 + load_index = (cpu * 3.0 + ram) / 4.0 batch = plant.new_write_batch() batch.add(ID_LOAD_INDEX, load_index, "deb13kde-load-index")