<commit_before>#include <algorithm>
#include <exception>
#include <sstream>
#include <stdexcept>
#include <type_traits>
#include <variant>

#include "int_parser.h"

namespace {

template <typename T>
T _parse_int(const std::string &num, size_t *idx, int base)
{
  static_assert(not std::is_same_v<T, T>,
                "BUG: _parse_int not implemented for type");<commit_msg>fix -Wunused-parameter warnings<commit_after>#include <algorithm>
#include <exception>
#include <sstream>
#include <stdexcept>
#include <type_traits>
#include <variant>

#include "int_parser.h"

namespace {

template <typename T>
T _parse_int(const std::string &num __attribute__((unused)),
             size_t *idx __attribute__((unused)),
             int base __attribute__((unused)))
{
  static_assert(not std::is_same_v<T, T>,
                "BUG: _parse_int not implemented for type");
{'fraction_non_alphanumeric': 0.12903225806451613, 'fraction_numerical': 0.0, 'mean_word_length': 4.793333333333333, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '4786653', 'n_tokens_mistral': 286, 'n_tokens_neox': 285, 'n_words': 74}