<commit_before>#!/bin/bash


function find_fed() {
	if [ -e ".fed" ] ; then
		source .fed
		$editor $(find . -name "$1*" | grep -v "~$" | grep -v ".beam$")
	else
		if [ `pwd` == "/" ]; then
			echo Not in a fed project
		else
			cd ..
			find_fed $1
		fi
	fi
}

if [ $1 == "" ]; then
	echo "Usage: fed filename"
else
	find_fed $1
fi<commit_msg>more defaults<commit_after>#!/bin/bash


function find_fed() {
	if [ -e ".fed" ] ; then
		source .fed
		$editor $(find . -name "$1*" | grep -v "~$" | grep -v ".beam$" | grep -v ".jpg" | grep -v ".png" | grep -v ".jpeg" | grep -v ".gif")
	else
		if [ `pwd` == "/" ]; then
			echo Not in a fed project
		else
			cd ..
			find_fed $1
		fi
	fi
}

if [ $1 == "" ]; then
	echo "Usage: fed filename"
else
	find_fed $1
fi
{'fraction_non_alphanumeric': 0.20079260237780713, 'fraction_numerical': 0.010568031704095112, 'mean_word_length': 2.2956521739130435, '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': '5650451', 'n_tokens_mistral': 351, 'n_tokens_neox': 311, 'n_words': 102}