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

import sys
from pathlib import Path

import alter_path
from lib.stepfunctions import compile

if __name__ == '__main__':
    file_name = sys.argv[1]

    def_ = compile(Path(file_name), region='', account_id='', indent=3)

    print(def_)
<commit_msg>Fixed stepfunction script for compiling a DSL file<commit_after>#!/usr/bin/env python3

import sys
from pathlib import Path

import alter_path
from lib.stepfunctions import heaviside

if __name__ == '__main__':
    file_name = sys.argv[1]

    def_ = heaviside.compile(Path(file_name), region='', account_id='', indent=3)

    print(def_)

{'fraction_non_alphanumeric': 0.11287758346581876, 'fraction_numerical': 0.009538950715421303, 'mean_word_length': 4.779816513761468, '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': '7419964', 'n_tokens_mistral': 217, 'n_tokens_neox': 208, 'n_words': 57}