diff --git a/optuna_dashboard/ts/components/GraphHistory.tsx b/optuna_dashboard/ts/components/GraphHistory.tsx index de05069a..38b190a3 100644 --- a/optuna_dashboard/ts/components/GraphHistory.tsx +++ b/optuna_dashboard/ts/components/GraphHistory.tsx @@ -299,7 +299,7 @@ const plotHistory = ( for (let i = 0; i < feasibleTrials.length; i++) { const t = feasibleTrials[i] const value = target.getTargetValue(t) as number - if (value === null) { + if (t.state !== "Complete") { continue } else if (currentBest === null) { currentBest = value