Commit ·
ea6172b
1
Parent(s): e6ad007
Add debug logging to FIX-48v3
Browse files- src/app.py +1 -0
src/app.py
CHANGED
|
@@ -2535,6 +2535,7 @@ def analyze_text():
|
|
| 2535 |
_hata_changed = True
|
| 2536 |
else:
|
| 2537 |
_hata_result.append(_hw)
|
|
|
|
| 2538 |
if _hata_changed:
|
| 2539 |
_hata_new = ' '.join(_hata_result)
|
| 2540 |
ctx.mutate_text(_hata_new, OffsetMapper)
|
|
|
|
| 2535 |
_hata_changed = True
|
| 2536 |
else:
|
| 2537 |
_hata_result.append(_hw)
|
| 2538 |
+
logger.info(f"[HA-TA] Scan: {len(_hata_words)} words, {sum(1 for w in _hata_words if w.rstrip('.') in _HATA_WHITELIST)} matches, changed={_hata_changed}")
|
| 2539 |
if _hata_changed:
|
| 2540 |
_hata_new = ' '.join(_hata_result)
|
| 2541 |
ctx.mutate_text(_hata_new, OffsetMapper)
|