<commit_before>class HooksController < ApplicationController

  no_login_required

  def initialize
    @example_github_payload = <<-EOS
      {
        "before": "5aef35982fb2d34e9d9d4502f6ede1072793222d",
        "repository": {
          "url": "http://github.com/defunkt/github",
          "name": "github",
          "description": "You're lookin' at it.",
          "watchers": 5,
          "forks": 2,<commit_msg>disable CSRF protection in HooksController<commit_after>class HooksController < ApplicationController

  no_login_required
  skip_before_filter :verify_authenticity_token

  def initialize
    @example_github_payload = <<-EOS
      {
        "before": "5aef35982fb2d34e9d9d4502f6ede1072793222d",
        "repository": {
          "url": "http://github.com/defunkt/github",
          "name": "github",
          "description": "You're lookin' at it.",
          "watchers": 5,
          "forks": 2,
{'fraction_non_alphanumeric': 0.12104689203925845, 'fraction_numerical': 0.061068702290076333, 'mean_word_length': 2.809128630705394, 'pattern_counts': {'":': 14, '<': 9, '<?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': '6419956', 'n_tokens_mistral': 328, 'n_tokens_neox': 292, 'n_words': 53}