<commit_before>require 'formatted_text_entry'
require 'formatted_text_box_entry'

module ResumeGenerator
  class Header

    attr_reader :pdf, :data

    def self.generate(pdf, data)
      new(pdf, data).generate
    end

    def initialize(pdf, data)
      @pdf = pdf
      @data = data<commit_msg>Add comment indicating reasoning for dynamic module inclusion<commit_after>require 'formatted_text_entry'
require 'formatted_text_box_entry'

module ResumeGenerator
  class Header

    attr_reader :pdf, :data

    def self.generate(pdf, data)
      new(pdf, data).generate
    end

    def initialize(pdf, data)
      @pdf = pdf
      @data = data
      # Different rendering behaviour needed depending on whether the header is
      # being drawn from left to right on the page or specifically placed at
      # a location
{'fraction_non_alphanumeric': 0.06447688564476886, 'fraction_numerical': 0.0, 'mean_word_length': 3.377659574468085, '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': '4714474', 'n_tokens_mistral': 234, 'n_tokens_neox': 227, 'n_words': 79}