<commit_before>#!/bin/bash

# Install Pake
pyrus channel-discover pear.indeyets.ru
pyrus install indeyets/pake

# Install Midgard from OBS
sudo apt-get install -y dbus libgda-4.0-4 libgda-4.0-dev
wget http://download.opensuse.org/repositories/home:/midgardproject:/ratatoskr/xUbuntu_10.04/i386/libmidgard2-2010_10.05.5-1_i386.deb
wget http://download.opensuse.org/repositories/home:/midgardproject:/ratatoskr/xUbuntu_10.04/i386/midgard2-common_10.05.5-1_i386.deb 
wget http://download.opensuse.org/repositories/home:/midgardproject:/ratatoskr/xUbuntu_10.04/i386/libmidgard2-dev_10.05.5-1_i386.deb 
sudo dpkg -i --force-depends libmidgard2-2010_10.05.5-1_i386.deb
sudo dpkg -i midgard2-common_10.05.5-1_i386.deb
sudo dpkg -i libmidgard2-dev_10.05.5-1_i386.deb<commit_msg>Ensure PEAR bin dir is in path<commit_after>#!/bin/bash

# Install Pake
pyrus channel-discover pear.indeyets.ru
pyrus install indeyets/pake

# Ensure Pake is in path
export PATH=$PATH:`pyrus get bin_dir|tail -1`

# Install Midgard from OBS
sudo apt-get install -y dbus libgda-4.0-4 libgda-4.0-dev
wget http://download.opensuse.org/repositories/home:/midgardproject:/ratatoskr/xUbuntu_10.04/i386/libmidgard2-2010_10.05.5-1_i386.deb
wget http://download.opensuse.org/repositories/home:/midgardproject:/ratatoskr/xUbuntu_10.04/i386/midgard2-common_10.05.5-1_i386.deb 
wget http://download.opensuse.org/repositories/home:/midgardproject:/ratatoskr/xUbuntu_10.04/i386/libmidgard2-dev_10.05.5-1_i386.deb 
sudo dpkg -i --force-depends libmidgard2-2010_10.05.5-1_i386.deb
sudo dpkg -i midgard2-common_10.05.5-1_i386.deb
sudo dpkg -i libmidgard2-dev_10.05.5-1_i386.deb
{'fraction_non_alphanumeric': 0.13014119091467158, 'fraction_numerical': 0.11602209944751381, 'mean_word_length': 4.821428571428571, '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': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2434043', 'n_tokens_mistral': 844, 'n_tokens_neox': 680, 'n_words': 93}