<commit_before>// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//

#include "base/logging.h"
#include "base/sha2.h"
#include "chrome/browser/safe_browsing/safe_browsing_util.h"
#include "googleurl/src/gurl.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace {
  bool VectorContains(const std::vector<std::string>& data,
                      const std::string& str) {
    for (size_t i = 0; i < data.size(); ++i) {
      if (data[i] == str)
        return true;
    }

    return false;
  }

SBFullHash CreateFullHash(SBPrefix prefix) {
  SBFullHash result;<commit_msg>Take out uneeded comment (and test public Rietveld instance!).<commit_after>// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/logging.h"
#include "base/sha2.h"
#include "chrome/browser/safe_browsing/safe_browsing_util.h"
#include "googleurl/src/gurl.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace {
  bool VectorContains(const std::vector<std::string>& data,
                      const std::string& str) {
    for (size_t i = 0; i < data.size(); ++i) {
      if (data[i] == str)
        return true;
    }

    return false;
  }

SBFullHash CreateFullHash(SBPrefix prefix) {
  SBFullHash result;
{'fraction_non_alphanumeric': 0.12517193947730398, 'fraction_numerical': 0.013755158184319119, 'mean_word_length': 3.3175074183976263, 'pattern_counts': {'":': 0, '<': 7, '<?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': '3106630', 'n_tokens_mistral': 503, 'n_tokens_neox': 475, 'n_words': 139}