<commit_before>class Certificate
  def self.for(consultation, options = {})
    new(consultation, options)
  end

  def initialize(consultation, options)
    @consultation = consultation
    @options = options
  end

  def build
    {
      definite_article: definite_article,
      patient_name: patient.name,
      patient_age: "#{patient.age} años",
      identity_card_number: patient.identity_card_number,
      disease: diagnosis.description,
      disease_code: diagnosis.disease_code,
      current_date: current_date,
      start_time: options.fetch(:start_time, ''),<commit_msg>Disable RuboCop's warnings for Certificate#build<commit_after>class Certificate
  def self.for(consultation, options = {})
    new(consultation, options)
  end

  def initialize(consultation, options)
    @consultation = consultation
    @options = options
  end

  # rubocop:disable MethodLength
  # rubocop:disable Metrics/AbcSize
  def build
    {
      definite_article: definite_article,
      patient_name: patient.name,
      patient_age: "#{patient.age} años",
      identity_card_number: patient.identity_card_number,
      disease: diagnosis.description,
      disease_code: diagnosis.disease_code,
      current_date: current_date,
      start_time: options.fetch(:start_time, ''),
{'fraction_non_alphanumeric': 0.08984375, 'fraction_numerical': 0.0, 'mean_word_length': 3.8893129770992365, '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': '2179484', 'n_tokens_mistral': 386, 'n_tokens_neox': 379, 'n_words': 78}