<commit_before>//
// Created by Sam on 9/25/2017.
//

#include "../include/Game/Core/Game.h"
#include "../include/Game/Core/Player.h"
#include "../include/Network/Server.h"
#include "../include/Game/Python/Factory.h"
#include "../include/Game/Python/Version.h"

#include <iostream>

int main()
{
    std::shared_ptr<Factory> factory = std::make_shared<Factory>();
    std::string minimumVersion = "2.7";
    bool minimumCheck = Version(minimumVersion) < factory->version;
    std::string expectedVersion = "3.6.3";
    bool expectedCheck = Version(expectedVersion) == factory->version;

    std::cout << "minimumCheck: " << minimumCheck << std::endl;
    std::cout << "expectedCheck: " << expectedCheck << std::endl;

    std::cout << "Initializing server..." << std::endl;
    auto* server = new Server(8888);
    std::cout << "Starting server..." << std::endl;
    server->Start();
    std::cout << "Server started!" << std::endl;

    // Exit if the user enters quit
    std::string line;
    while (std::getline(std::cin, line) && line != "quit")
    {
        std::cout << "Unknown command: '" << line << "'" << std::endl;
    }

    std::cout << "Shutting down..." << std::endl;
    server->Stop();
    std::cout << "Bye!" << std::endl;
}<commit_msg>Removed testing code, segfaults are being caused by the combination of pybind11 and catch2.<commit_after>//
// Created by Sam on 9/25/2017.
//

#include "../include/Game/Core/Game.h"
#include "../include/Game/Core/Player.h"
#include "../include/Network/Server.h"

#include <iostream>

int main()
{
    std::cout << "Initializing server..." << std::endl;
    auto* server = new Server(8888);
    std::cout << "Starting server..." << std::endl;
    server->Start();
    std::cout << "Server started!" << std::endl;

    // Exit if the user enters quit
    std::string line;
    while (std::getline(std::cin, line) && line != "quit")
    {
        std::cout << "Unknown command: '" << line << "'" << std::endl;
    }

    std::cout << "Shutting down..." << std::endl;
    server->Stop();
    std::cout << "Bye!" << std::endl;
}
{'fraction_non_alphanumeric': 0.20865384615384616, 'fraction_numerical': 0.014423076923076924, 'mean_word_length': 3.246938775510204, 'pattern_counts': {'":': 0, '<': 76, '<?xml version=': 0, '>': 13, 'https://': 0, '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': '82784', 'n_tokens_mistral': 693, 'n_tokens_neox': 655, 'n_words': 160}