<commit_before># frozen_string_literal: true

require 'spec_helper'
require_relative 'test_messages'

describe Sequent::Core::Helpers::MessageMatchers::Any do
  let(:matcher) { Sequent::Core::Helpers::MessageMatchers::Any.new(**opts) }

  describe '#matches_message?' do
    subject { matcher.matches_message?(message) }<commit_msg>Fix ruby 3.2 keyword argument warning.<commit_after># frozen_string_literal: true

require 'spec_helper'
require_relative 'test_messages'

describe Sequent::Core::Helpers::MessageMatchers::Any do
  let(:matcher) { Sequent::Core::Helpers::MessageMatchers::Any.new(opts) }

  describe '#matches_message?' do
    subject { matcher.matches_message?(message) }
{'fraction_non_alphanumeric': 0.13100436681222707, 'fraction_numerical': 0.002911208151382824, 'mean_word_length': 8.297297297297296, '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': '1460157', 'n_tokens_mistral': 211, 'n_tokens_neox': 209, 'n_words': 39}