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

set -o errexit
set -o nounset
set -o pipefail


SRC_DIR="$(dirname "${BASH_SOURCE[0]}")"


if [[ $# -lt 3 ]]; then
    source "$SRC_DIR/build_local_image.sh"
elif [[ $# -eq 3 ]]; then
    source "$SRC_DIR/build_image_from_remote.sh" $@
else
    echo "Build image requires either no arguments to build from local source or two arguments to specify a remote and branch."
fi<commit_msg>deprecating remote_build<commit_after>#!/usr/bin/env bash

set -o errexit
set -o nounset
set -o pipefail

# Avalanchego root folder
AVALANCHE_PATH=$( cd "$( dirname "${BASH_SOURCE[0]}" )"; cd .. && pwd )
# Load the versions
source "$AVALANCHE_PATH"/scripts/versions.sh
# Load the constants
source "$AVALANCHE_PATH"/scripts/constants.sh

source "$AVALANCHE_PATH"/scripts/build_local_image.sh
{'fraction_non_alphanumeric': 0.1334981458590853, 'fraction_numerical': 0.004944375772558714, 'mean_word_length': 4.586206896551724, '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': '2321936', 'n_tokens_mistral': 298, 'n_tokens_neox': 280, 'n_words': 80}