<commit_before>require([
  // Global
  "app",

  // Libs
  "jquery",
  "backbone",

  // Modules
  "modules/repo",
  "modules/user",
  "modules/commit"
],

function (app, $, Backbone, Repo, User, Commit) {

  // Defining the application router, you can attach sub routers here.
  var Router = Backbone.Router.extend({
    routes: {
      "": "index",
      "org/:name": "org",
      "org/:org/user/:name": "user",
      "org/:org/user/:user/repo/:name": "repo"
    },

    index: function() {
      this.users.reset();
      this.repos.reset();
      this.commits.reset();

      this.useLayout("main");

      this.layout.render();
    },

    org: function(name) {
      this.repos.reset();
      this.commits.reset();

      this.useLayout("main");

      // Set the organization.
      this.users.org = name;

      // Fetch the data.
      this.users.fetch();
    },<commit_msg>removed lingering render<commit_after>require([
  // Global
  "app",

  // Libs
  "jquery",
  "backbone",

  // Modules
  "modules/repo",
  "modules/user",
  "modules/commit"
],

function (app, $, Backbone, Repo, User, Commit) {

  // Defining the application router, you can attach sub routers here.
  var Router = Backbone.Router.extend({
    routes: {
      "": "index",
      "org/:name": "org",
      "org/:org/user/:name": "user",
      "org/:org/user/:user/repo/:name": "repo"
    },

    index: function() {
      this.users.reset();
      this.repos.reset();
      this.commits.reset();

      this.useLayout("main");
    },

    org: function(name) {
      this.repos.reset();
      this.commits.reset();

      this.useLayout("main");

      // Set the organization.
      this.users.org = name;

      // Fetch the data.
      this.users.fetch();
    },
{'fraction_non_alphanumeric': 0.18249427917620137, 'fraction_numerical': 0.0, 'mean_word_length': 2.2209944751381214, 'pattern_counts': {'":': 8, '<': 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': '2424221', 'n_tokens_mistral': 601, 'n_tokens_neox': 591, 'n_words': 117}