<commit_before>{
  "name": "GitHub Issues",
  "url": "https://github.com",
  "actions": {
    "create": "Create a GitHub issue",
    "view": "View on Github"
  },
  "supportedTriggers": ["firstException", "unresolved"],
  "type": "issueTracker",
  "fields": [
    {
      "name": "oauthToken",
      "label": "Access Token",
      "description": "Your GitHub access token",
      "link": "https://github.com/settings/tokens/new"
    },
    {
      "name": "repo",
      "label": "Repository",
      "description": "Which GitHub repository to create the issue on, eg rails/rails"
    },
    {
      "name": "labels",
      "label": "Labels (comma separated)",
      "description": "Comma separated list of labels to apply to the issue.",
      "optional": true,
      "defaultValue": "bugsnag"
    }
  ]
}<commit_msg>Some sensible regexes for github fields<commit_after>{
  "name": "GitHub Issues",
  "url": "https://github.com",
  "actions": {
    "create": "Create a GitHub issue",
    "view": "View on Github"
  },
  "supportedTriggers": ["firstException", "unresolved"],
  "type": "issueTracker",
  "fields": [
    {
      "name": "oauthToken",
      "label": "Access Token",
      "description": "Your GitHub access token (40 characters)",
      "pattern": "[0-9a-f]{40}",
      "link": "https://github.com/settings/tokens/new"
    },
    {
      "name": "repo",
      "label": "Repository (eg. rails/rails)",
      "pattern": "[\\w-]+/[\\w-]+",
      "description": "Which GitHub repository to create the issue on, eg rails/rails"
    },
    {
      "name": "labels",
      "label": "Labels (comma separated)",
      "description": "Comma separated list of labels to apply to the issue.",
      "optional": true,
      "defaultValue": "bugsnag"
    }
  ]
}
{'fraction_non_alphanumeric': 0.18796138557637707, 'fraction_numerical': 0.0034071550255536627, 'mean_word_length': 2.838779956427015, 'pattern_counts': {'":': 42, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '7370670', 'n_tokens_mistral': 575, 'n_tokens_neox': 555, 'n_words': 153}