<commit_before>require_relative '../../../../automated_init'

context "Message" do
  context "Metadata" do
    context "Correlated" do
      context "Entity Stream Input" do
        context "Entity Correlation Stream Name" do
          metadata = Controls::Metadata.example

          metadata.correlation_stream_name = 'someStream-123'

          context "Correlation Stream Name Is the Stream Name" do
            test "Is not correlated" do
              assert(metadata.correlated?('someStream-123'))
            end
          end

          context "Correlation Stream Name Is Not the Stream Name" do
            test "Is not correlated" do
              refute(metadata.correlated?("a#{SecureRandom.hex}-123"))
            end
          end
        end
      end
    end
  end
end
<commit_msg>Test description is corrected<commit_after>require_relative '../../../../automated_init'

context "Message" do
  context "Metadata" do
    context "Correlated" do
      context "Entity Stream Input" do
        context "Entity Correlation Stream Name" do
          metadata = Controls::Metadata.example

          metadata.correlation_stream_name = 'someStream-123'

          context "Correlation Stream Name Is the Stream Name" do
            test "Is correlated" do
              assert(metadata.correlated?('someStream-123'))
            end
          end

          context "Correlation Stream Name Is Not the Stream Name" do
            test "Is not correlated" do
              refute(metadata.correlated?("a#{SecureRandom.hex}-123"))
            end
          end
        end
      end
    end
  end
end

{'fraction_non_alphanumeric': 0.08198757763975155, 'fraction_numerical': 0.011180124223602485, 'mean_word_length': 1.9888682745825603, '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': '22321', 'n_tokens_mistral': 419, 'n_tokens_neox': 394, 'n_words': 134}