<commit_before>## Getting Setup

### Prerequisites

You'll need [Node](https://nodejs.org/en/) and [Yarn](https://yarnpkg.com/en/) installed. The Node version should match [the `engine` version here](https://github.com/artsy/emission/blob/master/package.json).

### Xcode Version

Currently we require developers to use Xcode 11, with the latest version (11.3) recommended. You can find all versions of Xcode from [Apple's Developer Portal 🔐](http://developer.apple.com/download/more/).

### Clone

Follow the instructions in [the README](https://github.com/artsy/eigen).

### Running Tests

We can only run tests in one specific environment, today that is iPhone X with the iOS 12.4 Simulator. This is because we use visual snapshots for UI regressions.

You can install the iOS 11 SDK by opening Xcode's preferences, going to "Components" then downloading "11.3.x".

<p align="center">
  <img src="screenshots/install-ios-12.png" />
</p>

Once it's all downloaded, it will show up in the dropdown in the top left corner.

<p align="center">
  <img src="screenshots/simulator-window.png" />
</p>

#### To run test in Xcode

Tap `cmd + u` to run all tests, use `ctrl + alt + cmd + g` to run the last set you clicked on via the GUI.

#### Command line

You can run tests via the CLI using:<commit_msg>docs correction<commit_after>## Getting Setup

### Prerequisites

You'll need [Node](https://nodejs.org/en/) and [Yarn](https://yarnpkg.com/en/) installed. The Node version should match [the `engine` version here](https://github.com/artsy/emission/blob/master/package.json).

### Xcode Version

Currently we require developers to use Xcode 11, with the latest version (11.3) recommended. You can find all versions of Xcode from [Apple's Developer Portal 🔐](http://developer.apple.com/download/more/).

### Clone

Follow the instructions in [the README](https://github.com/artsy/eigen).

### Running Tests

We can only run tests in one specific environment, today that is iPhone X with the iOS 12.4 Simulator. This is because we use visual snapshots for UI regressions.

You can install the iOS 12 SDK by opening Xcode's preferences, going to "Components" then downloading "12.4".

<p align="center">
  <img src="screenshots/install-ios-12.png" />
</p>

Once it's all downloaded, it will show up in the dropdown in the top left corner.

<p align="center">
  <img src="screenshots/simulator-window.png" />
</p>

#### To run test in Xcode

Tap `cmd + u` to run all tests, use `ctrl + alt + cmd + g` to run the last set you clicked on via the GUI.

#### Command line

You can run tests via the CLI using:
{'fraction_non_alphanumeric': 0.12038461538461538, 'fraction_numerical': 0.011538461538461539, 'mean_word_length': 4.1301775147929, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2063170', 'n_tokens_mistral': 836, 'n_tokens_neox': 775, 'n_words': 332}