<commit_before>/*============================================
 * A comet that has one gravitational source.
 *============================================*/
class Comet {

  setDest(point, mass) {
    this.dest = point;
    this.destMass = mass;
  }

  wrap() {
    if (this.pos.x < 0) {this.justWrapped = true; this.pos.x = this.wrapBounds[0]}       // LEFT EDGE
    else if (this.pos.x > this.wrapBounds[0]) {this.justWrapped = true; this.pos.x = 0}  // RIGHT EDGE
    if (this.pos.y < 0) {this.justWrapped = true; this.pos.y = this.wrapBounds[1]}      // TOP EDGE
    else if (this.pos.y > this.wrapBounds[1]) {this.justWrapped = true; this.pos.y = 0} // BOTTOM EDGE
  }

  onFrame(event) {
    var self = this,<commit_msg>Adding maximum frame time delta.<commit_after>/*============================================
 * A comet that has one gravitational source.
 *============================================*/
class Comet {

  setDest(point, mass) {
    this.dest = point;
    this.destMass = mass;
  }

  wrap() {
    if (this.pos.x < 0) {this.justWrapped = true; this.pos.x = this.wrapBounds[0]}       // LEFT EDGE
    else if (this.pos.x > this.wrapBounds[0]) {this.justWrapped = true; this.pos.x = 0}  // RIGHT EDGE
    if (this.pos.y < 0) {this.justWrapped = true; this.pos.y = this.wrapBounds[1]}      // TOP EDGE
    else if (this.pos.y > this.wrapBounds[1]) {this.justWrapped = true; this.pos.y = 0} // BOTTOM EDGE
  }

  onFrame(event) {
    if (event.delta > 0.2) return;

    var self = this,
{'fraction_non_alphanumeric': 0.2581287325812873, 'fraction_numerical': 0.011944260119442602, 'mean_word_length': 3.053763440860215, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, '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': '6420819', 'n_tokens_mistral': 536, 'n_tokens_neox': 504, 'n_words': 125}