<commit_before>// Peity jQuery plugin version 1.1.2
// (c) 2013 <NAME>
//
// http://benpickles.github.com/peity
//
// Released under MIT license.
(function($, document, Math, devicePixelRatio) {
  var canvasSupported = document.createElement("canvas").getContext

  var peity = $.fn.peity = function(type, options) {
    if (canvasSupported) {
      this.each(function() {
        var $this = $(this)
        var chart = $this.data("peity")

        if (chart) {
          chart.type = type
          $.extend(chart.opts, options)
          chart.draw()
        } else {<commit_msg>Don't require specifying a type for subsequent calls to peity.<commit_after>// Peity jQuery plugin version 1.1.2
// (c) 2013 <NAME>
//
// http://benpickles.github.com/peity
//
// Released under MIT license.
(function($, document, Math, devicePixelRatio) {
  var canvasSupported = document.createElement("canvas").getContext

  var peity = $.fn.peity = function(type, options) {
    if (canvasSupported) {
      this.each(function() {
        var $this = $(this)
        var chart = $this.data("peity")

        if (chart) {
          if (type) chart.type = type
          $.extend(chart.opts, options)
          chart.draw()
        } else {
{'fraction_non_alphanumeric': 0.1471790678659035, 'fraction_numerical': 0.011447260834014717, 'mean_word_length': 2.507163323782235, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2796908', 'n_tokens_mistral': 382, 'n_tokens_neox': 367, 'n_words': 97}