<commit_before># gym-tcp-api

This project provides a distributed infrastructure (TCP API) to the OpenAI Gym toolkit, allowing development in languages other than python.

The server is written in elixir, enabling a distributed infrastructure. Where each node makes use of a limitted set of processes that can be used to perform time consuming tasks (8 python instances per default).

## Contents

  1. [Dependencies](#dependencies)
  2. [Installation](#installation)
  3. [Getting started](#getting-started)
  4. [Distributed Server](#distributed-server)
  5. [API specification](#api-specification)

## Dependencies

The server has the following dependencies:

    Elixir >= 1.0

The c++ example agent has the following dependencies:

      Armadillo     >= 4.200.0
      Boost (system, thread)
      CMake         >= 2.8.5

## Installation

### Server

First, checkout the repo and change into the unpacked directory:

      git clone https://github.com/zoq/gym_tcp_api.git
      cd gym_tcp_api

Then installe the elixir dependencies:

      $ mix deps.get

### C++ Client<commit_msg>minor spelling fix.<commit_after># gym-tcp-api

This project provides a distributed infrastructure (TCP API) to the OpenAI Gym toolkit, allowing development in languages other than python.

The server is written in elixir, enabling a distributed infrastructure. Where each node makes use of a limitted set of processes that can be used to perform time consuming tasks (8 python instances per default).

## Contents

  1. [Dependencies](#dependencies)
  2. [Installation](#installation)
  3. [Getting started](#getting-started)
  4. [Distributed Server](#distributed-server)
  5. [API specification](#api-specification)

## Dependencies

The server has the following dependencies:

    Elixir >= 1.0

The c++ example agent has the following dependencies:

      Armadillo     >= 4.200.0
      Boost (system, thread)
      CMake         >= 2.8.5

## Installation

### Server

First, checkout the repo and change into the unpacked directory:

      git clone https://github.com/zoq/gym_tcp_api.git
      cd gym_tcp_api

Then install the elixir dependencies:

      $ mix deps.get

### C++ Client
{'fraction_non_alphanumeric': 0.08490133088572739, 'fraction_numerical': 0.014685635612666361, 'mean_word_length': 3.658119658119658, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '582153', 'n_tokens_mistral': 642, 'n_tokens_neox': 587, 'n_words': 243}