<commit_before>module World
  module Problems::Note
    module Domain
      # @section helpers
      #
      def problem_note_for(patient)
        patient.problems.last!
      end

      # @section commands
      #
      def record_problem_note_for(problem:, user:)
        problem.notes.create(
          description: "outcome",
          by: user
        )
      end

      def problem_drug_selector
        nil
      end

      # @section expectations
      #
      def expect_problem_note_to_be_recorded(problem:)
        note = problem.notes.last

        expect(note).to be_present
      end
    end

    module Web
      include Domain

      # @section commands
      #<commit_msg>Not used<commit_after>module World
  module Problems::Note
    module Domain
      # @section helpers
      #
      def problem_note_for(patient)
        patient.problems.last!
      end

      # @section commands
      #
      def record_problem_note_for(problem:, user:)
        problem.notes.create(
          description: "outcome",
          by: user
        )
      end

      # @section expectations
      #
      def expect_problem_note_to_be_recorded(problem:)
        note = problem.notes.last

        expect(note).to be_present
      end
    end

    module Web
      include Domain

      # @section commands
      #
{'fraction_non_alphanumeric': 0.06828528072837632, 'fraction_numerical': 0.0, 'mean_word_length': 1.776842105263158, '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': '6802250', 'n_tokens_mistral': 398, 'n_tokens_neox': 361, 'n_words': 83}