<commit_before>[![Build Status](https://travis-ci.org/orwell-int/robots.svg?branch=master)](https://travis-ci.org/orwell-int/robots) [![Stories in Ready](https://badge.waffle.io/orwell-int/robots.png?label=ready&title=Ready)](https://waffle.io/orwell-int/robots) [![Coverage Status](https://img.shields.io/coveralls/orwell-int/robots.svg)](https://coveralls.io/r/orwell-int/robots)
robots
===============

This is the code running one the NXT robots themselves.<commit_msg>Add instruction details in README<commit_after>[![Build Status](https://travis-ci.org/orwell-int/robots.svg?branch=master)](https://travis-ci.org/orwell-int/robots) [![Stories in Ready](https://badge.waffle.io/orwell-int/robots.png?label=ready&title=Ready)](https://waffle.io/orwell-int/robots) [![Coverage Status](https://img.shields.io/coveralls/orwell-int/robots.svg)](https://coveralls.io/r/orwell-int/robots)
robots
===============

This is the code running one the NXT robots themselves.

Checkout the code
-----------------
Get the sources
```
git clone <EMAIL>:orwell-int/robots.git
```

Get the submodules
```
git submodule update --init --recursive
```

local setup for coveralls
-------------------------
Run with maven
--------------
Prerequiste: have jdk-7+ installed on your machine
```
javac -version
>javac 1.7.xxx

java -version                                                         
>java version "1.7.xxx"
```

Install maven:
```
sudo apt-get install maven
```

Download leJOS tar.gz
```
wget -nc --no-check-certificate http://sourceforge.net/projects/lejos/files/lejos-NXJ/0.9.1beta/leJOS_NXJ_0.9.1beta-3.tar.gz/download -O ./leJOS_NXJ_0.9.1beta-3.tar.gz
tar -xvf leJOS_NXJ_0.9.1beta-3.tar.gz
export NXJ_HOME=leJOS_NXJ_0.9.1beta-3
```

Run maven install, specifing the name of your NXT device on which you want to run the program
```
mvn clean install -Drobotname=YourRobotNameHere
```


{'fraction_non_alphanumeric': 0.19606801275239108, 'fraction_numerical': 0.012752391073326248, 'mean_word_length': 3.5815085158150852, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 6, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2154086', 'n_tokens_mistral': 706, 'n_tokens_neox': 673, 'n_words': 121}