<commit_before>#pragma once

#include "../geometry/rect2d.hpp"

#include "../coding/file_writer.hpp"

#include "../std/vector.hpp"
#include "../std/string.hpp"


class FeatureBuilder1;

namespace feature
{
  class GenerateInfo;

  bool GenerateFeatures(GenerateInfo & info, bool lightNodes);

  // Writes features to dat file.
  class FeaturesCollector
  {
  protected:
    FileWriter m_datFile;

    m2::RectD m_bounds;

  protected:
    static uint32_t GetFileSize(FileWriter const & f);

    void WriteFeatureBase(vector<char> const & bytes, FeatureBuilder1 const & fb);

  public:
    FeaturesCollector(string const & fName);

    void operator() (FeatureBuilder1 const & f);
  };

  static const int g_coastsCellLevel = 6;
}
<commit_msg>Set coastline cell level generation to 7.<commit_after>#pragma once

#include "../geometry/rect2d.hpp"

#include "../coding/file_writer.hpp"

#include "../std/vector.hpp"
#include "../std/string.hpp"


class FeatureBuilder1;

namespace feature
{
  class GenerateInfo;

  bool GenerateFeatures(GenerateInfo & info, bool lightNodes);

  // Writes features to dat file.
  class FeaturesCollector
  {
  protected:
    FileWriter m_datFile;

    m2::RectD m_bounds;

  protected:
    static uint32_t GetFileSize(FileWriter const & f);

    void WriteFeatureBase(vector<char> const & bytes, FeatureBuilder1 const & fb);

  public:
    FeaturesCollector(string const & fName);

    void operator() (FeatureBuilder1 const & f);
  };

  static const int g_coastsCellLevel = 7;
}

{'fraction_non_alphanumeric': 0.10912698412698413, 'fraction_numerical': 0.011243386243386243, 'mean_word_length': 3.8184713375796178, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2339449', 'n_tokens_mistral': 489, 'n_tokens_neox': 461, 'n_words': 126}