<commit_before>module ControllerActionHUD
  module Widget
    class << self

      def css
        <<-EOF
        <style type="text/css">
          div#controller_action_hud {
            position: absolute;
            bottom: 0;
            right: 0;
            background-color: black;
            color: white;
            z-index: 999;
            padding: 4px 6px;
            font: normal bold 12px/12px Arial, sans-serif;
            cursor: pointer;
          }
        </style>
        EOF
      end

      def html(controller_name, action_name)
        <<-EOF
        <div id="controller_action_hud" onclick="this.parentNode.removeChild(this);">
          #{controller_name}##{action_name}
        </div>
        EOF
      end

    end

    module Helper<commit_msg>Use fixed positioning, not absolute<commit_after>module ControllerActionHUD
  module Widget
    class << self

      def css
        <<-EOF
        <style type="text/css">
          div#controller_action_hud {
            position: fixed;
            bottom: 0;
            right: 0;
            background-color: black;
            color: white;
            z-index: 999;
            padding: 4px 6px;
            font: normal bold 12px/12px Arial, sans-serif;
            cursor: pointer;
          }
        </style>
        EOF
      end

      def html(controller_name, action_name)
        <<-EOF
        <div id="controller_action_hud" onclick="this.parentNode.removeChild(this);">
          #{controller_name}##{action_name}
        </div>
        EOF
      end

    end

    module Helper
{'fraction_non_alphanumeric': 0.09206349206349207, 'fraction_numerical': 0.013968253968253968, 'mean_word_length': 1.5296950240770466, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 11, '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': '652213', 'n_tokens_mistral': 469, 'n_tokens_neox': 439, 'n_words': 107}