diff --git a/frontend/src/pages/CausalLab.tsx b/frontend/src/pages/CausalLab.tsx index acd6eec..487c164 100644 --- a/frontend/src/pages/CausalLab.tsx +++ b/frontend/src/pages/CausalLab.tsx @@ -1062,39 +1062,61 @@ function TabLibrary({ {(() => { const calib = selected.calibration_json || {} - const absorption = calib.absorption_days as number | undefined - const decay = calib.decay_type as string | undefined - const conf = calib.confidence as number | undefined - const rationale = calib.theory_rationale as string | undefined - const genAt = calib.theory_generated_at as string | undefined + const absorption = calib.absorption_days as number | undefined + const halfLife = calib.half_life_days as number | undefined + const lagDays = calib.lag_days as number | undefined + const decay = calib.decay_type as string | undefined + const conf = calib.confidence as number | undefined + const rationale = calib.theory_rationale as string | undefined + const genAt = calib.theory_generated_at as string | undefined return (
{rationale && (

{rationale}

)} -
+
-
Durée absorption (j)
+
Lag (j)
saveTheoryParams({ lag_days: parseInt(e.target.value) || 0 })} + className="w-full bg-dark-800 border border-amber-600/40 rounded px-2 py-1 text-xs text-amber-200 text-center" + /> +
+
+
Demi-vie t½ (j)
+ saveTheoryParams({ half_life_days: parseInt(e.target.value) || 5 })} + className="w-full bg-dark-800 border border-violet-600/40 rounded px-2 py-1 text-xs text-violet-200 text-center" + /> +
+
+
Absorption (j)
+ saveTheoryParams({ absorption_days: parseInt(e.target.value) || 7 })} className="w-full bg-dark-800 border border-slate-600 rounded px-2 py-1 text-xs text-slate-200 text-center" />
-
-
Type de décroissance
- -
+
+
+
Type de décroissance
+
{conf !== undefined && (