<commit_before>#pragma once

#include "RandomNumberGenerator.hpp"

#include <random>

namespace model
{

class MersenneByteTwister : public RandomNumberGenerator
{
public:
    MersenneByteTwister()           = default;
    ~MersenneByteTwister() override = default;

    chip8::byte_t get() override
    {
        return m_distribution( m_generator );
    }

private:
    std::mt19937                                 m_generator{ std::random_device{}() };
    std::uniform_int_distribution<chip8::byte_t> m_distribution{ 0x01u, 0xFFu };
};

} // namespace model
<commit_msg>Fix conversion<commit_after>#pragma once

#include "RandomNumberGenerator.hpp"

#include <random>

namespace model
{

class MersenneByteTwister : public RandomNumberGenerator
{
public:
    MersenneByteTwister()           = default;
    ~MersenneByteTwister() override = default;

    chip8::byte_t get() override
    {
        return m_distribution( m_generator );
    }

private:
    std::mt19937 m_generator{ std::random_device{}() };

    std::uniform_int_distribution<chip8::byte_t> m_distribution{ static_cast<chip8::byte_t>( 0x01u ),
                                                                 static_cast<chip8::byte_t>( 0xFFu ) };
};

} // namespace model

{'fraction_non_alphanumeric': 0.10619469026548672, 'fraction_numerical': 0.019308125502815767, 'mean_word_length': 3.0129032258064514, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '663724', 'n_tokens_mistral': 391, 'n_tokens_neox': 369, 'n_words': 71}