def METHOD_NAME(length=8):
    """Generates a single-level dict with string keys and mixed-type values."""
    gen_val = lambda fns=(
        gen_none,
        gen_bool,
        gen_float,
        gen_int,
        gen_str,
    ): random.choice(fns)()
    res = {}
    while len(res) < length:
        res[gen_str()] = gen_val()
    return res