<commit_before>@CodequestManager.module 'Dashboard', (Dashboard, App, Backbone, Marionette, $, _) ->
  Dashboard.Account = Marionette.ItemView.extend
    template: 'dashboard/account'
    className: ->
      "user-box #{@amountClass()}"

    templateHelpers: ->
      formattedNumber: @formattedNumber()
      formattedBalance: @formattedBalance()

    amountClass: ->
      return unless @model.get('account_balance')
      modifier = if +@model.get('account_balance') > 0 then "positive" else "negative"
      "user-box__#{modifier}"

    formattedBalance: ->
      account_balance = @model.get('account_balance')
      if account_balance
        account_balance + " PLN"<commit_msg>Fix zeros on the account page<commit_after>@CodequestManager.module 'Dashboard', (Dashboard, App, Backbone, Marionette, $, _) ->
  Dashboard.Account = Marionette.ItemView.extend
    template: 'dashboard/account'
    className: ->
      "user-box #{@amountClass()}"

    templateHelpers: ->
      formattedNumber: @formattedNumber()
      formattedBalance: @formattedBalance()

    amountClass: ->
      return unless @model.get('account_balance')
      modifier = if +@model.get('account_balance') >= 0 then "positive" else "negative"
      "user-box__#{modifier}"

    formattedBalance: ->
      account_balance = @model.get('account_balance')
      if account_balance
        account_balance + " PLN"
{'fraction_non_alphanumeric': 0.13049747656813265, 'fraction_numerical': 0.0014419610670511895, 'mean_word_length': 3.6577181208053693, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '7319418', 'n_tokens_mistral': 411, 'n_tokens_neox': 415, 'n_words': 80}