fix(log): show tier names not description
Browse filesSigned-off-by: Vimal Kumar <[email protected]>
crossword-app/backend-py/src/services/thematic_word_service.py
CHANGED
|
@@ -901,9 +901,9 @@ class ThematicWordService:
|
|
| 901 |
log_lines = [f"π Generated {len(raw_results)} thematic words, grouped by tiers:"]
|
| 902 |
|
| 903 |
for tier in tier_order:
|
|
|
|
|
|
|
| 904 |
if tier in tier_groups:
|
| 905 |
-
tier_desc = self.tier_descriptions.get(tier, tier)
|
| 906 |
-
log_lines.append(f" π {tier_desc}:")
|
| 907 |
# Sort words within tier alphabetically
|
| 908 |
tier_words = sorted(tier_groups[tier], key=lambda x: x[0])
|
| 909 |
for word, similarity in tier_words:
|
|
|
|
| 901 |
log_lines = [f"π Generated {len(raw_results)} thematic words, grouped by tiers:"]
|
| 902 |
|
| 903 |
for tier in tier_order:
|
| 904 |
+
# tier_desc = self.tier_descriptions.get(tier, tier)
|
| 905 |
+
log_lines.append(f" π {tier}:")
|
| 906 |
if tier in tier_groups:
|
|
|
|
|
|
|
| 907 |
# Sort words within tier alphabetically
|
| 908 |
tier_words = sorted(tier_groups[tier], key=lambda x: x[0])
|
| 909 |
for word, similarity in tier_words:
|