code: def get_version(self, diff_to_increase_ratio):
          
          diffs = self.get_diff_amounts()
          version = Version()
  
          for diff in diffs:
              version.increase_by_changes(diff, diff_to_increase_ratio)
  
          return version
docs: Gets version
  
          :param diff_to_increase_ratio: Ratio to convert number of changes into
          :return: Version of this code, based on commits diffs