"""Baseline: plain normalized Levenshtein ratio via rapidfuzz."""

from rapidfuzz import fuzz
from harness import evaluate


def score(query, candidate):
    return fuzz.ratio(query.lower(), candidate.lower()) / 100.0


if __name__ == "__main__":
    evaluate(score, name="01 - Levenshtein Ratio (rapidfuzz.fuzz.ratio)")
