<commit_before>import Ember from 'ember';

var DO_NOT_SET = Object.create(null);

/**
 * Handles updating a property given the name of the source property using a delayed method from
 * `Ember.run` (`throttle`, `debounce`, `later`).
 *
 * @mixin WithDelayedPropertyMixin
 */
var WithDelayedPropertyMixin = Ember.Mixin.create({
  /**
   * The name of the property to use as source value
   * @property delayedPropertyName
   * @type String
   */
  delayedPropertyName:        Ember.required(),
  /**
   * The name of the property to use as destination (computed value from source using the
   * `delayedPropertyFunction` will be set to this property)
   * @property delayedPropertyDestination
   * @type String
   */
  delayedPropertyDestination: Ember.required(),
  /**
   * The delay to use with the `Ember.run.*` method
   * @property delayedPropertyDelay
   * @type Number
   */
  delayedPropertyDelay:       500,
  /**
   * The method to delay the computed value of destination (`throttle`, `debounce`, `later`)
   * @property delayedPropertyMethod
   * @type String
   */
  delayedPropertyMethod:      'throttle',
  /**
   * The value to be used when computing the value of the destination fails.
   * Using `WithDelayedPropertyMixin.DO_NOT_SET` will result in not setting the destination property
   * @property delayedPropertyErrorValue
   * @type *
   */
  delayedPropertyErrorValue:  DO_NOT_SET,
  /**<commit_msg>Removes `Ember.required` (It is deprecated)<commit_after>import Ember from 'ember';

var DO_NOT_SET = Object.create(null);

/**
 * Handles updating a property given the name of the source property using a delayed method from
 * `Ember.run` (`throttle`, `debounce`, `later`).
 *
 * @mixin WithDelayedPropertyMixin
 */
var WithDelayedPropertyMixin = Ember.Mixin.create({
  /**
   * The name of the property to use as source value
   * @property delayedPropertyName
   * @type String
   */
  delayedPropertyName:        null,
  /**
   * The name of the property to use as destination (computed value from source using the
   * `delayedPropertyFunction` will be set to this property)
   * @property delayedPropertyDestination
   * @type String
   */
  delayedPropertyDestination: null,
  /**
   * The delay to use with the `Ember.run.*` method
   * @property delayedPropertyDelay
   * @type Number
   */
  delayedPropertyDelay:       500,
  /**
   * The method to delay the computed value of destination (`throttle`, `debounce`, `later`)
   * @property delayedPropertyMethod
   * @type String
   */
  delayedPropertyMethod:      'throttle',
  /**
   * The value to be used when computing the value of the destination fails.
   * Using `WithDelayedPropertyMixin.DO_NOT_SET` will result in not setting the destination property
   * @property delayedPropertyErrorValue
   * @type *
   */
  delayedPropertyErrorValue:  DO_NOT_SET,
  /**
{'fraction_non_alphanumeric': 0.09578947368421052, 'fraction_numerical': 0.002105263157894737, 'mean_word_length': 3.5689102564102564, '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': '7643181', 'n_tokens_mistral': 824, 'n_tokens_neox': 821, 'n_words': 276}