<commit_before># frozen_string_literal: true

module Mastodon
  module Version
    module_function

    def major
      2
    end

    def minor
      1
    end

    def patch
      0
    end

    def pre
      'rc3'
    end

    def flags
      ''
    end

    def to_a
      [major, minor, patch, pre].compact
    end

    def to_s
      [to_a.join('.'), flags].join
    end

    def source_base_url
      'https://github.com/tootsuite/mastodon'
    end

    # specify git tag or commit hash here
    def source_tag
      nil
    end

    def source_url
      if source_tag
        "#{source_base_url}/tree/#{source_tag}"
      else<commit_msg>Bump version to 2.1.0rc4<commit_after># frozen_string_literal: true

module Mastodon
  module Version
    module_function

    def major
      2
    end

    def minor
      1
    end

    def patch
      0
    end

    def pre
      'rc4'
    end

    def flags
      ''
    end

    def to_a
      [major, minor, patch, pre].compact
    end

    def to_s
      [to_a.join('.'), flags].join
    end

    def source_base_url
      'https://github.com/tootsuite/mastodon'
    end

    # specify git tag or commit hash here
    def source_tag
      nil
    end

    def source_url
      if source_tag
        "#{source_base_url}/tree/#{source_tag}"
      else
{'fraction_non_alphanumeric': 0.06907137375287797, 'fraction_numerical': 0.00920951650038373, 'mean_word_length': 1.6504065040650406, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '7355737', 'n_tokens_mistral': 460, 'n_tokens_neox': 434, 'n_words': 122}