<commit_before>#!/bin/bash
dest=${1:-.}
deep=${2:-5}
echo "Updating all git repos in directory $dest with maxdepth $deep";
find "$dest" -maxdepth "$deep" -type d -name '.git' -exec bash -c "cd \"{}\"; echo 'Updating {}';git fetch --all --prune" \;<commit_msg>Do not update git repo if 'cd' failed<commit_after>#!/bin/bash
dest=${1:-.}
deep=${2:-5}
echo "Updating all git repos in directory $dest with maxdepth $deep";
find "$dest" -maxdepth "$deep" -type d -name '.git' -exec bash -c "cd \"{}\" && echo 'Updating {}' && git fetch --all --prune" \;
{'fraction_non_alphanumeric': 0.2230347349177331, 'fraction_numerical': 0.010968921389396709, 'mean_word_length': 3.849557522123894, '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': '7233221', 'n_tokens_mistral': 198, 'n_tokens_neox': 189, 'n_words': 71}