<commit_before>class Cu.View.DeletedDataset extends Backbone.View
  className: "deleted-dataset"

  events:
    'click #recover': 'recover'

  render: ->
    console.log @model
    @el.innerHTML = """
                    <h2>That dataset has been deleted.</h2>
                    <a class="btn btn-large" id="recover">Click here to recover the dataset</a>
                    """
    @

  recover: =>
    @$el.find('#recover').addClass('loading').html('Recoving dataset&hellip;')
    @model.recover()
    setTimeout ->
      window.location.reload()
    , 1500
<commit_msg>dataset recovery is no longer possible: open an intercom message instead<commit_after>class Cu.View.DeletedDataset extends Backbone.View
  className: "deleted-dataset"

  events:
    'click #recover': 'recover'

  render: ->
    console.log @model
    @el.innerHTML = """
                    <h2>That dataset has been deleted.</h2>
                    <a class="btn btn-large" id="recover">Contact us for recovery</a>
                    """
    @

  recover: =>
    window.Intercom('show')

{'fraction_non_alphanumeric': 0.13427230046948357, 'fraction_numerical': 0.007511737089201878, 'mean_word_length': 2.352201257861635, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 16, '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': '511773', 'n_tokens_mistral': 319, 'n_tokens_neox': 311, 'n_words': 73}