<commit_before>#!/usr/bin/env bash
if [ -f $(which python3) ]; then
    py=$(which python3)
elif [[ "$(python --version)" =~ "^Python 3.*" ]]; then
    py=$(which python)
else
    exit 1
fi

$py -m http.server 8000<commit_msg>Cleaned up.<commit_after>#!/usr/bin/env bash

# Python 3
python -m SimpleHTTPServer 8000

# Python 2
# python -m http.server 8000
{'fraction_non_alphanumeric': 0.16901408450704225, 'fraction_numerical': 0.05070422535211268, 'mean_word_length': 3.5641025641025643, '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': '4717964', 'n_tokens_mistral': 148, 'n_tokens_neox': 125, 'n_words': 39}