<commit_before># metrics_controller

* |cargo test| -- builds the library and the main target for testing/exercising
* |cargo clean| -- cleans out the target
* |cargo build| -- builds just the library
* |cargo doc| -- creates 'rustdoc' documentation

## Toolchain
 run |multirust override nightly-2016-04-10| to make sure you have the correct rust version.

### Building on OSX El Capitan
When building from a clean state on MacOS El Capitan, if you see the following error:

    failed to run custom build command for `openssl v0.7.6`
     ...
    src/c_helpers.c:1:10: fatal error: 'openssl/ssl.h' file not found

export the following environment variables pointing to your openssl sdk. For example, if you have used homebrew to install openssl:

    export OPENSSL_INCLUDE_DIR=/usr/local/Cellar/openssl/1.0.2f/include/
    export DEP_OPENSSL_INCLUDE=/usr/local/Cellar/openssl/1.0.2f/include/

## Logging
 The metrics library uses the `env_logger` package for logging functionality. Two notable features of this package
are:<commit_msg>Issue #62, add integration test info to README<commit_after># metrics_controller

* |cargo test| -- builds the library and the main target for testing, runs unit tests
* |cargo test --features integration| -- builds the library and the main target for testing, runs integration tests
* |cargo clean| -- cleans out the target
* |cargo build| -- builds just the library
* |cargo doc| -- creates 'rustdoc' documentation

## Toolchain
 run |multirust override nightly-2016-04-10| to make sure you have the correct rust version.

### Building on OSX El Capitan
When building from a clean state on MacOS El Capitan, if you see the following error:

    failed to run custom build command for `openssl v0.7.6`
     ...
    src/c_helpers.c:1:10: fatal error: 'openssl/ssl.h' file not found

export the following environment variables pointing to your openssl sdk. For example, if you have used homebrew to install openssl:

    export OPENSSL_INCLUDE_DIR=/usr/local/Cellar/openssl/1.0.2f/include/
    export DEP_OPENSSL_INCLUDE=/usr/local/Cellar/openssl/1.0.2f/include/

## Logging
 The metrics library uses the `env_logger` package for logging functionality. Two notable features of this package
are:
{'fraction_non_alphanumeric': 0.08157776781712237, 'fraction_numerical': 0.01882563872702824, 'mean_word_length': 4.027027027027027, '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': '2783732', 'n_tokens_mistral': 673, 'n_tokens_neox': 632, 'n_words': 271}