<commit_before>#!/bin/bash

<% for(var key in env) { %>
  export <%- key %>="<%- env[key] %>"
<% } %>

export METEOR_SETTINGS=`cat <%= settingsJson %>`
<commit_msg>Env script properly sources settings.json<commit_after>#!/bin/bash

config_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
settings_path="${config_dir}/<%= settingsJson %>"

<% for(var key in env) { -%>
export <%- key %>="<%- env[key] %>"
<% } -%>
export METEOR_SETTINGS=$(<${settings_path})

{'fraction_non_alphanumeric': 0.25646551724137934, 'fraction_numerical': 0.0021551724137931034, 'mean_word_length': 5.118421052631579, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 13, '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': '4071753', 'n_tokens_mistral': 199, 'n_tokens_neox': 173, 'n_words': 32}