<commit_before>#!/bin/bash

EC2_URL="$(node index.js $*)"
if [ $? -ne 0 ]
    then
        echo "$EC2_URL"
        exit 1
fi

if [ $1 == "--help" ]
    then
        echo "$EC2_URL"
        exit 0
fi

$EC2_URL<commit_msg>use current path when calling index.js<commit_after>#!/bin/bash
CURRENT="$(pwd)"
EC2_URL="$(node $CURRENT/index.js $*)"
if [ $? -ne 0 ]
    then
        echo "$EC2_URL"
        exit 1
fi

if [ $1 == "--help" ]
    then
        echo "$EC2_URL"
        exit 0
fi

$EC2_URL
{'fraction_non_alphanumeric': 0.16938775510204082, 'fraction_numerical': 0.0326530612244898, 'mean_word_length': 2.0308641975308643, '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': '4161051', 'n_tokens_mistral': 209, 'n_tokens_neox': 195, 'n_words': 49}