<commit_before>class ReadSvbtle.Views.Index extends Backbone.View
  template: JST['app/scripts/templates/index']

  tagName: 'ul'
  className: 'entries'

  initialize: =>
    @collection.on 'sync', @render
    @collection.on 'error', @error

    @collection.fetch()

  render: () =>
    @collection.sort()
    @$el.html @template collection: @collection

    if @collection.models.length == 0
      @spinner().spin @$('#spin')[0]
    else
      @$('#spin').html ""<commit_msg>Made sure spinner is removed after it's done.<commit_after>class ReadSvbtle.Views.Index extends Backbone.View
  template: JST['app/scripts/templates/index']

  tagName: 'ul'
  className: 'entries'

  initialize: =>
    @collection.on 'sync', @render
    @collection.on 'error', @error

    @collection.fetch()

  render: () =>
    @collection.sort()
    @$el.html @template collection: @collection

    if @collection.models.length == 0
      @spinner().spin @$('#spin')[0]
    else
      @$('#spin').remove()
{'fraction_non_alphanumeric': 0.16852791878172588, 'fraction_numerical': 0.0040609137055837565, 'mean_word_length': 3.522935779816514, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '5500256', 'n_tokens_mistral': 320, 'n_tokens_neox': 311, 'n_words': 69}