<commit_before># MetricsSatellite
Collect metrics and Report summaries.

## Requirements
* Ruby >= 1.9

## Installation
```
$ git clone <EMAIL>:ryo-nakamura/metrics_satellite.git
$ cd metrics_satellite
$ bundle install
```

## Usage
```
$ ./bin/metrics_satellite
Usage: metrics_satellite [options]
        --type=                      (default:           -) 'collect' or 'post'
        --host=                      (default:           -) GrowthForecast host to send report
        --service=                   (default: development) GrowthForecast service name
        --section=                   (default:     metrics) GrowthForecast section name
        --git=                       (default:          ./) git repository directory
        --app=                       (default:          ./) application directory

$ ./bin/metrics_satellite --type collect
$ ./bin/metrics_satellite --type post --host growthforecast.example.com
```<commit_msg>Update README example to follow current spec<commit_after># MetricsSatellite
Collect metrics and Report summaries.

## Requirements
* Ruby >= 1.9

## Installation
```
$ git clone <EMAIL>:ryo-nakamura/metrics_satellite.git
$ cd metrics_satellite
$ bundle install
```

## Usage
```
$ ./bin/metrics_satellite
Usage: metrics_satellite [options]
        --type=                      (default:       -) 'collect' or 'post'
        --host=                      (default:       -) GrowthForecast host to send report
        --service=                   (default: metrics) GrowthForecast service name
        --section=                   (default: section) GrowthForecast section name
        --git=                       (default:      ./) git repository directory
        --app=                       (default:      ./) application directory
        --reports=                   (default: reports) collected reports directory

$ ./bin/metrics_satellite --type collect
$ ./bin/metrics_satellite --type post --host growthforecast.example.com
```
{'fraction_non_alphanumeric': 0.10903584048460374, 'fraction_numerical': 0.0020191822311963654, 'mean_word_length': 1.843615494978479, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5762213', 'n_tokens_mistral': 541, 'n_tokens_neox': 472, 'n_words': 140}