<commit_before>#! /bin/sh

BASE=`pwd`


function git_dep() {
	DEPNAME=$1
	REPO=$2
	
	DEP=${BASE}/${DEPNAME}
	if [ -d "${DEP}/.git" ]; then
		echo "Updating ${DEPNAME}"
		cd "${DEP}"
		git pull
		cd "${BASE}"
	else
		echo "Checking out ${DEPNAME}"
		rm -fr "${DEP}"
		git clone "${REPO}" "${DEP}"
	fi
}

function darcs_dep() {
	DEPNAME=$1
	REPO=$2
	
	DEP=${BASE}/${DEPNAME}<commit_msg>Use bash instead of sh in deps script.<commit_after>#! /bin/bash

BASE=`pwd`


function git_dep() {
	DEPNAME=$1
	REPO=$2
	
	DEP=${BASE}/${DEPNAME}
	if [ -d "${DEP}/.git" ]; then
		echo "Updating ${DEPNAME}"
		cd "${DEP}"
		git pull
		cd "${BASE}"
	else
		echo "Checking out ${DEPNAME}"
		rm -fr "${DEP}"
		git clone "${REPO}" "${DEP}"
	fi
}

function darcs_dep() {
	DEPNAME=$1
	REPO=$2
	
	DEP=${BASE}/${DEPNAME}
{'fraction_non_alphanumeric': 0.22264150943396227, 'fraction_numerical': 0.010062893081761006, 'mean_word_length': 3.601156069364162, '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': '4676601', 'n_tokens_mistral': 381, 'n_tokens_neox': 329, 'n_words': 84}