13 lines
404 B
Python
13 lines
404 B
Python
import sys
|
|
from find_unclassified_grouped_tables import grouped_tables
|
|
|
|
sys.stdout.reconfigure(encoding='utf-8')
|
|
by_file = {}
|
|
for gt in grouped_tables:
|
|
by_file.setdefault(gt['file'], []).append(gt)
|
|
|
|
for f, tbls in sorted(by_file.items()):
|
|
print(f"\n=== {f}: {len(tbls)} condition/grouped tables ===")
|
|
for t in tbls:
|
|
print(f" L{t['line']}: {t['title']} (Groups: {t['groups'][:3]})")
|