<commit_before>module Ffprober
  module Ffmpeg
    class VersionValidator
      MIN_VERSION = Gem::Version.new("0.9.0")
      MAX_VERSION = Gem::Version.new("2.8.4")

      def initialize(ffmpeg_version)
        @ffmpeg_version = ffmpeg_version
      end

      def valid?
        ffmpeg_version.nightly? || version_requirement_statisfied?
      end

      private

      def version_requirement_statisfied?
        version = ffmpeg_version.version<commit_msg>Update acceptable ffprobe version to 2.8.5<commit_after>module Ffprober
  module Ffmpeg
    class VersionValidator
      MIN_VERSION = Gem::Version.new("0.9.0")
      MAX_VERSION = Gem::Version.new("2.8.5")

      def initialize(ffmpeg_version)
        @ffmpeg_version = ffmpeg_version
      end

      def valid?
        ffmpeg_version.nightly? || version_requirement_statisfied?
      end

      private

      def version_requirement_statisfied?
        version = ffmpeg_version.version
{'fraction_non_alphanumeric': 0.0779768177028451, 'fraction_numerical': 0.015806111696522657, 'mean_word_length': 2.861788617886179, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6706537', 'n_tokens_mistral': 307, 'n_tokens_neox': 296, 'n_words': 54}