<commit_before>#!/usr/bin/env bash

tt_dc() {
	dc $@
}

dc_file() {
	echo $(get_workspace_dir)/docker-compose.yml
}

dc() {
	TT_PROJECTS=$TT_PROJECTS docker-compose -f $(dc_file) $*
}

dc_get_links() {
	local key=services_"$1"_links
	local links=$key[@]
	eval $(parse_yaml $(dc_file) | grep $key)
	for link in ${!links}; do
		echo $link
	done
}

dc_get_all_services() {
	if [ "$TT_IS_GLOBAL" = true -a -f "$ALL_SERVICES_FILE" ]; then
		generate_service_lists
		cat "$(get_workspace_cache_dir)/services"
	else
		dc config --services
	fi
}<commit_msg>dc: remove reference to undefined ALL_SERVICES_FILE<commit_after>#!/usr/bin/env bash

tt_dc() {
	dc $@
}

dc_file() {
	echo $(get_workspace_dir)/docker-compose.yml
}

dc() {
	TT_PROJECTS=$TT_PROJECTS docker-compose -f $(dc_file) $*
}

dc_get_links() {
	local key=services_"$1"_links
	local links=$key[@]
	eval $(parse_yaml $(dc_file) | grep $key)
	for link in ${!links}; do
		echo $link
	done
}

dc_get_all_services() {
	if [ "$TT_IS_GLOBAL" = true ]; then
		generate_service_lists
		cat "$(get_workspace_cache_dir)/services"
	else
		dc config --services
	fi
}
{'fraction_non_alphanumeric': 0.1550946798917944, 'fraction_numerical': 0.0018034265103697023, 'mean_word_length': 4.634517766497462, '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': '2660602', 'n_tokens_mistral': 484, 'n_tokens_neox': 454, 'n_words': 94}