<commit_before>compilebot
==========

CompileBot is a reddit bot that can execute source code in comments. All you have to do is mention CompileBot in your comments along with a language and source code:

> +[/u/CompileBot](http://www.reddit.com/user/CompileBot) python
>
>     print "Hello World!"
>

CompileBot will then process your comment, execute it remotely, and then respond with the output:

> Output:
>
>     Hello World!
>

* You can view more information on how to use compilebot on the [compilebot wiki](http://www.reddit.com/r/CompileBot/wiki/index#wiki_how_to_use_compilebot).
* [Try compilebot out on reddit](http://www.reddit.com/r/CompileBot/comments/1ueer5/official_compilebot_testing_thread/)

# How it works

CombileBot is powered by the "compilebot" module which is written in python (2.7). It uses the [PRAW](https://github.com/praw-dev/praw) package to communicate with reddit and a [modified fork](https://github.com/renfredxh/ideone-api) of the python [ideone-api](https://github.com/jschaf/ideone-api) which uses the [Ideone online compiler](http://ideone.com) to execute source code.

# Contributing

CompileBot would appreciate any help it can get. Even if you don't want to contribute to the compilebot source, we need people for testing, improving documentation, and making donations to help support CompileBot's server space and ideone subscription. For more details on with contributing with anything non-technical, you can find out more on the [CompileBot contribution wiki](http://www.reddit.com/r/CompileBot/wiki/index#wiki_contributing).

If you would like to contribute new features, or fix bugs or contribute anything else to the compilebot module, you can follow the instructions below to get a local instance of compilebot set up on your system.

# Installation

To install compilebot, you can follow the following steps. Using [virtualenv](http://www.virtualenv.org) is recommended.

```bash
git clone https://github.com/renfredxh/compilebot.git
cd compilebot
```

You'll need to initialize the ideone-api submodule and install it:

```bash<commit_msg>Update testing thread link<commit_after>compilebot
==========

CompileBot is a reddit bot that can execute source code in comments. All you have to do is mention CompileBot in your comments along with a language and source code:

> +[/u/CompileBot](http://www.reddit.com/user/CompileBot) python
>
>     print "Hello World!"
>

CompileBot will then process your comment, execute it remotely, and then respond with the output:

> Output:
>
>     Hello World!
>

* You can view more information on how to use compilebot on the [compilebot wiki](http://www.reddit.com/r/CompileBot/wiki/index#wiki_how_to_use_compilebot).
* [Try compilebot out on reddit](http://www.reddit.com/r/CompileBot/comments/2a3ust/official_compilebot_testing_thread/)

# How it works

CombileBot is powered by the "compilebot" module which is written in python (2.7). It uses the [PRAW](https://github.com/praw-dev/praw) package to communicate with reddit and a [modified fork](https://github.com/renfredxh/ideone-api) of the python [ideone-api](https://github.com/jschaf/ideone-api) which uses the [Ideone online compiler](http://ideone.com) to execute source code.

# Contributing

CompileBot would appreciate any help it can get. Even if you don't want to contribute to the compilebot source, we need people for testing, improving documentation, and making donations to help support CompileBot's server space and ideone subscription. For more details on with contributing with anything non-technical, you can find out more on the [CompileBot contribution wiki](http://www.reddit.com/r/CompileBot/wiki/index#wiki_contributing).

If you would like to contribute new features, or fix bugs or contribute anything else to the compilebot module, you can follow the instructions below to get a local instance of compilebot set up on your system.

# Installation

To install compilebot, you can follow the following steps. Using [virtualenv](http://www.virtualenv.org) is recommended.

```bash
git clone https://github.com/renfredxh/compilebot.git
cd compilebot
```

You'll need to initialize the ideone-api submodule and install it:

```bash
{'fraction_non_alphanumeric': 0.08902642228040943, 'fraction_numerical': 0.0019043084979766722, 'mean_word_length': 4.836111111111111, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, 'https://': 8, 'lorem ipsum': 0, 'www.': 10, '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': '1933440', 'n_tokens_mistral': 1190, 'n_tokens_neox': 1153, 'n_words': 486}