<commit_before>`import Ember from 'ember';`
`import AuthenticatedRouteMixin from 'simple-auth/mixins/authenticated-route-mixin';`
`import Ratio from 'irene/models/ratio';`

IndexRoute = Ember.Route.extend AuthenticatedRouteMixin,

  setupController: (controller)->
    ratio = @store.push 'ratio',
      id: 1
      affected: 0
      unaffected: 1
    controller.set "ratio", ratio

`export default IndexRoute;`<commit_msg>Ratio fix. Closed #52<commit_after>`import Ember from 'ember';`
`import AuthenticatedRouteMixin from 'simple-auth/mixins/authenticated-route-mixin';`
`import Ratio from 'irene/models/ratio';`

IndexRoute = Ember.Route.extend AuthenticatedRouteMixin,

  setupController: (controller)->
    if controller.get 'ratio'
      # Return if the ratio is already assigned.
      return
    ratio = @store.push 'ratio',
      id: 1
      affected: 0
      unaffected: 1
    controller.set "ratio", ratio

`export default IndexRoute;`
{'fraction_non_alphanumeric': 0.113107822410148, 'fraction_numerical': 0.008456659619450317, 'mean_word_length': 4.064171122994653, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4787232', 'n_tokens_mistral': 303, 'n_tokens_neox': 285, 'n_words': 77}