<commit_before>module Fog
  module Compute
    class Google

      class Mock

        def set_metadata(instance, zone, metadata={})
          Fog::Mock.not_implemented
        end

      end

      class Real

        def set_metadata(instance, zone, metadata={})
          api_method = @compute.instance.set_metadata
          parameters = {
            'project' => @project,
            'instance' => instance,
            'zone' => zone,
          }
          body_object = {
            "items" => metadata.to_a.map {|pair| { :key => pair[0], :value => pair[1] } }
          }
          result = self.build_result(
            api_method,
            parameters,
            body_object=body_object)
          p result
          response = self.build_response(result)
        end

      end

    end
  end
end<commit_msg>whoops.<commit_after>module Fog
  module Compute
    class Google

      class Mock

        def set_metadata(instance, zone, metadata={})
          Fog::Mock.not_implemented
        end

      end

      class Real

        def set_metadata(instance, zone, metadata={})
          api_method = @compute.instance.set_metadata
          parameters = {
            'project' => @project,
            'instance' => instance,
            'zone' => zone,
          }
          body_object = {
            "items" => metadata.to_a.map {|pair| { :key => pair[0], :value => pair[1] } }
          }
          result = self.build_result(
            api_method,
            parameters,
            body_object=body_object)
          response = self.build_response(result)
        end

      end

    end
  end
end
{'fraction_non_alphanumeric': 0.09883364027010436, 'fraction_numerical': 0.0024554941682013503, 'mean_word_length': 1.546875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '2972099', 'n_tokens_mistral': 460, 'n_tokens_neox': 443, 'n_words': 101}