<commit_before>require 'backports/2.1.0/enumerable/to_h'
require_relative 'has_tracker'

module DeepCover
  class AstRoot
    include HasTracker

    has_tracker :root
    attr_reader :file_coverage, :nb

    def initialize(file_coverage)
      @file_coverage = file_coverage
      super()
    end

    def child_flow_entry_count(_child)
      root_tracker_hits
    end

    def child_prefix(_child)
      "((#{root_tracker_source};"
    end

    def child_suffix(_child)
      "))"<commit_msg>- AstRoot#nb<commit_after>require 'backports/2.1.0/enumerable/to_h'
require_relative 'has_tracker'

module DeepCover
  class AstRoot
    include HasTracker

    has_tracker :root
    attr_reader :file_coverage

    def initialize(file_coverage)
      @file_coverage = file_coverage
      super()
    end

    def child_flow_entry_count(_child)
      root_tracker_hits
    end

    def child_prefix(_child)
      "((#{root_tracker_source};"
    end

    def child_suffix(_child)
      "))"
{'fraction_non_alphanumeric': 0.0814663951120163, 'fraction_numerical': 0.006109979633401222, 'mean_word_length': 3.2370689655172415, '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': '486654', 'n_tokens_mistral': 348, 'n_tokens_neox': 330, 'n_words': 62}