<commit_before>#!/bin/sh
sudo apt-get install postgresql python-psycopg2
sudo su – postgres –c psql <<EOF
create role webpy;
create database webpy;
grant all on database webpy to webpy;
alter role webpy with login;
EOF<commit_msg>The joys of pasting from Word into a unicode aware editor (and em-dashes)!<commit_after>#!/bin/sh
sudo apt-get install postgresql python-psycopg2
sudo service postgresql start
sudo su - postgres -c psql <<EOF
create role webpy;
create database webpy;
grant all on database webpy to webpy;
alter role webpy with login;
EOF
{'fraction_non_alphanumeric': 0.06896551724137931, 'fraction_numerical': 0.003629764065335753, 'mean_word_length': 5.133333333333334, 'pattern_counts': {'":': 0, '<': 7, '<?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': '4473334', 'n_tokens_mistral': 184, 'n_tokens_neox': 172, 'n_words': 78}