<commit_before>#!/bin/bash

SCRIPT_DIR=/kabob.git/scripts/docker
source $SCRIPT_DIR/INIT.sh
echo Sourcing default variables

## ------------------------------------------------------------------------- ##
## Set variables for build environment and installation.                     ##
## ------------------------------------------------------------------------- ##

# We use Leiningen as a Java execution engine :-)
LEININGEN=${PLATFORM_LEININGEN:?}

# The build requires the port with which to connect to AllegroGraph
KB_PORT=${PLATFORM_KB_PORT:?}

# The URL by which to connect to the knowledgebase when generating the rules.
KB_URL=${KB_INSTANCE_URL:?}
# The name used to connect to the database when generating the rules.
KB_USER=${KB_INSTANCE_USER:?}
# The password used to connect to the database when generating the rules.
KB_PASS=${KB_INSTANCE_PASS:?}
# The database or schema name by which the knowledgebase is known to the store.
KB_NAME=${KB_INSTANCE_NAME:?}

# The directories containing the data source files that must be loaded.
function assert_datasource_dir_exists {<commit_msg>Corrected path to INIT.sh<commit_after>#!/bin/bash

SCRIPT_DIR=/kabob.git/scripts/docker
source ${SCRIPT_DIR}/common-scripts/INIT.sh
echo Sourcing default variables

## ------------------------------------------------------------------------- ##
## Set variables for build environment and installation.                     ##
## ------------------------------------------------------------------------- ##

# We use Leiningen as a Java execution engine :-)
LEININGEN=${PLATFORM_LEININGEN:?}

# The build requires the port with which to connect to AllegroGraph
KB_PORT=${PLATFORM_KB_PORT:?}

# The URL by which to connect to the knowledgebase when generating the rules.
KB_URL=${KB_INSTANCE_URL:?}
# The name used to connect to the database when generating the rules.
KB_USER=${KB_INSTANCE_USER:?}
# The password used to connect to the database when generating the rules.
KB_PASS=${KB_INSTANCE_PASS:?}
# The database or schema name by which the knowledgebase is known to the store.
KB_NAME=${KB_INSTANCE_NAME:?}

# The directories containing the data source files that must be loaded.
function assert_datasource_dir_exists {
{'fraction_non_alphanumeric': 0.20613441587731168, 'fraction_numerical': 0.0, 'mean_word_length': 2.571658615136876, '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': '2539561', 'n_tokens_mistral': 603, 'n_tokens_neox': 565, 'n_words': 211}