<commit_before>import os


def check_boost_submodule():
    from scipy._lib._boost_utils import _boost_dir

    if not os.path.exists(_boost_dir(ret_path=True) / 'README.md'):
        raise RuntimeError("Missing the `boost` submodule! Run `git submodule "
                           "update --init` to fix this.")


def check_highs_submodule():
    from scipy._lib._highs_utils import _highs_dir

    if not os.path.exists(_highs_dir() / 'README.md'):<commit_msg>scipy/_lib/setup.py (check_boost_submodule): README.md renamed to README.rst<commit_after>import os


def check_boost_submodule():
    from scipy._lib._boost_utils import _boost_dir

    if not os.path.exists(_boost_dir(ret_path=True) / 'README.rst'):
        raise RuntimeError("Missing the `boost` submodule! Run `git submodule "
                           "update --init` to fix this.")


def check_highs_submodule():
    from scipy._lib._highs_utils import _highs_dir

    if not os.path.exists(_highs_dir() / 'README.md'):
{'fraction_non_alphanumeric': 0.10909090909090909, 'fraction_numerical': 0.0, 'mean_word_length': 3.3275109170305677, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6158394', 'n_tokens_mistral': 333, 'n_tokens_neox': 322, 'n_words': 74}