<commit_before># shellcheck shell=bash disable=SC2086

scaffolding_load() {
  _setup_funcs
  _setup_vars

  pushd "$SRC_PATH" > /dev/null<commit_msg>returns a useful error when someone tries to use pkg_source with scaffolding<commit_after># shellcheck shell=bash disable=SC2086

scaffolding_load() {
  _setup_funcs
  _setup_vars

# /src is the default value for $SRC_PATH
# if it is set to something else
# this scaffolding will not work
if [ "$SRC_PATH" != "/src" ]
then
    e="Please do not use pkg_source in your plan when using the ruby scaffolding."
    exit_with "$e" 10
fi

  pushd "$SRC_PATH" > /dev/null
{'fraction_non_alphanumeric': 0.08496732026143791, 'fraction_numerical': 0.016339869281045753, 'mean_word_length': 4.473214285714286, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '230329', 'n_tokens_mistral': 219, 'n_tokens_neox': 202, 'n_words': 70}