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

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

debug::on() { set -o xtrace; }

BASHER_VENDOR_ROOT="vendor"

_boot::has_command() { command -v "$1" >/dev/null 2>&1; }

_boot::is_gnu_command() { [[ -s "$("$1" --version 2>/dev/null | grep "GNU")" ]]; }

_boot::debug() {
  if [[ ${BASHER_DEBUG:-notset} == "on" ]]; then
    printf "[BASHER] %s\n" "$*" >&2
  fi
}

_boot::import_from_local() {
  local name="$1"

  local candidates=(
    "${name}"
  )

  if [ -s "${BASHER_VENDOR_ROOT}" ]; then
    candidates+=("${BASHER_VENDOR_ROOT}/${name}")<commit_msg>fix wrong test condition used<commit_after>#!/usr/bin/env bash

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

debug::on() { set -o xtrace; }

BASHER_VENDOR_ROOT="vendor"

_boot::has_command() { command -v "$1" >/dev/null 2>&1; }

_boot::is_gnu_command() { [[ -n "$("$1" --version 2>/dev/null | grep "GNU")" ]]; }

_boot::debug() {
  if [[ ${BASHER_DEBUG:-notset} == "on" ]]; then
    printf "[BASHER] %s\n" "$*" >&2
  fi
}

_boot::import_from_local() {
  local name="$1"

  local candidates=(
    "${name}"
  )

  if [ -d "${BASHER_VENDOR_ROOT}" ]; then
    candidates+=("${BASHER_VENDOR_ROOT}/${name}")
{'fraction_non_alphanumeric': 0.22986577181208054, 'fraction_numerical': 0.01174496644295302, 'mean_word_length': 3.869387755102041, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '3980823', 'n_tokens_mistral': 505, 'n_tokens_neox': 508, 'n_words': 103}