<commit_before>Score = (I={}) ->
  Object.reverseMerge I,
    duration: 40
    font: 'VT'
    points: 500
    alpha: 1

  self = GameObject(I)

  self.bind "update", ->
    I.y -= 1
    I.alpha = 1 - (I.age / I.duration)

  self.unbind "draw"
  self.bind "afterTransform", (canvas) ->
    canvas.font('20px VT323')
    canvas.drawText
      color: "rgba(0, 0, 0, #{I.alpha})"
      x: I.x + 1
      y: I.y + 1
      text: I.points    

    canvas.drawText
      color: "rgba(255, 255, 255, #{I.alpha})"
      x: I.x
      y: I.y
      text: I.points

  return self
<commit_msg>Modified in browser at pixie.strd6.com<commit_after>Score = (I={}) ->
  Object.reverseMerge I,
    duration: 40
    font: 'VT323'
    points: 500
    alpha: 1

  self = GameObject(I)

  self.bind "update", ->
    I.y -= 1
    I.alpha = 1 - (I.age / I.duration)

  self.unbind "draw"
  self.bind "afterTransform", (canvas) ->
    canvas.font('20px VT323')
    canvas.drawText
      color: "rgba(0, 0, 0, #{I.alpha})"
      x: I.x + 1
      y: I.y + 1
      text: I.points    

    canvas.drawText
      color: "rgba(255, 255, 255, #{I.alpha})"
      x: I.x
      y: I.y
      text: I.points

  return self

{'fraction_non_alphanumeric': 0.16243654822335024, 'fraction_numerical': 0.049069373942470386, 'mean_word_length': 1.935483870967742, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '457212', 'n_tokens_mistral': 520, 'n_tokens_neox': 460, 'n_words': 118}