<commit_before>define([
    '../Core/defined',
    '../Core/defaultValue'
], function(
    defined,
    defaultValue) {

    /**
     * A policy for discarding tile images that contain no data (and so aren't actually images).
     *
     * @alias DiscardEmptyTileImagePolicy
     * @constructor
     *
     * @see DiscardMissingTileImagePolicy
     */
    function DiscardEmptyTileImagePolicy(options) {
    }

    /**
     * Determines if the discard policy is ready to process images.
     * @returns {Boolean} True if the discard policy is ready to process images; otherwise, false.
     */
    DiscardEmptyTileImagePolicy.prototype.isReady = function() {
        return true;
    };

    /**
     * Given a tile image, decide whether to discard that image.
     *
     * @param {Image} image An image to test.
     * @returns {Boolean} True if the image should be discarded; otherwise, false.
     */
    DiscardEmptyTileImagePolicy.prototype.shouldDiscardImage = function(image) {
        return DiscardEmptyTileImagePolicy.EMPTY_IMAGE === image;
    };

    /**
     * Default value for representing an empty image.
     */
    DiscardEmptyTileImagePolicy.EMPTY_IMAGE = {};

    return DiscardEmptyTileImagePolicy;
});
<commit_msg>fixed linter error - 'missing use strict'<commit_after>define([
    '../Core/defined',
    '../Core/defaultValue'
], function(
        defined,
        defaultValue) {
    'use strict';

    /**
     * A policy for discarding tile images that contain no data (and so aren't actually images).
     *
     * @alias DiscardEmptyTileImagePolicy
     * @constructor
     *
     * @see DiscardMissingTileImagePolicy
     */
    function DiscardEmptyTileImagePolicy(options) {
    }

    /**
     * Determines if the discard policy is ready to process images.
     * @returns {Boolean} True if the discard policy is ready to process images; otherwise, false.
     */
    DiscardEmptyTileImagePolicy.prototype.isReady = function() {
        return true;
    };

    /**
     * Given a tile image, decide whether to discard that image.
     *
     * @param {Image} image An image to test.
     * @returns {Boolean} True if the image should be discarded; otherwise, false.
     */
    DiscardEmptyTileImagePolicy.prototype.shouldDiscardImage = function(image) {
        return DiscardEmptyTileImagePolicy.EMPTY_IMAGE === image;
    };

    /**
     * Default value for representing an empty image.
     */
    DiscardEmptyTileImagePolicy.EMPTY_IMAGE = {};

    return DiscardEmptyTileImagePolicy;
});

{'fraction_non_alphanumeric': 0.09651898734177215, 'fraction_numerical': 0.0, 'mean_word_length': 2.675872093023256, 'pattern_counts': {'":': 0, '<': 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': '4218425', 'n_tokens_mistral': 692, 'n_tokens_neox': 677, 'n_words': 205}