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

HEROKU_POSTGRES_URL=$DATABASE_URL
DB_URL=`echo $HEROKU_POSTGRES_URL | cut -d@ -f2`
DB_CONNECTION=`echo $HEROKU_POSTGRES_URL | cut -d@ -f1`

export BASE_URI="fast-lake-9564.herokuapp.com"
export DB_USER=`echo $DB_CONNECTION | cut -d: -f2 | cut -c 3-`
export DB_PASSWORD=`echo $DB_CONNECTION | cut -d: -f3`
export DB_HOST=`echo $DB_URL | cut -d/ -f1`
export DB_NAME=`echo $DB_URL | cut -d/ -f2`
export DB_JDBC_URL="jdbc:postgresql://${DB_HOST}/${DB_NAME}?user=${DB_USER}&password=${DB_PASSWORD}"

<commit_msg>RS+CM+GR | Attempt to fix heroku environment variables<commit_after>#!/usr/bin/env bash

HEROKU_POSTGRES_URL=$DATABASE_URL

DB_URL=`echo $HEROKU_POSTGRES_URL | cut -d@ -f2`
DB_CONNECTION=`echo $HEROKU_POSTGRES_URL | cut -d@ -f1`

export BASE_URI="fast-lake-9564.herokuapp.com"
export DB_USER=`echo $DB_CONNECTION | cut -d: -f2 | cut -c 3-`
export DB_PASSWORD=`echo $DB_CONNECTION | cut -d: -f3`
export DB_HOST=`echo $DB_URL | cut -d: -f1`
export DB_PORT=`echo $DB_URL | cut -d/ -f1 | cut -d: -f2`
export DB_NAME=`echo $DB_URL | cut -d/ -f2`
export DB_JDBC_URL="jdbc:postgresql://${DB_HOST}:${DB_PORT}/${DB_NAME}?user=${DB_USER}&password=${DB_PASSWORD}"


{'fraction_non_alphanumeric': 0.1695906432748538, 'fraction_numerical': 0.020050125313283207, 'mean_word_length': 5.510869565217392, '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': '7268037', 'n_tokens_mistral': 547, 'n_tokens_neox': 513, 'n_words': 103}