<commit_before>console.log(process.argv);

arrayLength = process.argv.length - 2;

console.log(arrayLength);

function getSum(theArray){
    if(arrayLength > 0){
        arrayLength = process.argv.length - 2;
        theSum = 0;
        for (i = 2; i < arrayLength; i++){
            theSum += Number(theArray[i]);
            console.log("derp: " + theSum);
            console.log("i is: " + i);
        }
        console.log("The sum is: " + theSum);
    }<commit_msg>Worked on #2 a bit<commit_after>arrayLength = process.argv.length-2;

function getSum(theArray){
    if(arrayLength > 0){
        theSum = 0;
        for (i = 2; i < arrayLength+2; i++){
            theSum += Number(theArray[i]);
        }
        console.log("The sum is: " + theSum);
    }
{'fraction_non_alphanumeric': 0.15485564304461943, 'fraction_numerical': 0.014435695538057743, 'mean_word_length': 2.219409282700422, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5848331', 'n_tokens_mistral': 260, 'n_tokens_neox': 250, 'n_words': 55}