<commit_before>#!/bin/bash

echo "Move _static"
grep -RiIl '_static' _build | xargs sed -i 's/_static/static/g'
mv _build/html/_static _build/html/static

echo "Move _modules"
grep -RiIl '_modules' _build | xargs sed -i 's/_modules/modules/g'
mv _build/html/_modules _build/html/modules

echo "Move references/_autosummary"
grep -RiIl '_autosummary' _build | xargs sed -i 's/_autosummary/autosummary/g'
mv _build/html/reference/_autosummary _build/html/reference/autosummary

rm -rf _build/html/_sources<commit_msg>Make sed command compatible with macOS<commit_after>#!/bin/bash
# this script is compatible with macOS (the sed command)

echo "Move _static"
grep -RiIl '_static' _build | xargs sed -i '' -e 's/_static/static/g'
cp -r _build/html/_static _build/html/static

echo "Move _modules"
grep -RiIl '_modules' _build | xargs sed -i '' -e 's/_modules/modules/g'
cp -r _build/html/_modules _build/html/modules

echo "Move references/_autosummary"
grep -RiIl '_autosummary' _build | xargs sed -i '' -e 's/_autosummary/autosummary/g'
cp -r _build/html/reference/_autosummary _build/html/reference/autosummary

rm -rf _build/html/_sources
{'fraction_non_alphanumeric': 0.1202809482001756, 'fraction_numerical': 0.0, 'mean_word_length': 4.560975609756097, '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': '1766510', 'n_tokens_mistral': 428, 'n_tokens_neox': 423, 'n_words': 111}