<commit_before>@Balances.module 'HeaderApp.Show', (Show, App, Backbone, Marionette, $, _) ->

  class Show.Controller extends App.Controllers.Base
    initialize: ->
      @layout = new Show.Layout
        model: App.currentUser

      @listenTo @layout, 'show', ->
        @showBalance()

      App.mainHeaderRegion.show @layout
<commit_msg>only try to show header balance is user is signed in<commit_after>@Balances.module 'HeaderApp.Show', (Show, App, Backbone, Marionette, $, _) ->

  class Show.Controller extends App.Controllers.Base
    initialize: ->
      @layout = new Show.Layout
        model: App.currentUser

      @listenTo @layout, 'show', ->
        @showBalance() if App.currentUser.isSignedIn()

      App.mainHeaderRegion.show @layout

{'fraction_non_alphanumeric': 0.12185430463576159, 'fraction_numerical': 0.0, 'mean_word_length': 3.1767955801104972, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '2656110', 'n_tokens_mistral': 226, 'n_tokens_neox': 223, 'n_words': 56}