<commit_before>#ifndef RMF_AVRO2_ENCODE_DECODE_H
#define RMF_AVRO2_ENCODE_DECODE_H

#include "boost/any.hpp"
#include "avrocpp/api/Specific.hh"
#include "avrocpp/api/Encoder.hh"
#include "avrocpp/api/Decoder.hh"
#include <RMF/Vector.h>
#include <RMF/ID.h>
#include <boost/unordered_map.hpp>

RMF_ENABLE_WARNINGS

namespace RMF {
namespace avro2 {
template <class B>
struct Skip {};

template <class V>
void add_to_list(std::vector<V>& in, const std::vector<V>& to_add) {
  if (to_add.empty()) return;
  in.insert(in.end(), to_add.begin(), to_add.end());
  std::sort(in.begin(), in.end());
  in.erase(std::unique(in.begin(), in.end()), in.end());
}
template <class V>
void add_to_list(std::vector<V>& in, const V& to_add) {<commit_msg>add missing #includes<commit_after>#ifndef RMF_AVRO2_ENCODE_DECODE_H
#define RMF_AVRO2_ENCODE_DECODE_H

#include "boost/any.hpp"
#include "avrocpp/api/Specific.hh"
#include "avrocpp/api/Encoder.hh"
#include "avrocpp/api/Decoder.hh"
#include <RMF/Vector.h>
#include <RMF/ID.h>
#include <boost/unordered_map.hpp>
#include <boost/unordered_set.hpp>
#include <set>
#if BOOST_VERSION >= 104900
#include <boost/container/flat_set.hpp>
#include <boost/container/flat_map.hpp>
#endif

RMF_ENABLE_WARNINGS

namespace RMF {
namespace avro2 {
template <class B>
struct Skip {};

template <class V>
void add_to_list(std::vector<V>& in, const std::vector<V>& to_add) {
  if (to_add.empty()) return;
  in.insert(in.end(), to_add.begin(), to_add.end());
  std::sort(in.begin(), in.end());
  in.erase(std::unique(in.begin(), in.end()), in.end());
}
template <class V>
void add_to_list(std::vector<V>& in, const V& to_add) {
{'fraction_non_alphanumeric': 0.1748933577087142, 'fraction_numerical': 0.007312614259597806, 'mean_word_length': 6.201754385964913, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 26, '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': '3202629', 'n_tokens_mistral': 665, 'n_tokens_neox': 659, 'n_words': 128}