<commit_before>#include "Inline/BasicTypes.h"
#include "Inline/Serialization.h"
#include "Inline/UTF8.h"
#include "WASM.h"
#include "IR/Module.h"
#include "IR/Operators.h"
#include "IR/Types.h"
#include "IR/Validate.h"

#include <iostream>

#include <softfloat.h>

using namespace Serialization;

static void throwIfNotValidUTF8(const std::string& string)
{
	const U8* endChar = (const U8*)string.data() + string.size();
	if(UTF8::validateString((const U8*)string.data(),endChar) != endChar)
	{
		throw FatalSerializationException("invalid UTF-8 encoding");
	}
}

// These serialization functions need to be declared in the IR namespace for the array serializer in the Serialization namespace to find them.
namespace IR
{<commit_msg>Forgot one last softfloat thing in this branch<commit_after>#include "Inline/BasicTypes.h"
#include "Inline/Serialization.h"
#include "Inline/UTF8.h"
#include "WASM.h"
#include "IR/Module.h"
#include "IR/Operators.h"
#include "IR/Types.h"
#include "IR/Validate.h"

#include <iostream>

using namespace Serialization;

static void throwIfNotValidUTF8(const std::string& string)
{
	const U8* endChar = (const U8*)string.data() + string.size();
	if(UTF8::validateString((const U8*)string.data(),endChar) != endChar)
	{
		throw FatalSerializationException("invalid UTF-8 encoding");
	}
}

// These serialization functions need to be declared in the IR namespace for the array serializer in the Serialization namespace to find them.
namespace IR
{
{'fraction_non_alphanumeric': 0.1288135593220339, 'fraction_numerical': 0.009491525423728813, 'mean_word_length': 5.770642201834862, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '1456482', 'n_tokens_mistral': 483, 'n_tokens_neox': 487, 'n_words': 135}