<commit_before>module EventStore
  module Messaging
    module Controls
      module EventData
        module Read
          def self.raw_data(number=nil, time: nil, stream_name: nil, metadata: nil, type: nil, omit_metadata: nil)
            type ||= 'SomeMessage'

            EventStore::Client::HTTP::Controls::EventData::Read.raw_data(
              number,
              time: time,
              stream_name: stream_name,
              metadata: metadata,
              type: type,
              omit_metadata: omit_metadata
            )
          end

          def self.example(omit_metadata: nil)
            raw_data = raw_data(omit_metadata: omit_metadata)

            Serialize::Read.instance raw_data, Client::HTTP::EventData::Read
          end

          module Anomaly
            def self.raw_data
              Read.raw_data type: 'SomeUnknownMessage'
            end

            def self.example
              Serialize::Read.instance raw_data, Client::HTTP::EventData::Read
            end
          end
        end
      end
    end
  end
end<commit_msg>Rename raw_data control to data<commit_after>module EventStore
  module Messaging
    module Controls
      module EventData
        module Read
          def self.data(number=nil, time: nil, stream_name: nil, metadata: nil, type: nil, omit_metadata: nil)
            type ||= 'SomeMessage'

            EventStore::Client::HTTP::Controls::EventData::Read.data(
              number,
              time: time,
              stream_name: stream_name,
              metadata: metadata,
              type: type,
              omit_metadata: omit_metadata
            )
          end

          def self.example(omit_metadata: nil)
            raw_data = data(omit_metadata: omit_metadata)

            Serialize::Read.instance raw_data, Client::HTTP::EventData::Read
          end

          module Anomaly
            def self.data
              Read.data type: 'SomeUnknownMessage'
            end

            def self.example
              Serialize::Read.instance data, Client::HTTP::EventData::Read
            end
          end
        end
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.07348837209302325, 'fraction_numerical': 0.0, 'mean_word_length': 1.6588380716934488, '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': '975187', 'n_tokens_mistral': 566, 'n_tokens_neox': 539, 'n_words': 137}