<commit_before># frozen_string_literal: true

require 'coveralls'
Coveralls.wear!

require 'bundler/setup'
require_relative '../lib/fact_loader'
require_relative '../lib/facts/linux/network_interface'

# Configure SimpleCov
SimpleCov.start do
  track_files 'lib/**/*.rb'
end

default_coverage = 10
SimpleCov.minimum_coverage ENV['COVERAGE'] || default_coverage

# Configure RSpec
RSpec.configure do |config|
  # Enable flags like --only-failures and --next-failure<commit_msg>(FACT-1953) Exclude file sin spec.<commit_after># frozen_string_literal: true

require 'coveralls'
Coveralls.wear!

require 'bundler/setup'
require_relative '../lib/fact_loader'
require_relative '../lib/facts/linux/network_interface'

# Configure SimpleCov
SimpleCov.start do
  track_files 'lib/**/*.rb'
  add_filter 'spec'
end

default_coverage = 10
SimpleCov.minimum_coverage ENV['COVERAGE'] || default_coverage

# Configure RSpec
RSpec.configure do |config|
  # Enable flags like --only-failures and --next-failure
{'fraction_non_alphanumeric': 0.11681772406847936, 'fraction_numerical': 0.008056394763343404, 'mean_word_length': 5.412903225806452, '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': '5174622', 'n_tokens_mistral': 339, 'n_tokens_neox': 325, 'n_words': 75}