<commit_before>(function () {
  "use strict"
  var root = this,
      $ = root.jQuery;

  if (typeof root.GOVUK === 'undefined') {
    root.GOVUK = {};
  }

  root.GOVUK.Tagging = {
    ready: function () {
      $('.js-tag-list').select2({
        tags: true,
        initSelection: function (input, setTags) {
          setTags(
            $(input.val().split(",")).map(function () {
              return {
                id: this.trim(),<commit_msg>Ensure "," breaks to create a new tag<commit_after>(function () {
  "use strict"
  var root = this,
      $ = root.jQuery;

  if (typeof root.GOVUK === 'undefined') {
    root.GOVUK = {};
  }

  root.GOVUK.Tagging = {
    ready: function () {
      $('.js-tag-list').select2({
        tags: true,
        tokenSeparators: [','],
        initSelection: function (input, setTags) {
          setTags(
            $(input.val().split(",")).map(function () {
              return {
                id: this.trim(),
{'fraction_non_alphanumeric': 0.17634854771784234, 'fraction_numerical': 0.002074688796680498, 'mean_word_length': 1.9066265060240963, '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': '105720', 'n_tokens_mistral': 311, 'n_tokens_neox': 304, 'n_words': 60}