<commit_before><div id="search-help" class="modal" role="dialog">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Search Cheat Sheet</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
      </div>
      <div class="modal-body">
        <p>
          Examples of some common searches using supported prefixes. Combine them together and with free text searches, for example:
          "<code>github enterprise type:issue owner:octobox reason:assign</code>"
        </p>

        </p>
        <h5>Supported prefixes</h5>
        <table class="table">
          <tbody>
            <tr>
              <td>
                <code>repo:octobox/octobox</code>
              </td>
              <td>Only search notifications from the octobox/octobox repository.</td>
            </tr>
            <tr>
              <td>
                <code>owner:microsoft</code>
              </td>
              <td>Only search notifications from repos in the microsoft organisation.</td>
            </tr>
            <tr>
              <td>
                <code>type:pull_request</code>
              </td>
              <td>
                Only search pull requests. Also accepts:
                <code>issue</code>,
                <code>release</code>,
                <code>commit</code>,
                <code>repository_invitation</code>
                and <code>repository_vulnerability_alert</code>.
              </td>
            </tr>
            <tr>
              <td>
                <code>reason:mention</code>
              </td>
              <td>
                Filter by reason the notification was triggered. Also accepts:
                <code>comment</code>,
                <code>author</code>,
                <code>state_change</code>,
                <code>assign</code>,
                <code>subscribed</code>,
                <code>team_mention</code>,
                <code>security_alert</code>.
              </td>
            </tr>
            <tr>
              <td>
                <code>starred:true</code>
              </td>
              <td>Search notifications that you've starred. Also accepts false for the inverse.</td>
            </tr>
            <tr>
              <td>
                <code>archived:true</code>
              </td>
              <td>Search notifications that you've archived. Also accepts false for the inverse.</td>
            </tr>
            <tr>
              <td>
                <code>unread:true</code>
              </td>
              <td>Search unread notifications.  Also accepts false for the inverse.</td>
            </tr>

            <% if Octobox.config.fetch_subject %>
              <tr>
                <td>
                  <code>state:open</code>
                </td>
                <td>
                  Filter by notifications from issues or pull requests that are open.
                  Also accepts <code>closed</code> and <code>merged</code>.
                </td>
              </tr>
              <tr>
                <td>
                  <code>label:bug</code>
                </td>
                <td>Filter by notifications from issues or pull requests with the label of '<code>bug</code>'.</td>
              </tr>
              <tr>
                <td>
                  <code>author:andrew</code>
                </td>
                <td>Filter by notifications from issue or pull requests that were created by '<code>andrew</code>'.</td>
              </tr><commit_msg>Avoid using fetch_subject config method directly in views<commit_after><div id="search-help" class="modal" role="dialog">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Search Cheat Sheet</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
      </div>
      <div class="modal-body">
        <p>
          Examples of some common searches using supported prefixes. Combine them together and with free text searches, for example:
          "<code>github enterprise type:issue owner:octobox reason:assign</code>"
        </p>

        </p>
        <h5>Supported prefixes</h5>
        <table class="table">
          <tbody>
            <tr>
              <td>
                <code>repo:octobox/octobox</code>
              </td>
              <td>Only search notifications from the octobox/octobox repository.</td>
            </tr>
            <tr>
              <td>
                <code>owner:microsoft</code>
              </td>
              <td>Only search notifications from repos in the microsoft organisation.</td>
            </tr>
            <tr>
              <td>
                <code>type:pull_request</code>
              </td>
              <td>
                Only search pull requests. Also accepts:
                <code>issue</code>,
                <code>release</code>,
                <code>commit</code>,
                <code>repository_invitation</code>
                and <code>repository_vulnerability_alert</code>.
              </td>
            </tr>
            <tr>
              <td>
                <code>reason:mention</code>
              </td>
              <td>
                Filter by reason the notification was triggered. Also accepts:
                <code>comment</code>,
                <code>author</code>,
                <code>state_change</code>,
                <code>assign</code>,
                <code>subscribed</code>,
                <code>team_mention</code>,
                <code>security_alert</code>.
              </td>
            </tr>
            <tr>
              <td>
                <code>starred:true</code>
              </td>
              <td>Search notifications that you've starred. Also accepts false for the inverse.</td>
            </tr>
            <tr>
              <td>
                <code>archived:true</code>
              </td>
              <td>Search notifications that you've archived. Also accepts false for the inverse.</td>
            </tr>
            <tr>
              <td>
                <code>unread:true</code>
              </td>
              <td>Search unread notifications.  Also accepts false for the inverse.</td>
            </tr>

            <% if display_subject? %>
              <tr>
                <td>
                  <code>state:open</code>
                </td>
                <td>
                  Filter by notifications from issues or pull requests that are open.
                  Also accepts <code>closed</code> and <code>merged</code>.
                </td>
              </tr>
              <tr>
                <td>
                  <code>label:bug</code>
                </td>
                <td>Filter by notifications from issues or pull requests with the label of '<code>bug</code>'.</td>
              </tr>
              <tr>
                <td>
                  <code>author:andrew</code>
                </td>
                <td>Filter by notifications from issue or pull requests that were created by '<code>andrew</code>'.</td>
              </tr>
{'fraction_non_alphanumeric': 0.12207403375068046, 'fraction_numerical': 0.0010887316276537834, 'mean_word_length': 1.2752321981424148, 'pattern_counts': {'":': 0, '<': 271, '<?xml version=': 0, '>': 271, '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': '7650345', 'n_tokens_mistral': 1975, 'n_tokens_neox': 1847, 'n_words': 468}