<commit_before>module Ironfan
  class Broker

    class Drive < Builder
      field :node,              Hash,           :default => {}
      field :disk,              Ironfan::Provider::Resource
      field :volume,            Ironfan::Dsl::Volume

      field :name,              String

      # A drive should include volume attributes in any node references
      def node()
        result = super.stringify_keys
        result.merge! volume.compact_attributes.stringify_keys unless volume.nil?
        result
      end

    end

  end
end<commit_msg>whoops. actually want attributes, not compact_attributes.<commit_after>module Ironfan
  class Broker

    class Drive < Builder
      field :node,              Hash,           :default => {}
      field :disk,              Ironfan::Provider::Resource
      field :volume,            Ironfan::Dsl::Volume

      field :name,              String

      # A drive should include volume attributes in any node references
      def node()
        result = super.stringify_keys
        result.merge! volume.attributes.stringify_keys unless volume.nil?
        result
      end

    end

  end
end
{'fraction_non_alphanumeric': 0.0673076923076923, 'fraction_numerical': 0.0, 'mean_word_length': 1.8768844221105527, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7120648', 'n_tokens_mistral': 284, 'n_tokens_neox': 272, 'n_words': 90}