<commit_before># Record Peeker

Peeks at FFRK battle drops data. Could potentially be expanded to do other things.

## Installation

Note: Only tested on OS X. Will probably work on Windows and Linux as long as mitmproxy works too.

Assuming you have [Homebrew](http://brew.sh) installed:

```
brew install python
pip install git+https://github.com/jonchang/recordpeeker.git
```

## Usage

In your Terminal, just type in:

```
recordpeeker
```

Then, set up your phone to use your computer as a proxy. Here's what it might look like on iOS:

![iOS manual proxy configuration](https://mitmproxy.org/doc/screenshots/ios-manual.png)

Enter a battle, and watch the drops roll in!

```
$ recordpeeker
Configure your phone's proxy to point to this computer, then visit mitm.it
on your phone to install the interception certificate.

Record Peeker is listening on 10.0.0.1, port 8080...
Entering battle #307001..
  Round 1:
    MP drops nothing!
    Special Combatant drops nothing!
  Round 2:
    Sweeper drops 1* Staff (IV)
    Special Combatant drops nothing!
  Round 3:
    Sweeper drops nothing!
    Sweeper drops 1* orb id#40000031
  Round 4:
    Guard Scorpion drops nothing!
```

## Contributing

* Currently, the item database only includes equipment (i.e., no orbs or anything else). Edit [items.csv](https://github.com/jonchang/recordpeeker/blob/master/recordpeeker/data/items.csv) to add new things to the database.

* Functions wishlist
    * Suggest equipment optimizations
    * Record drop frequencies

## Developing

```
git clone https://github.com/jonchang/recordpeeker.git
cd recordpeeker
virtualenv env
source env/bin/activate
./setup.py develop
```
<commit_msg>Update wishlist<commit_after># Record Peeker

Peeks at FFRK battle drops data. Could potentially be expanded to do other things.

## Installation

Note: Only tested on OS X. Will probably work on Windows and Linux as long as mitmproxy works too.

Assuming you have [Homebrew](http://brew.sh) installed:

```
brew install python
pip install git+https://github.com/jonchang/recordpeeker.git
```

## Usage

In your Terminal, just type in:

```
recordpeeker
```

Then, set up your phone to use your computer as a proxy. Here's what it might look like on iOS:

![iOS manual proxy configuration](https://mitmproxy.org/doc/screenshots/ios-manual.png)

Enter a battle, and watch the drops roll in!

```
$ recordpeeker
Configure your phone's proxy to point to this computer, then visit mitm.it
on your phone to install the interception certificate.

Record Peeker is listening on 10.0.0.1, port 8080...
Entering battle #307001..
  Round 1:
    MP drops nothing!
    Special Combatant drops nothing!
  Round 2:
    Sweeper drops 1* Staff (IV)
    Special Combatant drops nothing!
  Round 3:
    Sweeper drops nothing!
    Sweeper drops 1* orb id#40000031
  Round 4:
    Guard Scorpion drops nothing!
```

## Contributing

* Currently, the item database only includes equipment (i.e., no orbs or anything else). Edit [items.csv](https://github.com/jonchang/recordpeeker/blob/master/recordpeeker/data/items.csv) to add new things to the database.

* Functions wishlist
    * Package a .app or .exe for easy setup
    * Record drop frequencies

## Developing

```
git clone https://github.com/jonchang/recordpeeker.git
cd recordpeeker
virtualenv env
source env/bin/activate
./setup.py develop
```

{'fraction_non_alphanumeric': 0.08988095238095238, 'fraction_numerical': 0.017261904761904763, 'mean_word_length': 3.9065693430656934, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '390919', 'n_tokens_mistral': 1095, 'n_tokens_neox': 999, 'n_words': 406}