<commit_before>function createCanvas() {
  return document.createElement('canvas');
}

function Renderer(width, height) {
  var that = this; // Ugly minification trick

  var canvas = that.c = createCanvas();
  var ctx = canvas.getContext('2d');

  that.w = canvas.width = width;
  that.h = canvas.height = height;

  __mixin(that, {
    r: function render(stage) {
      ctx.setTransform(1, 0, 0, 1, 0, 0);
      ctx.fillRect(0, 0, width, height);

      stage._t();
      that.o(stage);
    },
    o: function renderObject(object) {
      if (!object.v) {
        return;
      }

      if (object instanceof DisplayObjectContainer) {
        var children = object._c, i = 0, n = children.length;
        for (; i < n; i++) {
          that.o(children[i]);
        }

        return;
      }

      ctx.save();
      ctx.globalAlpha = object.o;<commit_msg>Remove useless fillRect<commit_after>function createCanvas() {
  return document.createElement('canvas');
}

function Renderer(width, height) {
  var that = this; // Ugly minification trick

  var canvas = that.c = createCanvas();
  var ctx = canvas.getContext('2d');

  that.w = canvas.width = width;
  that.h = canvas.height = height;

  __mixin(that, {
    r: function render(stage) {
      ctx.setTransform(1, 0, 0, 1, 0, 0);

      stage._t();
      that.o(stage);
    },
    o: function renderObject(object) {
      if (!object.v) {
        return;
      }

      if (object instanceof DisplayObjectContainer) {
        var children = object._c, i = 0, n = children.length;
        for (; i < n; i++) {
          that.o(children[i]);
        }

        return;
      }

      ctx.save();
      ctx.globalAlpha = object.o;
{'fraction_non_alphanumeric': 0.143026706231454, 'fraction_numerical': 0.010682492581602374, 'mean_word_length': 2.3058823529411763, 'pattern_counts': {'":': 0, '<': 5, '<?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': '7566034', 'n_tokens_mistral': 560, 'n_tokens_neox': 531, 'n_words': 133}