<commit_before>#include "FlagStatus.hpp"

#ifndef FLAGSTATUS_TEST
#include "base.hpp"
#include "Config.hpp"
#include "CommonData.hpp"
#endif

namespace org_pqrs_KeyRemap4MacBook {
  FlagStatus::Item FlagStatus::item_[FlagStatus::MAXNUM];
  Flags FlagStatus::statusMessageFlags_[BRIDGE_USERCLIENT_STATUS_MESSAGE__END__];

  void
  FlagStatus::Item::initialize(ModifierFlag f)
  {
    flag_ = f;
    count_ = 0;
    temporary_count_ = 0;
    lock_count_ = 0;
    sticky_count_ = 0;
  }

  void
  FlagStatus::Item::set(void)
  {
    temporary_count_ = 0;
  }

  void
  FlagStatus::Item::set(KeyCode key, Flags flags)
  {
    temporary_count_ = 0;<commit_msg>cleanup<commit_after>#include "FlagStatus.hpp"

#ifndef FLAGSTATUS_TEST
#include "CommonData.hpp"
#endif

namespace org_pqrs_KeyRemap4MacBook {
  FlagStatus::Item FlagStatus::item_[FlagStatus::MAXNUM];
  Flags FlagStatus::statusMessageFlags_[BRIDGE_USERCLIENT_STATUS_MESSAGE__END__];

  void
  FlagStatus::Item::initialize(ModifierFlag f)
  {
    flag_ = f;
    count_ = 0;
    temporary_count_ = 0;
    lock_count_ = 0;
    sticky_count_ = 0;
  }

  void
  FlagStatus::Item::set(void)
  {
    temporary_count_ = 0;
  }

  void
  FlagStatus::Item::set(KeyCode key, Flags flags)
  {
    temporary_count_ = 0;
{'fraction_non_alphanumeric': 0.1109350237717908, 'fraction_numerical': 0.011093502377179081, 'mean_word_length': 4.563876651982379, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2116630', 'n_tokens_mistral': 475, 'n_tokens_neox': 459, 'n_words': 77}