<commit_before>#pragma once

#include <cstdint>
#include <string>

#include <boost/asio.hpp>

#include "blackhole/utils/unique.hpp"

#include "backend.hpp"
#include "connect.hpp"

namespace blackhole {

namespace sink {

namespace socket {

template<>
class boost_backend_t<boost::asio::ip::tcp> {
    typedef boost::asio::ip::tcp Protocol;

    const std::string m_host;
    const std::uint16_t m_port;

    boost::asio::io_service m_io_service;
    std::unique_ptr<Protocol::socket> m_socket;

public:
    static const char* name() {
        return "tcp";
    }

    boost_backend_t(const std::string& host, std::uint16_t port) :
        m_host(host),
        m_port(port),
        m_socket(initialize(m_io_service, host, port))
    {
    }
<commit_msg>[Aux] Code reordering.<commit_after>#pragma once

#include <cstdint>
#include <string>

#include <boost/asio.hpp>

#include "blackhole/utils/unique.hpp"

#include "backend.hpp"
#include "connect.hpp"

namespace blackhole {

namespace sink {

namespace socket {

template<>
class boost_backend_t<boost::asio::ip::tcp> {
    typedef boost::asio::ip::tcp Protocol;

    const std::string m_host;
    const std::uint16_t m_port;

    boost::asio::io_service m_io_service;
    std::unique_ptr<Protocol::socket> m_socket;

public:
    boost_backend_t(const std::string& host, std::uint16_t port) :
        m_host(host),
        m_port(port),
        m_socket(initialize(m_io_service, host, port))
    {}

    static const char* name() {
        return "tcp";
    }

{'fraction_non_alphanumeric': 0.13408190224570674, 'fraction_numerical': 0.005284015852047556, 'mean_word_length': 3.9672131147540983, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '3377815', 'n_tokens_mistral': 539, 'n_tokens_neox': 518, 'n_words': 108}