<commit_before>module.exports = function (grunt) {
  'use strict';

  grunt.extendConfig({
    PKG: grunt.file.readJSON('package.json'),
    'gh-pages': {
      options: {
        tag: 'v<%= PKG.version %>_doc',
        message: 'docs(v<%= PKG.version %>): Update documentation',
        base: 'dist',
        push: true,
        branch: 'gh-pages'
      },
      src: ['**']
    }
  });

  grunt.registerTask('publishDocs', 'Publishes the GitHub Pages site', function() {
    // Modify the dist/assets/config/docConfig.json file
    var configPath = 'dist/assets/config/docsConfig.json';
    var docConfig = grunt.file.readJSON(configPath);
    docConfig.version = grunt.config('PKG').version;

    grunt.log.ok('Updated docConfig.json version to ' + docConfig.version);
    grunt.file.write(configPath, JSON.stringify(docConfig, null, '  '));

    grunt.task.run('gh-pages');
  });
};
<commit_msg>chore(build): pass user name & email to gh-pages<commit_after>module.exports = function (grunt) {
  'use strict';

  grunt.extendConfig({
    PKG: grunt.file.readJSON('package.json'),
    'gh-pages': {
      options: {
        tag: 'v<%= PKG.version %>_doc',
        message: 'docs(v<%= PKG.version %>): Update documentation',
        base: 'dist',
        push: true,
        branch: 'gh-pages',
        user: {
          name: '<NAME>',
          email: '<EMAIL>'
        }
      },
      src: ['**']
    }
  });

  grunt.registerTask('publishDocs', 'Publishes the GitHub Pages site', function() {
    // Modify the dist/assets/config/docConfig.json file
    var configPath = 'dist/assets/config/docsConfig.json';
    var docConfig = grunt.file.readJSON(configPath);
    docConfig.version = grunt.config('PKG').version;

    grunt.log.ok('Updated docConfig.json version to ' + docConfig.version);
    grunt.file.write(configPath, JSON.stringify(docConfig, null, '  '));

    grunt.task.run('gh-pages');
  });
};

{'fraction_non_alphanumeric': 0.1693674856246733, 'fraction_numerical': 0.0, 'mean_word_length': 2.8588709677419355, 'pattern_counts': {'":': 0, '<': 9, '<?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': '3486772', 'n_tokens_mistral': 648, 'n_tokens_neox': 623, 'n_words': 119}