<commit_before>//= require mithril/mithril.min.js
//= require jquery
//= require underscore/underscore-min.js
//= require mithril-postgrest
//= require moment/min/moment.min.js
//= require lib/replace-diacritics
//= require chart.js/dist/Chart.bundle.min.js
//= require i18n/translations
//= require ../analytics
//= require api/init
//= require catarse.js/dist/catarse.js
//= require_self

(function(m, c, Chart, analytics){
  Chart.defaults.global.responsive = true;
  Chart.defaults.global.responsive = false;
  Chart.defaults.global.scaleFontFamily = "proxima-nova";

  I18n.defaultLocale = "pt";
  I18n.locale = "pt";

  var adminRoot = document.getElementById('new-admin');

  if(adminRoot){
      var adminWrap = function(component, customAttr) {
          return {
              controller: function() {
                  var attr = customAttr;

                  return {
                      attr: attr<commit_msg>update chart call to match older version<commit_after>//= require mithril/mithril.min.js
//= require jquery
//= require underscore/underscore-min.js
//= require mithril-postgrest
//= require moment/min/moment.min.js
//= require lib/replace-diacritics
//= require chart.js/Chart.min.js
//= require i18n/translations
//= require ../analytics
//= require api/init
//= require catarse.js/dist/catarse.js
//= require_self

(function(m, c, Chart, analytics){
  Chart.defaults.global.responsive = true;
  Chart.defaults.global.responsive = false;
  Chart.defaults.global.scaleFontFamily = "proxima-nova";

  I18n.defaultLocale = "pt";
  I18n.locale = "pt";

  var adminRoot = document.getElementById('new-admin');

  if(adminRoot){
      var adminWrap = function(component, customAttr) {
          return {
              controller: function() {
                  var attr = customAttr;

                  return {
                      attr: attr
{'fraction_non_alphanumeric': 0.13512064343163538, 'fraction_numerical': 0.006434316353887399, 'mean_word_length': 2.6950495049504952, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6707160', 'n_tokens_mistral': 595, 'n_tokens_neox': 562, 'n_words': 115}