From facc14d77d1b9d66a67271f898e5cc0c11a26df0 Mon Sep 17 00:00:00 2001 From: everythingfades Date: Sun, 1 Feb 2026 01:56:41 +0000 Subject: [PATCH] fix: if [] gives true --- evaluation_function/correction/correction.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/evaluation_function/correction/correction.py b/evaluation_function/correction/correction.py index 20c3242..135fe4b 100644 --- a/evaluation_function/correction/correction.py +++ b/evaluation_function/correction/correction.py @@ -231,11 +231,10 @@ def analyze_fsa_correction( else: summary = ( _summarize_errors(equivalence_errors) - if equivalence_errors + if len(equivalence_errors) > 0 else "Your FSA has some issues to address." ) feedback = summary - print(equivalence_errors) # ------------------------------------------------------------------------- # Step 11: Return result