<commit_before>require 'rubygems'
require 'bundler/setup'
require 'rspec'

require './lib/versacommerce_api/'

RSpec.configure do |c|
  c.mock_with :rspec
end<commit_msg>Initialize session for test environment<commit_after>require 'rubygems'
require 'bundler/setup'
require 'rspec'
require 'pry'

require './lib/versacommerce_api/'

RSpec.configure do |c|
	c.mock_with :rspec
end


def initialize_session
	VersacommerceAPI::Session.setup(api_key: "4e6d0a2be244cff731f88caaff45e6ea3d2f9221", secret: "afe883e32194fc464c029e73fe9f3674b6e4996e")
	token = "<PASSWORD>" #VersacommerceAPI::Session.request_token("test-produkte.versacommerce.de")
	session = VersacommerceAPI::Session.new("test-produkte.versacommerce.de", token)
	VersacommerceAPI::Base.activate_session(session)
end
{'fraction_non_alphanumeric': 0.11483870967741935, 'fraction_numerical': 0.06064516129032258, 'mean_word_length': 8.023255813953488, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '5789464', 'n_tokens_mistral': 308, 'n_tokens_neox': 293, 'n_words': 47}