<commit_before>window.ReactSearchResults = React.createBackboneClass
  displayName: 'ReactSearchResults'
  changeOptions: 'add remove reset sync request'

  _results_per_page: 20  # WARNING: coupling with search_controller.rb

  _results: ->
    @model().map (model) =>
      switch model.get("the_class")
        when "Annotation"
          fact = new Fact(model.get("the_object"))
          _a ['feed-activity-container search-result', href: fact.get('proxy_open_url')],
            ReactFact
              model: fact
        when "User"
          user = new User(model.get("the_object"))

          _a ['feed-activity-container search-result', href: user.link(), rel: 'backbone'],
            _div ['feed-activity-heading'],<commit_msg>Added rel: 'backbone' for consistency<commit_after>window.ReactSearchResults = React.createBackboneClass
  displayName: 'ReactSearchResults'
  changeOptions: 'add remove reset sync request'

  _results_per_page: 20  # WARNING: coupling with search_controller.rb

  _results: ->
    @model().map (model) =>
      switch model.get("the_class")
        when "Annotation"
          fact = new Fact(model.get("the_object"))
          _a ['feed-activity-container search-result', href: fact.get('proxy_open_url'), rel: 'backbone'],
            ReactFact
              model: fact
        when "User"
          user = new User(model.get("the_object"))

          _a ['feed-activity-container search-result', href: user.link(), rel: 'backbone'],
            _div ['feed-activity-heading'],
{'fraction_non_alphanumeric': 0.12557527942143326, 'fraction_numerical': 0.0026298487836949377, 'mean_word_length': 2.994750656167979, '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': '1455723', 'n_tokens_mistral': 438, 'n_tokens_neox': 431, 'n_words': 101}