From c764bcba8c2c02b5fe54c0a8fa824cd3747c9a5c Mon Sep 17 00:00:00 2001 From: OpenSquared Date: Fri, 26 Jun 2026 23:36:01 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20seuil=20fedFwdC/ecbFwdC=200.4=E2=86=920.?= =?UTF-8?q?08=20=E2=80=94=20PMI=20EU/US=20colorise=20le=20n=C5=93ud=20CPI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/pages/EuroSimulator.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/EuroSimulator.tsx b/frontend/src/pages/EuroSimulator.tsx index ff9705d..b1bd56e 100644 --- a/frontend/src/pages/EuroSimulator.tsx +++ b/frontend/src/pages/EuroSimulator.tsx @@ -280,8 +280,9 @@ function CausalChain({ r, base, p }: { r: ModelResult; base: Params; p: Params } // ── Node colors ──────────────────────────────────────────────────────────── // CPI/NFP/PMI inputs → forward guidance signal (positive = hawkish Fed = red for EUR) - const fedFwdC = col3(r.fed_fwd_signal, 0.4) - const ecbFwdC = col3(-r.ecb_fwd_signal, 0.4) // ECB hawkish fwd signal → green for EUR + // Threshold 0.08 so PMI alone (~0.09-0.15 at typical deviations) triggers color + const fedFwdC = col3(r.fed_fwd_signal, 0.08) + const ecbFwdC = col3(-r.ecb_fwd_signal, 0.08) // ECB hawkish fwd signal → green for EUR // CB nodes: combined rate + tone signal dominates const fedC = col3(r.fed_rate_pressure + r.fed_fwd_signal * 0.4, 0.25)