<commit_before># Requirements

Installing dependencies

    aptitude install rubygems
    gem install jekyll aquarium json less

# Usage

* update DOWNLOAD\_VERSION in index.html
* run jekyll
* output will be in \_site/

## Advanced Usage

### Alerts

You can easily put alerts on the homepage by changing the ALERT and ALERT\_CLASS variables in index.html.

Example:

```
ALERT_CLASS: error<commit_msg>I needed therubyracer GEM to make this work. Also apt-get is default on debain-derived systems so better to list that.<commit_after># Requirements

Installing dependencies

    sudo apt-get install rubygems
    sudo gem install jekyll aquarium json less therubyracer

# Usage

* update DOWNLOAD\_VERSION in index.html
* run jekyll
* output will be in \_site/

## Advanced Usage

### Alerts

You can easily put alerts on the homepage by changing the ALERT and ALERT\_CLASS variables in index.html.

Example:

```
ALERT_CLASS: error
{'fraction_non_alphanumeric': 0.05894962486602358, 'fraction_numerical': 0.0, 'mean_word_length': 4.076086956521739, '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': '3326096', 'n_tokens_mistral': 290, 'n_tokens_neox': 268, 'n_words': 117}