import yaml with open('modules/slots/slot_fixes.yaml', 'r') as f: data = yaml.safe_load(f) fixes = data.get('fixes', []) unprocessed = [] for fix in fixes: if 'processed' not in fix or not fix['processed'].get('status'): sid = fix.get('original_slot_id') or fix.get('orignal_slot_id') or 'UNKNOWN' unprocessed.append(sid) print(f"Total fixes: {len(fixes)}") print(f"Unprocessed: {len(unprocessed)}") for slot in unprocessed[:20]: print(f" - {slot}")