import json, sys sys.stdout.reconfigure(encoding='utf-8') with open('scratch/wide_criteria_my_scope.json', 'r', encoding='utf-8') as f: data = json.load(f) survey_items = [d for d in data if '제9장_측량' in d['file']] print(f"Total wide rows in 제9장 측량: {len(survey_items)}") for item in survey_items[:15]: print(f"\nL{item['line']}: {item['reasons']}") print(f" RAW: {item['raw_line']}")