<commit_before>#!/bin/bash
source ./scripts_config

echo "Downloading watchers information from $DESTINATION_BUCKET"
gsutil cp $DESTINATION_BUCKET ./

echo "Extracting watchers information"
gunzip $WATCHERS_FILE<commit_msg>Remove github prefix<commit_after>#!/bin/bash
source ./scripts_config

echo "Downloading watchers information from $DESTINATION_BUCKET"
gsutil cp $DESTINATION_BUCKET ./

echo "Extracting watchers information"
gunzip $WATCHERS_FILE

# After gunzip we should remove '.gz' extension:
PLAIN_FILE=${WATCHERS_FILE/%.gz/}

echo "Removing 'https://github.com/' prefix from $PLAIN_FILE"
sed -i '' 's|https://github.com/||' $PLAIN_FILE
{'fraction_non_alphanumeric': 0.11265432098765432, 'fraction_numerical': 0.0, 'mean_word_length': 6.211111111111111, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7523528', 'n_tokens_mistral': 220, 'n_tokens_neox': 218, 'n_words': 55}