<commit_before>Rack::ProcessName
=================

Set the process name to what request is currently being processed. If you're
lucky and your OS shows process name changes, you'll see something like:

15696 ttys001    0:07.04 script/rails S GET http://localhost:3000/servers/localhost/edit   

The letter before the request method means:

  * R - running
  * S - sleeping (last response was ok)
  * E - error (last response raised an exception)

Installation
============

In Rails, add to your Gemfile:

    gem 'rack-process-name'

then in application.rb or in one of config/environments/*.rb:

    config.middleware.use Rack::ProcessName

If using config.ru:

    require 'rack-process-name'
    use Rack::ProcessName
<commit_msg>the more quote blocks the better<commit_after>Rack::ProcessName
=================

Set the process name to what request is currently being processed. If you're
lucky and your OS shows process name changes, you'll see something like:

    15696 ttys001    0:07.04 script/rails S GET http://localhost:3000/servers/localhost/edit   

The letter before the request method means:

  * R - running
  * S - sleeping (last response was ok)
  * E - error (last response raised an exception)

Installation
============

In Rails, add to your Gemfile:

    gem 'rack-process-name'

then in application.rb or in one of config/environments/*.rb:

    config.middleware.use Rack::ProcessName

If using config.ru:

    require 'rack-process-name'
    use Rack::ProcessName

{'fraction_non_alphanumeric': 0.11252511721366376, 'fraction_numerical': 0.02277294038847957, 'mean_word_length': 3.8193548387096774, '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': '6898798', 'n_tokens_mistral': 461, 'n_tokens_neox': 421, 'n_words': 167}