<commit_before>module Spree
  module Admin
    class OverviewController < Spree::Admin::BaseController
      def index
        @enterprises = Enterprise.managed_by(spree_current_user).order('is_distributor DESC, is_primary_producer ASC, name')
        @product_count = Spree::Product.active.managed_by(spree_current_user).count
        @order_cycle_count = OrderCycle.active.managed_by(spree_current_user).count
      end
    end
  end
end<commit_msg>Change overview controller to class_eval<commit_after>Spree::Admin::OverviewController.class_eval do
  def index
    @enterprises = Enterprise.managed_by(spree_current_user).order('is_distributor DESC, is_primary_producer ASC, name')
    @product_count = Spree::Product.active.managed_by(spree_current_user).count
    @order_cycle_count = OrderCycle.active.managed_by(spree_current_user).count
  end
end
{'fraction_non_alphanumeric': 0.08430913348946135, 'fraction_numerical': 0.0, 'mean_word_length': 5.576923076923077, 'pattern_counts': {'":': 0, '<': 4, '<?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': '7247795', 'n_tokens_mistral': 267, 'n_tokens_neox': 260, 'n_words': 42}