<commit_before>(function(exports) {

  exports.torque = exports.torque || {};

  var TAU = Math.PI*2;
  function renderPoint(ctx, st) {
    ctx.fillStyle = st.fillStyle;
    ctx.strokStyle = st.strokStyle;
    var pixel_size = st['point-radius']
    // render a circle
    ctx.beginPath();
    ctx.arc(0, 0, pixel_size, 0, TAU, true, true);
    ctx.closePath();
    if(st.fillStyle) {
      if(st.fillOpacity) {
        ctx.globalAlpha = st.fillOpacity;
      }
      ctx.fill();
    }
    ctx.globalAlpha = 1.0;
    if(st.strokeStyle) {
      if(st.strokeOpacity) {
        ctx.globalAlpha = st.strokeOpacity;
      }
      if(st.lineWidth) {
        ctx.lineWidth = st.lineWidth;
      }
      ctx.strokeStyle = st.strokeStyle;
      ctx.stroke();
    }
  }

  function renderSprite(ctx, st) {
    var img = st['point-file'] || st['marker-file'];
    var ratio = img.height/img.width;
    var w = st['point-radius'] || img.width;
    var h = st['point-radius'] || st['marker-height'] || w*ratio;
    ctx.drawImage(img, 0, 0, w, h);
  }

  exports.torque.cartocss = exports.torque.cartocss|| {};
  exports.torque.cartocss = {
    renderPoint: renderPoint,
    renderSprite: renderSprite
  };

})(typeof exports === "undefined" ? this : exports);<commit_msg>if marker-line-width is 0 no border should be renderered fixed #16<commit_after>(function(exports) {

  exports.torque = exports.torque || {};

  var TAU = Math.PI*2;
  function renderPoint(ctx, st) {
    ctx.fillStyle = st.fillStyle;
    ctx.strokStyle = st.strokStyle;
    var pixel_size = st['point-radius'];

    // render a circle

    // fill
    ctx.beginPath();
    ctx.arc(0, 0, pixel_size, 0, TAU, true, true);
    ctx.closePath();
    if (st.fillStyle) {
      if (st.fillOpacity) {
        ctx.globalAlpha = st.fillOpacity;
      }
      ctx.fill();
    }

    // stroke
    ctx.globalAlpha = 1.0;
    if (st.strokeStyle && st.lineWidth) {
      if (st.strokeOpacity) {
        ctx.globalAlpha = st.strokeOpacity;
      }
      if (st.lineWidth) {
        ctx.lineWidth = st.lineWidth;
      }
      ctx.strokeStyle = st.strokeStyle;

      // do not render for alpha = 0
      if (ctx.globalAlpha > 0) {
        ctx.stroke();
      }
    }
  }

  function renderSprite(ctx, st) {
    var img = st['point-file'] || st['marker-file'];
    var ratio = img.height/img.width;
    var w = st['point-radius'] || img.width;
    var h = st['point-radius'] || st['marker-height'] || w*ratio;
    ctx.drawImage(img, 0, 0, w, h);
  }

  exports.torque.cartocss = exports.torque.cartocss || {};
  exports.torque.cartocss = {
    renderPoint: renderPoint,
    renderSprite: renderSprite
  };

})(typeof exports === "undefined" ? this : exports);
{'fraction_non_alphanumeric': 0.15618060695780903, 'fraction_numerical': 0.007772020725388601, 'mean_word_length': 2.496765847347995, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '1544357', 'n_tokens_mistral': 963, 'n_tokens_neox': 941, 'n_words': 188}