<commit_before>[![Go Report Card](https://goreportcard.com/badge/github.com/ggaaooppeenngg/libsandbox)](https://goreportcard.com/report/github.com/ggaaooppeenngg/libsandbox)
[![Coverage Status](https://coveralls.io/repos/github/ggaaooppeenngg/libsandbox/badge.svg?branch=master)](https://coveralls.io/github/ggaaooppeenngg/libsandbox?branch=master)
[![GoDoc](https://godoc.org/github.com/ggaaooppeenngg/libsandbox?status.svg)](https://godoc.org/github.com/ggaaooppeenngg/libsandbox)
[![Build Status](https://drone.io/github.com/ggaaooppeenngg/libsandbox/status.png)](https://drone.io/github.com/ggaaooppeenngg/libsandbox/latest)

#sandbox
---

Sandbox for online judge.

##install

*command*

```
$ go get github.com/ggaaooppeenngg/libsandbox

```

###Usage:

```
    // compile before running and specify limit
    sandbox --lang=c -c -s src/main.c -b bin/main --memory=10000 --time=1000 --input=judge/input --output==judge/output
    // running with compiled binary file
    sandbox --lang=c -b bin/main -i judge/input -o judge/output<commit_msg>format README.md<commit_after>[![Go Report Card](https://goreportcard.com/badge/github.com/ggaaooppeenngg/libsandbox)](https://goreportcard.com/report/github.com/ggaaooppeenngg/libsandbox)
[![Coverage Status](https://coveralls.io/repos/github/ggaaooppeenngg/libsandbox/badge.svg?branch=master)](https://coveralls.io/github/ggaaooppeenngg/libsandbox?branch=master)
[![GoDoc](https://godoc.org/github.com/ggaaooppeenngg/libsandbox?status.svg)](https://godoc.org/github.com/ggaaooppeenngg/libsandbox)
[![Build Status](https://drone.io/github.com/ggaaooppeenngg/libsandbox/status.png)](https://drone.io/github.com/ggaaooppeenngg/libsandbox/latest)

#sandbox
---

Sandbox for online judge.

##install

*command*

```
$ go get github.com/ggaaooppeenngg/libsandbox

```

###Usage:

```
// compile before running and specify limit
sandbox --lang=c -c -s src/main.c -b bin/main --memory=10000 --time=1000 --input=judge/input --output==judge/output
// running with compiled binary file
sandbox --lang=c -b bin/main -i judge/input -o judge/output
{'fraction_non_alphanumeric': 0.171387421987518, 'fraction_numerical': 0.008641382621219395, 'mean_word_length': 5.040579710144928, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 16, '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': '3559422', 'n_tokens_mistral': 835, 'n_tokens_neox': 770, 'n_words': 98}