The TUI file is doing too much. tui.go is 898 lines handling UI state, training orchestration, evaluation logic, and prediction logic. The training command (runTraining, lines 37-163) and prediction command (runPrediction, lines 785-838) contain business logic (data loading, evaluation, denormalization) that should live outside the TUI layer. This would also make it possible to add a CLI/non-interactive mode without duplicating logic.
The TUI file is doing too much.
tui.gois 898 lines handling UI state, training orchestration, evaluation logic, and prediction logic. The training command (runTraining, lines 37-163) and prediction command (runPrediction, lines 785-838) contain business logic (data loading, evaluation, denormalization) that should live outside the TUI layer. This would also make it possible to add a CLI/non-interactive mode without duplicating logic.