<commit_before>require "flipper/adapters/http"
require "flipper/instrumenters/noop"

module Flipper
  module Cloud
    def self.new(token, options = {})
      url = options.fetch(:url) { "https://www.featureflipper.com/adapter" }
      instrumenter = options.fetch(:instrumenter, Flipper::Instrumenters::Noop)
      adapter = Flipper::Adapters::Http.new(uri: URI(url),
                                            headers: {<commit_msg>No need for fetch block<commit_after>require "flipper/adapters/http"
require "flipper/instrumenters/noop"

module Flipper
  module Cloud
    def self.new(token, options = {})
      url = options.fetch(:url, "https://www.featureflipper.com/adapter")
      instrumenter = options.fetch(:instrumenter, Flipper::Instrumenters::Noop)
      adapter = Flipper::Adapters::Http.new(uri: URI(url),
                                            headers: {
{'fraction_non_alphanumeric': 0.1265678449258837, 'fraction_numerical': 0.0, 'mean_word_length': 2.937219730941704, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7180003', 'n_tokens_mistral': 255, 'n_tokens_neox': 264, 'n_words': 46}