<commit_before>{
    "api": {
        "host": "api.github.com",
        "protocol": "https",
        "version": "3.0.0"
    },

    "default_branch": "master",

    "default_remote": "origin",

    "default_pr_forwarder": "",

    "default_pr_reviewer": "",

    "git_command": "git",

    "github_token": "",

    "github_user": "",

    "hooks": {
        "issue": {
            "close": {
                "before": [],
                "after": []
            },
            "new": {
                "before": [],
                "after": [
                    "gh is --browser --user {{options.user}} --repo {{options.repo}} --number {{options.number}}"
                ]
            },
            "open": {
                "before": [],
                "after": []
            }
        },
        "pull-request": {
            "close": {
                "before": [],
                "after": []
            },
            "fetch": {
                "before": [],
                "after": [
                    "gh pr {{options.number}} --user {{options.user}} --comment 'Just started reviewing :)'"
                ]
            },
            "fwd": {
                "before": [],
                "after": [
                    "gh pr {{options.submittedPullNumber}} --user {{options.fwd}} --comment '/cc @{{options.submittedUser}}'",
                    "gh pr {{options.number}} --user {{options.user}} --comment 'Pull request forwarded to {{forwardedLink}}.{{#if options.changes}} [See changes here.]({{compareLink}}){{/if}}'",
                    "gh pr {{options.number}} --close"
                ]
            },
            "merge": {
                "before": [],
                "after": [
                    "gh pr {{options.number}} --user {{options.user}} --comment 'Thank you, pull request merged!{{#if options.changes}} [See changes here.]({{compareLink}}){{/if}}'"
                ]
            },
            "open": {
                "before": [],
                "after": []
            },
            "submit": {
                "before": [],
                "after": [
                    "{{#if options.number}}gh pr {{options.number}} --user {{options.user}} --comment 'Pull request submitted to {{submittedLink}}.{{#if options.changes}} [See changes here.]({{compareLink}}){{/if}}'{{/if}}",
                    "gh pr --browser --user {{options.submit}} --repo {{options.repo}} --number {{options.submittedPull}}",
                    "{{#if options.number}}gh pr --user {{options.user}} {{options.number}} --close{{/if}}"
                ]
            }
        },
        "repo": {
            "delete": {
                "before": [],
                "after": []
            },
            "fork": {
                "before": [],
                "after": []
            },
            "new": {
                "before": [],
                "after": [<commit_msg>Fix situation where hooks would create comments / close pull requests for the wrong repo.<commit_after>{
    "api": {
        "host": "api.github.com",
        "protocol": "https",
        "version": "3.0.0"
    },

    "default_branch": "master",

    "default_remote": "origin",

    "default_pr_forwarder": "",

    "default_pr_reviewer": "",

    "git_command": "git",

    "github_token": "",

    "github_user": "",

    "hooks": {
        "issue": {
            "close": {
                "before": [],
                "after": []
            },
            "new": {
                "before": [],
                "after": [
                    "gh is --browser --user {{options.user}} --repo {{options.repo}} --number {{options.number}}"
                ]
            },
            "open": {
                "before": [],
                "after": []
            }
        },
        "pull-request": {
            "close": {
                "before": [],
                "after": []
            },
            "fetch": {
                "before": [],
                "after": [
                    "gh pr {{options.number}} --user {{options.user}} --repo {{options.repo}} --comment 'Just started reviewing :)'"
                ]
            },
            "fwd": {
                "before": [],
                "after": [
                    "gh pr {{options.submittedPullNumber}} --user {{options.fwd}} --comment '/cc @{{options.submittedUser}}'",
                    "gh pr {{options.number}} --user {{options.user}} --repo {{options.repo}} --comment 'Pull request forwarded to {{forwardedLink}}.{{#if options.changes}} [See changes here.]({{compareLink}}){{/if}}'",
                    "gh pr {{options.number}} --close"
                ]
            },
            "merge": {
                "before": [],
                "after": [
                    "gh pr {{options.number}} --user {{options.user}} --repo {{options.repo}} --comment 'Thank you, pull request merged!{{#if options.changes}} [See changes here.]({{compareLink}}){{/if}}'"
                ]
            },
            "open": {
                "before": [],
                "after": []
            },
            "submit": {
                "before": [],
                "after": [
                    "{{#if options.number}}gh pr {{options.number}} --user {{options.user}} --repo {{options.repo}} --comment 'Pull request submitted to {{submittedLink}}.{{#if options.changes}} [See changes here.]({{compareLink}}){{/if}}'{{/if}}",
                    "gh pr --browser --user {{options.submit}} --repo {{options.repo}} --number {{options.submittedPull}}",
                    "{{#if options.number}}gh pr --user {{options.user}} --repo {{options.repo}} {{options.number}} --close{{/if}}"
                ]
            }
        },
        "repo": {
            "delete": {
                "before": [],
                "after": []
            },
            "fork": {
                "before": [],
                "after": []
            },
            "new": {
                "before": [],
                "after": [
{'fraction_non_alphanumeric': 0.1947596795727637, 'fraction_numerical': 0.0010013351134846463, 'mean_word_length': 1.2196296296296296, 'pattern_counts': {'":': 102, '<': 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': '7495043', 'n_tokens_mistral': 1646, 'n_tokens_neox': 1528, 'n_words': 323}