<commit_before># Chameleon

Chameleon is a simple service for sampling reputation from
[Stack Overflow](http://stackoverflow.com). It takes a list of users
from a MongoDB collection, collects those users' reputation scores,
and saves them back into a MongoDB collection.

## Prerequisites

1. [Leiningen](http://leiningen.org)
2. [MongoDB](http://www.mongodb.org), running on your local machine.

## Usage

1. Build the Jar:

        $ lein uberjar

2. Create a MongoDB database called `chameleon`.

3. In the `chameleon` database, create a collection called `users`.

4. Populate the `users` collection with users whose reputation you would
   like to record, in the following format:

        {_id: <stack overflow user id>}

5. Run the Jar file:

        $ java -jar target/chameleon-1.0.0-standalone.jar

You will probably want to run the program as a cron task, to sample
reputation periodically.<commit_msg>Update README to reflect new Jarfile name<commit_after># Chameleon

Chameleon is a simple service for sampling reputation from
[Stack Overflow](http://stackoverflow.com). It takes a list of users
from a MongoDB collection, collects those users' reputation scores,
and saves them back into a MongoDB collection.

## Prerequisites

1. [Leiningen](http://leiningen.org)
2. [MongoDB](http://www.mongodb.org), running on your local machine.

## Usage

1. Build the Jar:

        $ lein uberjar

2. Create a MongoDB database called `chameleon`.

3. In the `chameleon` database, create a collection called `users`.

4. Populate the `users` collection with users whose reputation you would
   like to record, in the following format:

        {_id: <stack overflow user id>}

5. Run the Jar file:

        $ java -jar target/chameleon-standalone.jar

You will probably want to run the program as a cron task, to sample
reputation periodically.
{'fraction_non_alphanumeric': 0.08279220779220779, 'fraction_numerical': 0.0091991341991342, 'mean_word_length': 3.8151041666666665, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6730623', 'n_tokens_mistral': 566, 'n_tokens_neox': 539, 'n_words': 239}