<commit_before>module Remixr
  class Client
    include HTTParty
    base_uri 'api.remix.bestbuy.com/v1'
    format :json
    
    attr_reader :api_key, :store_filters, :product_filters
    
    # Get your api_key found here http://remix.bestbuy.com/apps/register
    def initialize(api_key=nil)
      @api_key = api_key
      @api_key ||= Remix.api_key
      
      @api_path = ''
      @store_filters = {}
      @product_filters = {}
    end
    
    # Example filters:
    # Stores within 50 miles of ZIP 76227
    #   stores({:area => [76227,50]})
    #   GET /v1/stores(area(76227,50))
    #  
    # Stores west of the Pecos
    #   stores({:lng => {'$lt' => -104.304199}})
    #   GET /v1/stores(lng>-104.304199)
    #
    def stores(filters={})<commit_msg>Fixed bug in client init<commit_after>module Remixr
  class Client
    include HTTParty
    base_uri 'api.remix.bestbuy.com/v1'
    format :json
    
    attr_reader :api_key, :store_filters, :product_filters
    
    # Get your api_key found here http://remix.bestbuy.com/apps/register
    def initialize(api_key=nil)
      @api_key = api_key
      @api_key ||= Remixr.api_key
      
      @api_path = ''
      @store_filters = {}
      @product_filters = {}
    end
    
    # Example filters:
    # Stores within 50 miles of ZIP 76227
    #   stores({:area => [76227,50]})
    #   GET /v1/stores(area(76227,50))
    #  
    # Stores west of the Pecos
    #   stores({:lng => {'$lt' => -104.304199}})
    #   GET /v1/stores(lng>-104.304199)
    #
    def stores(filters={})
{'fraction_non_alphanumeric': 0.13003901170351106, 'fraction_numerical': 0.054616384915474644, 'mean_word_length': 2.3676148796498904, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '1736839', 'n_tokens_mistral': 622, 'n_tokens_neox': 563, 'n_words': 113}