def METHOD_NAME(match='', min_ratio=30):
    device_ratios = []
    for device in device_info():
        ratio = fuzz.partial_ratio(match, device['name'])
        if ratio > min_ratio:
            device_ratios.append((ratio, device))
    for ratio, device in sorted(device_ratios, key=lambda ratio_device: (ratio_device[0])):
        yield device