<commit_before># WCB

[![Build Status](https://travis-ci.org/AgaKhanFoundation/WCB.svg?branch=master)](https://travis-ci.org/AgaKhanFoundation/WCB)

Work in progress!

## Requirements

- Node.js v7.6.0

## Development notes

### Testing

```
npm install
npm run lint
npm test
```

### Running

```
NODE_ENV=test node .
```
### Docker Instructions

To build the docker container locally

```
docker build -t <name> .
```

To run docker container locally

```
docker run -p <host-port>:7777 -d <name>
```

TODO: Update quay.io Instruction<commit_msg>Changed docker run commands<commit_after># WCB

[![Build Status](https://travis-ci.org/AgaKhanFoundation/WCB.svg?branch=master)](https://travis-ci.org/AgaKhanFoundation/WCB)

Work in progress!

## Requirements

- Node.js v7.6.0

## Development notes

### Testing

```
npm install
npm run lint
npm test
```

### Running

```
NODE_ENV=test node .
```
### Docker Instructions

To build the docker container locally

```
docker build -t <name> .
```

To run docker container locally

```
docker run -p <host-port>:7777 -e "NODE_ENV=test" -d <name>
```

To run quay-image-name

```
docker pull quay.io/nidhisd/wcb
docker run -p <host-port>:7777 -e "NODE_ENV=test" -d quay.io/nidhisd/wcb
```
{'fraction_non_alphanumeric': 0.16382806163828062, 'fraction_numerical': 0.014598540145985401, 'mean_word_length': 4.206751054852321, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3151083', 'n_tokens_mistral': 501, 'n_tokens_neox': 454, 'n_words': 114}