<commit_before>longest_streak
==============

Who has the Longest Streak on GitHub?

## How to run in Development

- clone this repo
- make sure you have postgresql installed and the database server is running
- create a database.yml file with the follow contents:

    development:
      adapter: postgresql
      encoding: unicode
      database: longest_streak_development
      host: localhost
      pool: 5
      timeout: 5000

- run `rake db:create`
- run `rake db:migrate`
- create a .username file with your github username
- create a .password file with your github password
- run `rake users:populate` to start fetching ALL the github users
- run `rake streaks:populate` to start fetching streaks for ALL users
- run `rake new_streaks:populate` to start fetching streaks for new users that don't have streaks in db yet
- run `rake large_streaks:populate` to start fetching streaks for users with streaks greater than 365<commit_msg>improve markup<commit_after>longest_streak
==============

Who has the Longest Streak on GitHub?

## How to run in Development

- clone this repo
- make sure you have postgresql installed and the database server is running
- create a database.yml file with the follow contents:

  ```yaml
  development:
    adapter: postgresql
    encoding: unicode
    database: longest_streak_development
    host: localhost
    pool: 5
    timeout: 5000
  ```

- run `rake db:create`
- run `rake db:migrate`
- create a .username file with your github username
- create a .password file with your github password
- run `rake users:populate` to start fetching ALL the github users
- run `rake streaks:populate` to start fetching streaks for ALL users
- run `rake new_streaks:populate` to start fetching streaks for new users that don't have streaks in db yet
- run `rake large_streaks:populate` to start fetching streaks for users with streaks greater than 365
{'fraction_non_alphanumeric': 0.06783253842077372, 'fraction_numerical': 0.008479067302596715, 'mean_word_length': 3.968421052631579, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2288084', 'n_tokens_mistral': 552, 'n_tokens_neox': 508, 'n_words': 245}