<commit_before># Message

    var gcm = require("gcm");

A message contains the data that is sent to the Android device.
It is constructed with an options object, which can contain any of the given keys.
All of the keys are optional.
If no object is passed, it is the same as passing no keys.

See the [GCM server reference](https://developer.android.com/google/gcm/server-ref.html#table1) for details on some of the options.

 - `collapseKey` identifies a group of messages that can be collapsed.
   If you send several notifications with the same notification key to a device that is offline, it will only show the most recent when it comes back online.
 - When `delayWhileIdle` is set to `true`, it indicates that the message shuold not be sent until the device becomes active.
 - `time_to_live` specifies how long (in seconds) the message should be kept in GCM storage if the device is offline.
   The maximum time to live supported is 4 weeks (which is also the default).
 - `dry_run` indicates whether or not this is a test request.
   If it is set to `true` the server responds as it would, but the message is not actually sent.
 - `data` contains the JSON payload received by the app.

    /* No keys set */
    var msg = new gcm.Message();

    /* All keys set */
    var msg = new gcm.Message({
      collapseKey: "new_message",
      delayWhileIdle: true,
      timeToLive: 5 * 60 * 60 * 24, // 5 days
      dryRun: true,
      data: {
        displayString: "Hello, world."
      }
    });

The options have to be set on creation, but the payload of the message can be modified later.
There are two ways to add data.
Either key-value, where the key is added (or overwritten) with the given value; or a full-object override.
If you set a whole object, it will replace the current payload.
<commit_msg>Fixed shuold->should<commit_after># Message

    var gcm = require("gcm");

A message contains the data that is sent to the Android device.
It is constructed with an options object, which can contain any of the given keys.
All of the keys are optional.
If no object is passed, it is the same as passing no keys.

See the [GCM server reference](https://developer.android.com/google/gcm/server-ref.html#table1) for details on some of the options.

 - `collapseKey` identifies a group of messages that can be collapsed.
   If you send several notifications with the same notification key to a device that is offline, it will only show the most recent when it comes back online.
 - When `delayWhileIdle` is set to `true`, it indicates that the message should not be sent until the device becomes active.
 - `time_to_live` specifies how long (in seconds) the message should be kept in GCM storage if the device is offline.
   The maximum time to live supported is 4 weeks (which is also the default).
 - `dry_run` indicates whether or not this is a test request.
   If it is set to `true` the server responds as it would, but the message is not actually sent.
 - `data` contains the JSON payload received by the app.

    /* No keys set */
    var msg = new gcm.Message();

    /* All keys set */
    var msg = new gcm.Message({
      collapseKey: "new_message",
      delayWhileIdle: true,
      timeToLive: 5 * 60 * 60 * 24, // 5 days
      dryRun: true,
      data: {
        displayString: "Hello, world."
      }
    });

The options have to be set on creation, but the payload of the message can be modified later.
There are two ways to add data.
Either key-value, where the key is added (or overwritten) with the given value; or a full-object override.
If you set a whole object, it will replace the current payload.

{'fraction_non_alphanumeric': 0.06719911870008262, 'fraction_numerical': 0.00550812448361333, 'mean_word_length': 3.23803967327888, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 2, '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': '2607197', 'n_tokens_mistral': 1004, 'n_tokens_neox': 959, 'n_words': 555}