<commit_before>module.exports = 
  url: '/groups/:groupId'
  template: require('app/components/group-page/group-page.html')
  controller: ($scope, $auth, Records, $stateParams, $location) ->
    # console.log('groupId: ', $stateParams.groupId)
    # Records.groups.findOrFetchByKey($stateParams.groupId).then (group) =>
    #   console.log('found group: ', Records.groups.find($stateParams.groupId))
    #   console.log('group: ', group)
      # console.log('group: ', Records.groups.find($stateParams.groupId))
      # console.log('RecordsGroupCollection: ', Records.groups.collection)
      # $scope.group = group

      # $scope.group = group
      # Records.buckets.fetchByGroupId(group.id)
    
    window.scrollHeight = 0;

    # TO-DO: add this to application controller, and have all other controllers inherit from it.
    $scope.go = (path) ->
      $location.path(path)

    $scope.group = 
      id: 1
      name: "Enspiral"
      personalFunds: 3500
      totalFunds: 15000

    $scope.projects = [
      {
        name: "Improve remote meeting experience",
        amountRemaining: 2300,
        percentFunded: 10
      },
      {
        name: "Repay outstanding debts",
        amountRemaining: 500,
        percentFunded: 70
      },
      {
        name: "Enspiral Stickers!!!",
        amountRemaining: 50,
        percentFunded: 92
      }
    ]

    $scope.drafts = [
      {
        name: "90 Second Enspiral Animation", 
        author: "<NAME>",
        age: 3
      },
      {
        name: "<NAME>", 
        author: "<NAME>",
        age: 5
      },
      {
        name: "Support Loomio crowdfunding campaign", 
        author: "<NAME>",
        age: 6
      },
      {
        name: "Social Enterprise Weekend", 
        author: "Michael",
        age: 10
      }
    ]<commit_msg>remove auth from dependencies in group-page.coffee<commit_after>module.exports = 
  url: '/groups/:groupId'
  template: require('app/components/group-page/group-page.html')
  controller: ($scope, Records, $stateParams, $location) ->
    # console.log('groupId: ', $stateParams.groupId)
    # Records.groups.findOrFetchByKey($stateParams.groupId).then (group) =>
    #   console.log('found group: ', Records.groups.find($stateParams.groupId))
    #   console.log('group: ', group)
      # console.log('group: ', Records.groups.find($stateParams.groupId))
      # console.log('RecordsGroupCollection: ', Records.groups.collection)
      # $scope.group = group

      # $scope.group = group
      # Records.buckets.fetchByGroupId(group.id)
    
    window.scrollHeight = 0;

    # TO-DO: add this to application controller, and have all other controllers inherit from it.
    $scope.go = (path) ->
      $location.path(path)

    $scope.group = 
      id: 1
      name: "Enspiral"
      personalFunds: 3500
      totalFunds: 15000

    $scope.projects = [
      {
        name: "Improve remote meeting experience",
        amountRemaining: 2300,
        percentFunded: 10
      },
      {
        name: "Repay outstanding debts",
        amountRemaining: 500,
        percentFunded: 70
      },
      {
        name: "Enspiral Stickers!!!",
        amountRemaining: 50,
        percentFunded: 92
      }
    ]

    $scope.drafts = [
      {
        name: "90 Second Enspiral Animation", 
        author: "<NAME>",
        age: 3
      },
      {
        name: "<NAME>", 
        author: "<NAME>",
        age: 5
      },
      {
        name: "Support Loomio crowdfunding campaign", 
        author: "<NAME>",
        age: 6
      },
      {
        name: "Social Enterprise Weekend", 
        author: "Michael",
        age: 10
      }
    ]
{'fraction_non_alphanumeric': 0.13267543859649122, 'fraction_numerical': 0.018092105263157895, 'mean_word_length': 2.0949957591178965, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 17, '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': '5990255', 'n_tokens_mistral': 1199, 'n_tokens_neox': 1080, 'n_words': 234}