<commit_before># Hacking

    git clone <EMAIL>:forthright/vile.git
    git clone <EMAIL>:forthright/vile-docs.git
    cd vile
    npm i
    npm run compile
    npm run compile-dev

To run the CLI locally:

    node bin/vile -h

To run tests:

    npm -s t

To recompile `src` to `lib`:

    npm run compile

To run compile task with file watch in the background:

    npm run dev

To generate latest docs:

    npm run -s gen-docs
    [browser] ../vile-docs/public/index.html<commit_msg>Update hacking about yarn usage.<commit_after># Hacking

Clone the repos:

    git clone <EMAIL>:forthright/vile.git
    git clone <EMAIL>:forthright/vile-docs.git
    cd vile

We use `yarn` for development (for speed):

    npm i -g yarn
    yarn

However, `npm` should work just as well:

    npm i

To build all:

    npm run -s compile
    npm run -s compile-dev

To run the CLI locally:

    node bin/vile -h

To run tests:

    npm -s t

To recompile `src` to `lib`:

    npm run -s compile

To run compile task with file watch in the background:

    npm run dev

To generate latest docs:

    npm run -s gen-docs
    [browser] ../vile-docs/public/index.html
{'fraction_non_alphanumeric': 0.08152645273200347, 'fraction_numerical': 0.0, 'mean_word_length': 2.486404833836858, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '5575153', 'n_tokens_mistral': 428, 'n_tokens_neox': 381, 'n_words': 157}