<commit_before>#!/bin/sh

# This script installs the dependent libraries, builds the uberjar, runs it and runs the integration tests.

echo "Installing dependent libraries"

# ## Install CMR common
# cd ../cmr-common-lib
# lein install

# ## Install System trace lib
# cd ../cmr-system-trace-lib
# lein install

# ## Build metadata db uber jar
# cd ../cmr-metadata-db-app
# lein uberjar

# ## Capture the uberjar filename
# UBERJAR=`find target/*standalone.jar`
# nohup java -jar $UBERJAR &
# MDB_PID=$!

# echo "Metadata DB started with process id: " $MDB_PID

# lein with-profile +integration-test test-out

# echo "Kill metadata db"
# kill $MDB_PID

<commit_msg>Revert "Temporary changes to get ci to work."<commit_after>#!/bin/sh

# This script installs the dependent libraries, builds the uberjar, runs it and runs the integration tests.

echo "Installing dependent libraries"

## Install CMR common
cd ../cmr-common-lib
lein install

## Install System trace lib
cd ../cmr-system-trace-lib
lein install

## Build metadata db uber jar
cd ../cmr-metadata-db-app
lein uberjar

## Capture the uberjar filename
UBERJAR=`find target/*standalone.jar`
nohup java -jar $UBERJAR &
MDB_PID=$!

echo "Metadata DB started with process id: " $MDB_PID

lein with-profile +integration-test test-out

echo "Kill metadata db"
kill $MDB_PID


{'fraction_non_alphanumeric': 0.10692771084337349, 'fraction_numerical': 0.0, 'mean_word_length': 4.111538461538461, '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': '6246089', 'n_tokens_mistral': 464, 'n_tokens_neox': 438, 'n_words': 155}