<commit_before>class window.NDPEvidenceCollection extends Backbone.Collection
  initialize: (models, options) ->
    @on 'change', @sort, @
    @fact = options.fact

  constructor: (models, options) ->
    super
    unless models and models.length > 0
      @reset [
        new OpinionatersEvidence({type: 'believe'   }, fact: @fact),
        new OpinionatersEvidence({type: 'disbelieve'}, fact: @fact),
        new OpinionatersEvidence({type: 'doubt'     }, fact: @fact)
      ]

  comparator: (item) -> - item.get('impact')

  url: ->
    '/facts/#{@fact.id}/interactors'<commit_msg>Indeed don't pass the fact but the collection<commit_after>class window.NDPEvidenceCollection extends Backbone.Collection
  initialize: (models, options) ->
    @on 'change', @sort, @
    @fact = options.fact

  constructor: (models, options) ->
    super
    unless models and models.length > 0
      @reset [
        new OpinionatersEvidence {type: 'believe'},    collection: this
        new OpinionatersEvidence {type: 'disbelieve'}, collection: this
        new OpinionatersEvidence {type: 'doubt'},      collection: this
      ]

  comparator: (item) -> - item.get('impact')

  url: ->
    '/facts/#{@fact.id}/interactors'
{'fraction_non_alphanumeric': 0.13673805601317957, 'fraction_numerical': 0.0016474464579901153, 'mean_word_length': 3.1752577319587627, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '5561653', 'n_tokens_mistral': 385, 'n_tokens_neox': 348, 'n_words': 93}