<commit_before># coding: utf-8

module ActiveInteraction
  # @abstract Include and override {#execute} to implement a custom Runnable
  #   class.
  #
  # @note Must be included after `ActiveModel::Validations`.
  #
  # Runs code in transactions and only provides the result if there are no
  #   validation errors.
  #
  # @private
  module Runnable
    extend ActiveSupport::Concern
    include ActiveModel::Validations
    include ActiveInteraction::Transactable<commit_msg>updating doc to reflect that a result is always returned<commit_after># coding: utf-8

module ActiveInteraction
  # @abstract Include and override {#execute} to implement a custom Runnable
  #   class.
  #
  # @note Must be included after `ActiveModel::Validations`.
  #
  # Runs code in transactions and provides the result.
  #
  # @private
  module Runnable
    extend ActiveSupport::Concern
    include ActiveModel::Validations
    include ActiveInteraction::Transactable
{'fraction_non_alphanumeric': 0.0703781512605042, 'fraction_numerical': 0.0021008403361344537, 'mean_word_length': 4.069148936170213, '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': '5385097', 'n_tokens_mistral': 266, 'n_tokens_neox': 255, 'n_words': 93}