<commit_before>module Vcloud
  module Core
    class Vm < Entity
      extend ComputeMetadata

      attr_reader :id

      def initialize(id, vapp)
        @id = id
        @fog_interface = Vcloud::Fog::ServiceInterface.new
        @vapp = vapp
      end

      def vcloud_attributes
        Vcloud::Fog::ServiceInterface.new.get_vapp(id)
      end

      def update_memory_size_in_mb(new_memory)
        return if new_memory.nil?<commit_msg>[#62905634] split Vm from Entity parent<commit_after>module Vcloud
  module Core
    class Vm
      extend ComputeMetadata

      attr_reader :id

      def initialize(id, vapp)
        @id = id
        @fog_interface = Vcloud::Fog::ServiceInterface.new
        @vapp = vapp
      end

      def vcloud_attributes
        Vcloud::Fog::ServiceInterface.new.get_vapp(id)
      end

      def update_memory_size_in_mb(new_memory)
        return if new_memory.nil?
{'fraction_non_alphanumeric': 0.07087486157253599, 'fraction_numerical': 0.008859357696566999, 'mean_word_length': 2.450381679389313, 'pattern_counts': {'":': 0, '<': 4, '<?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': '2932921', 'n_tokens_mistral': 297, 'n_tokens_neox': 281, 'n_words': 63}