<commit_before>### @ngInject ###
module.exports = ($stateProvider, $urlRouterProvider) ->

  # redirect from old to new layout.round.buckets url
  $urlRouterProvider.when /(.*)\/buckets/i, ($match) ->
    return $match[1]

  # HACK to fix layout.round.buckets url with trailing slash
  $urlRouterProvider.when /^(.*groups.*rounds.*)\/$/, ($match) ->
    return $match[1]

  $stateProvider.state 'layout', require('layout')
  $stateProvider.state 'layout.person', require('person-page')
  $stateProvider.state 'layout.person.profile', require('person-profile')
  $stateProvider.state 'layout.person.settings', require('person-settings')
  $stateProvider.state 'layout.group', require('group-page')
  $stateProvider.state 'layout.group.rounds', require('group-rounds')
  $stateProvider.state 'layout.group.members', require('group-members')
  $stateProvider.state 'layout.round', require('round-page')
  $stateProvider.state 'layout.round.buckets', require('round-buckets')
  $stateProvider.state 'layout.round.buckets.details', require('round-buckets/round-buckets-details.coffee')
  $stateProvider.state 'layout.round.contributors', require('round-contributors')

  $urlRouterProvider.otherwise ($injector, $location) ->
    search = $location.url().split('?')[1] || ''
    return '/?' + search<commit_msg>fix contributions refresh bug<commit_after>### @ngInject ###
module.exports = ($stateProvider, $urlRouterProvider) ->

  # redirect from old to new layout.round.buckets url
  $urlRouterProvider.when /(.*)\/buckets/i, ($match) ->
    return $match[1]

  # HACK to fix layout.round.buckets url with trailing slash
  $urlRouterProvider.when /^(.*groups.*rounds.*)\/$/, ($match) ->
    return $match[1]

  $stateProvider.state 'layout', require('layout')
  $stateProvider.state 'layout.person', require('person-page')
  $stateProvider.state 'layout.person.profile', require('person-profile')
  $stateProvider.state 'layout.person.settings', require('person-settings')
  $stateProvider.state 'layout.group', require('group-page')
  $stateProvider.state 'layout.group.rounds', require('group-rounds')
  $stateProvider.state 'layout.group.members', require('group-members')
  $stateProvider.state 'layout.round', require('round-page')
  $stateProvider.state 'layout.round.contributors', require('round-contributors')
  $stateProvider.state 'layout.round.buckets', require('round-buckets')
  $stateProvider.state 'layout.round.buckets.details', require('round-buckets/round-buckets-details.coffee')

  $urlRouterProvider.otherwise ($injector, $location) ->
    search = $location.url().split('?')[1] || ''
    return '/?' + search
{'fraction_non_alphanumeric': 0.17579908675799086, 'fraction_numerical': 0.00228310502283105, 'mean_word_length': 5.381067961165049, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '5982500', 'n_tokens_mistral': 822, 'n_tokens_neox': 781, 'n_words': 142}