<commit_before>class KDProgressBarView extends KDCustomHTMLView
  constructor:(options = {})->
    options.cssClass = KD.utils.curryCssClass "progressbar-container"
        
    super options

  viewAppended:->
    @createBar()

  createBar:(value, label)->
    @addSubView @bar = new KDCustomHTMLView
      cssClass    : "bar"
    @addSubView @darkLabel = new KDCustomHTMLView
      tagName     : "span"
    @bar.addSubView @lightLabel = new KDCustomHTMLView
      tagName     : "span"

  updateBar:(value, unit, label)->
    @bar.setWidth value, unit
    @darkLabel.updatePartial "#{label}&nbsp;"<commit_msg>Ram usage bar: Minor fix about KD.utils.curryCssClass's usage<commit_after>class KDProgressBarView extends KDCustomHTMLView
  constructor:(options = {})->
    options.cssClass = KD.utils.curryCssClass "progressbar-container", options.cssClass
        
    super options

  viewAppended:->
    @createBar()

  createBar:(value, label)->
    @addSubView @bar = new KDCustomHTMLView
      cssClass    : "bar"
    @addSubView @darkLabel = new KDCustomHTMLView
      tagName     : "span"
    @bar.addSubView @lightLabel = new KDCustomHTMLView
      tagName     : "span"

  updateBar:(value, unit, label)->
    @bar.setWidth value, unit
    @darkLabel.updatePartial "#{label}&nbsp;"
{'fraction_non_alphanumeric': 0.1104199066874028, 'fraction_numerical': 0.0, 'mean_word_length': 3.4075342465753424, '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': '5620850', 'n_tokens_mistral': 417, 'n_tokens_neox': 399, 'n_words': 87}