<commit_before>var analytics = {
  revert: function () {
    window._gaq && _gaq.push(['_trackPageview', '/revert' + window.location.pathname]);
  },
  milestone: function () {
    window._gaq && _gaq.push(['_trackPageview', '/milestone' + window.location.pathname]);
  },
  clone: function () {
    window._gaq && _gaq.push(['_trackPageview', '/clone' + window.location.pathname]);
  },
  saveTemplte: function () {
    window._gaq && _gaq.push(['_trackPageview', '/save-template']);
  },
  createNew: function () {
    window._gaq && _gaq.push(['_trackPageview', '/new']);
  },
  open: function () {
    window._gaq && _gaq.push(['_trackPageview', '/open']);
  },
  download: function () {
    window._gaq && _gaq.push(['_trackPageview', '/download' + window.location.pathname]);
  },
  showPanel: function (panelId) {
    window._gaq && _gaq.push(['_trackPageview', '/panel/show/' + panelId]);
  },
  hidePanel: function (panelId) {
    window._gaq && _gaq.push(['_trackPageview', '/panel/hide/' + panelId]);
  },
  logout: function () {
    window._gaq && _gaq.push(['_trackPageview', '/logout']);
  },
  login: function (ok) {
    if (window._gaq) {
      if (ok === undefined) {
        _gaq.push(['_trackPageview', '/login']);
      } else {
        _gaq.push(['_trackPageview', '/login/'  + ok ? 'success' : 'fail']);
      }
    }
  },
  help: function () {
    window._gaq && _gaq.push(['_trackPageview', '/help']);
  },
  enableLiveJS: function (ok) {
    window._gaq && _gaq.push(['_trackPageview', '/live-js/' + ok ? 'on' : 'off']);
  },
  loadGist: function (id) {
    window._gaq && _gaq.push(['_trackPageview', '/gist/' + id]);
  },
  layout: function (panelsVisible) {
    var layout = [], panel = '';

    if (window._gaq) {
      for (panel in panelsVisible) {
        layout.push(panel + ':' + panelsVisible[panel]);
      }
      _gaq.push(['_trackPageview', '/layout/' + layout.join('/')]);
    }
  }
};<commit_msg>Prefix dynamic analytics with /action to make them easier to find<commit_after>var analytics = {
  revert: function () {
    window._gaq && _gaq.push(['_trackPageview', '/action/revert' + window.location.pathname]);
  },
  milestone: function () {
    window._gaq && _gaq.push(['_trackPageview', '/action/milestone' + window.location.pathname]);
  },
  clone: function () {
    window._gaq && _gaq.push(['_trackPageview', '/action/clone' + window.location.pathname]);
  },
  saveTemplte: function () {
    window._gaq && _gaq.push(['_trackPageview', '/action/save-template']);
  },
  createNew: function () {
    window._gaq && _gaq.push(['_trackPageview', '/action/new']);
  },
  open: function () {
    window._gaq && _gaq.push(['_trackPageview', '/action/open']);
  },
  download: function () {
    window._gaq && _gaq.push(['_trackPageview', '/action/download' + window.location.pathname]);
  },
  showPanel: function (panelId) {
    window._gaq && _gaq.push(['_trackPageview', '/action/panel/show/' + panelId]);
  },
  hidePanel: function (panelId) {
    window._gaq && _gaq.push(['_trackPageview', '/action/panel/hide/' + panelId]);
  },
  logout: function () {
    window._gaq && _gaq.push(['_trackPageview', '/action/logout']);
  },
  login: function (ok) {
    if (window._gaq) {
      if (ok === undefined) {
        _gaq.push(['_trackPageview', '/action/login']);
      } else {
        _gaq.push(['_trackPageview', '/action/login/'  + ok ? 'success' : 'fail']);
      }
    }
  },
  help: function () {
    window._gaq && _gaq.push(['_trackPageview', '/action/help']);
  },
  enableLiveJS: function (ok) {
    window._gaq && _gaq.push(['_trackPageview', '/action/live-js/' + ok ? 'on' : 'off']);
  },
  loadGist: function (id) {
    window._gaq && _gaq.push(['_trackPageview', '/action/gist/' + id]);
  },
  layout: function (panelsVisible) {
    var layout = [], panel = '';

    if (window._gaq) {
      for (panel in panelsVisible) {
        layout.push(panel + ':' + panelsVisible[panel]);
      }
      _gaq.push(['_trackPageview', '/action/layout/' + layout.join('/')]);
    }
  }
};
{'fraction_non_alphanumeric': 0.20975730559683012, 'fraction_numerical': 0.0, 'mean_word_length': 3.2426470588235294, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3076759', 'n_tokens_mistral': 1402, 'n_tokens_neox': 1399, 'n_words': 238}