<commit_before>#ifndef K3_RUNTIME_ENGINE_H
#define K3_RUNTIME_ENGINE_H

#include <atomic>
#include <functional>
#include <list>
#include <map>
#include <memory>
#include <tuple>

#include <Common.hpp>
#include <Endpoint.hpp>
#include <MessageProcessor.hpp>

namespace K3 {

  using namespace std;

  using std::atomic;

  namespace Net = K3::Asio;

  //-------------------
  // Utility functions

  Identifier listenerId(Address& addr) {
    return string("__") + "_listener_" + addressAsString(addr);
  }

  //---------------
  // Configuration

  class EngineConfiguration {
  public:
    EngineConfiguration() { defaultConfiguration(); }
    EngineConfiguration(Address& addr) { configureWithAddress(addr); }<commit_msg>Added include statement to fix Engine.hpp compilation issues<commit_after>#ifndef K3_RUNTIME_ENGINE_H
#define K3_RUNTIME_ENGINE_H

#include <atomic>
#include <functional>
#include <list>
#include <map>
#include <memory>
#include <tuple>

#include <Common.hpp>
#include <Endpoint.hpp>
#include <Listener.hpp>
#include <MessageProcessor.hpp>

namespace K3 {

  using namespace std;

  using std::atomic;

  namespace Net = K3::Asio;

  //-------------------
  // Utility functions

  Identifier listenerId(Address& addr) {
    return string("__") + "_listener_" + addressAsString(addr);
  }

  //---------------
  // Configuration

  class EngineConfiguration {
  public:
    EngineConfiguration() { defaultConfiguration(); }
    EngineConfiguration(Address& addr) { configureWithAddress(addr); }
{'fraction_non_alphanumeric': 0.16018457481872117, 'fraction_numerical': 0.005273566249176005, 'mean_word_length': 3.7735849056603774, 'pattern_counts': {'":': 0, '<': 22, '<?xml version=': 0, '>': 22, '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': '5287914', 'n_tokens_mistral': 468, 'n_tokens_neox': 441, 'n_words': 109}