<commit_before># Autocloud

## Setup

```
pip install -r requirements.txt
python setup.py develop
sudo mkdir /etc/autocloud; sudo cp config/autocloud/cfg /etc/autocloud/autocloud.cfg
python seed.py
```

## Run dashboard

```
python autocloud/web/app.py
```

## Test local fedmsg

Add the dictionary to endpoints in /etc/fedmsg.d/endpoints.py

```
"__main__.localhost": [
    "tcp://127.0.0.1:4321",
]
```

Change the topic in the fedmsg consumer hub to

```
topic = 'org.fedoraproject.dev.__main__.buildsys.task.state.change'<commit_msg>fix typo in README.md<commit_after># Autocloud

## Setup

```
pip install -r requirements.txt
python setup.py develop
sudo mkdir /etc/autocloud; sudo cp config/autocloud.cfg /etc/autocloud/autocloud.cfg
python seed.py
```

## Run dashboard

```
python autocloud/web/app.py
```

## Test local fedmsg

Add the dictionary to endpoints in /etc/fedmsg.d/endpoints.py

```
"__main__.localhost": [
    "tcp://127.0.0.1:4321",
]
```

Change the topic in the fedmsg consumer hub to

```
topic = 'org.fedoraproject.dev.__main__.buildsys.task.state.change'
{'fraction_non_alphanumeric': 0.14510166358595195, 'fraction_numerical': 0.018484288354898338, 'mean_word_length': 4.084507042253521, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '4453419', 'n_tokens_mistral': 434, 'n_tokens_neox': 389, 'n_words': 94}