<commit_before>## Installation Notes

Install dependencies:
```bash
sudo apt update
sudo apt install python3-django             # 1.8.7-1ubuntu5.4
sudo apt install python3-elasticsearch      # 1.6.0-1
sudo apt install python3-yaml               # 3.11-3build1
sudo apt install python3-psycopg2           # 2.6.1-1build2

elasticsearch 2.4.4:  https://www.elastic.co/downloads/past-releases/elasticsearch-2-4-4
django-haystack 2.6.0:  https://django-haystack.readthedocs.io/en/v2.6.0/index.html
postgresql 9.5+173
```

Database setup, with fresh empty database:
```bash
python3 manage.py migrate
python3 manage.py loaddata noveltorpedo/fixtures/*.yaml
```
<commit_msg>Rebuild the index after loading fixtures<commit_after>## Installation Notes

Install dependencies:
```bash
sudo apt update
sudo apt install python3-django             # 1.8.7-1ubuntu5.4
sudo apt install python3-elasticsearch      # 1.6.0-1
sudo apt install python3-yaml               # 3.11-3build1
sudo apt install python3-psycopg2           # 2.6.1-1build2

elasticsearch 2.4.4:  https://www.elastic.co/downloads/past-releases/elasticsearch-2-4-4
django-haystack 2.6.0:  https://django-haystack.readthedocs.io/en/v2.6.0/index.html
postgresql 9.5+173
```

Database setup, with fresh empty database:
```bash
python3 manage.py migrate
python3 manage.py loaddata noveltorpedo/fixtures/*.yaml
python3 manage.py rebuild_index
```

{'fraction_non_alphanumeric': 0.11414213926776741, 'fraction_numerical': 0.06389088298636038, 'mean_word_length': 3.4394904458598727, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6660037', 'n_tokens_mistral': 530, 'n_tokens_neox': 467, 'n_words': 110}