<commit_before><commit_msg>Transient metadata properties<commit_after>require_relative '../../../automated_init'

context "Message" do
  context "Transform" do
    context "Transient Metadata Properties Not Written"
  end
end
__END__
      message = Controls::Message.example

      metadata = message.metadata

      metadata.class.attribute_names.each do |metadata_attribute|
        message.metadata.send("#{metadata_attribute}=", nil)
      end

      metadata.properties = Array.new

      message_data = Transform::Write.(message, :message_data)

      detail "Transformed MessageData: #{message_data.pretty_inspect}"
      detail "Message Metadata: #{metadata.pretty_inspect}"

      context "Metadata" do
        metadata = message_data.metadata

        test "MessageData metadata has no fields" do
          assert(message_data.metadata.keys.empty?)
        end
      end
    end
  end
end

{'fraction_non_alphanumeric': 0.09111111111111111, 'fraction_numerical': 0.0, 'mean_word_length': 3.1906976744186046, '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': '422974', 'n_tokens_mistral': 246, 'n_tokens_neox': 235, 'n_words': 60}