<commit_before># Simulation-Parallel-Project

The project have to simulate the "Game of life automata" in a grid where the workers comunicate by messages.

This project was tested with:

* [nodejs](https://nodejs.org/en/) v5.5.0
* [nw.js](http://nwjs.io/) v0.12.3 (needed by the viewver)

### Test module

```bash
npm install --dev
npm test
```

### Use the simulator

Read the help for more details:
```bash
node ./sim.js --help
```

An example of use:
```bash
node ./sim.js 6 6 3 3 64 initial_params.json
```

**NOTE**: *initial_params.json* is included in the repository as example.

### Use the viewer

To run the viewver you have to install [nw.js](http://nwjs.io/) for your platform, then you can simply run it like that:
```bash
cd app
/path/to/nw .
```

After that you can drag the *out* folder, with your result and see what happened.

**NOTE**: If you need more information about how using *nw.js* check the [documentation](http://docs.nwjs.io/en/v0.13.0-beta5/For%20Users/Getting%20Started/#getting-started-with-nwjs).<commit_msg>Fix README<commit_after># Simulation-Parallel-Project

The project have to simulate the "Game of life automata" in a grid where the workers comunicate by messages.

This project was tested with:

* [nodejs](https://nodejs.org/en/) v5.5.0
* [nw.js](http://nwjs.io/) v0.12.3 (needed by the viewver)

### Test module

```bash
npm install --dev
npm test
```

### Use the simulator

Read the help for more details:
```bash
node ./sim.js --help
```

An example of use:
```bash
node ./sim.js 6 6 3 3 64 initial_params.json
```

**NOTE**: *initial_params.json* is included in the repository as example.

### Use the viewer

To run the viewver you have to install [nw.js](http://nwjs.io/) for your platform, then you can simply run it like that:
```bash
cd app
npm install
/path/to/nw .
```

After that you can drag the *out* folder, with your result and see what happened.

**NOTE**: If you need more information about how using *nw.js* check the [documentation](http://docs.nwjs.io/en/v0.13.0-beta5/For%20Users/Getting%20Started/#getting-started-with-nwjs).
{'fraction_non_alphanumeric': 0.13868962219033956, 'fraction_numerical': 0.021042563366810138, 'mean_word_length': 3.9107981220657275, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6657656', 'n_tokens_mistral': 763, 'n_tokens_neox': 679, 'n_words': 266}