<commit_before>#ifndef __STAN__MATH__FUNCTIONS__SUM_HPP__
#define __STAN__MATH__FUNCTIONS__SUM_HPP__

#include <vector>

namespace stan {
  namespace math {

    inline double sum(std::vector<double>& x) {
      double sum = x[0];
      for (size_t i = 1; i < x.size(); ++i)
        sum += x[i];
      return sum;
    }

  }
}

#endif
<commit_msg>really final #include <cstddef><commit_after>#ifndef __STAN__MATH__FUNCTIONS__SUM_HPP__
#define __STAN__MATH__FUNCTIONS__SUM_HPP__

#include <vector>
#include <cstddef>

namespace stan {
  namespace math {

    inline double sum(std::vector<double>& x) {
      double sum = x[0];
      for (size_t i = 1; i < x.size(); ++i)
        sum += x[i];
      return sum;
    }

  }
}

#endif

{'fraction_non_alphanumeric': 0.12585499316005472, 'fraction_numerical': 0.005471956224350205, 'mean_word_length': 3.255813953488372, 'pattern_counts': {'":': 0, '<': 11, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2991413', 'n_tokens_mistral': 287, 'n_tokens_neox': 273, 'n_words': 63}