<commit_before>#!/bin/bash

DOCKER=`which docker`
if [ -z "$DOCKER" ]; then
	echo "Docker is missing"
fi

DOCKER_VERSION=`$DOCKER --version`
if [ z"$DOCKER_VERSION" != z"Docker version 1.8.3, build f4bf5c7" ]; then
	echo "Wrong Docker version, please use 1.8.3"
fi

if ! pip freeze | grep -q kazoo; then
	echo "Please install python-kazoo"
fi

if ! route -n | grep -q 192.168.46; then
	echo "Please add routing: sudo route add -net 192.168.46.0/24 dev eth0"
fi

if ! grep -q -e '\<bigfoot.eurecom.fr\>' /etc/resolv.conf; then
	echo "Please add bigfoot.eurecom.fr to the search list in /etc/resolv.conf"
fi

echo "If nothing is printed above this line, all dependencies are ok"

<commit_msg>Add check for pip<commit_after>#!/bin/bash

DOCKER=`which docker`
if [ -z "$DOCKER" ]; then
	echo "Docker is missing"
fi

DOCKER_VERSION=`$DOCKER --version`
if [ z"$DOCKER_VERSION" != z"Docker version 1.8.3, build f4bf5c7" ]; then
	echo "Wrong Docker version, please use 1.8.3"
fi

if ! which pip > /dev/null; then
	if ! dpkg -l | grep -q kazoo; then
		echo "Please install python-kazoo"
	fi
fi

if ! pip freeze | grep -q kazoo; then
	echo "Please install python-kazoo"
fi

if ! route -n | grep -q 192.168.46; then
	echo "Please add routing: sudo route add -net 192.168.46.0/24 dev eth0"
fi

if ! grep -q -e '\<bigfoot.eurecom.fr\>' /etc/resolv.conf; then
	echo "Please add bigfoot.eurecom.fr to the search list in /etc/resolv.conf"
fi

echo "If nothing is printed above this line, all dependencies are ok"


{'fraction_non_alphanumeric': 0.1288384512683578, 'fraction_numerical': 0.03871829105473965, 'mean_word_length': 3.5424242424242425, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3283824', 'n_tokens_mistral': 637, 'n_tokens_neox': 585, 'n_words': 203}