<commit_before>ActiveAdmin.flash =
  class Flash
    @error: (message) ->
      new @ message, "error"
    @notice: (message) ->
      new @ message, "notice"
    reference: ->
      @reference
    constructor: (@message, @type = "notice") ->
      @reference = jQuery("<div>").addClass("flash flash_#{type}").text(message)
      jQuery ".flashes"
        .append @reference<commit_msg>make ActiveAdmin.flash’s closable<commit_after>ActiveAdmin.flash =
  class Flash
    @error: (message) ->
      new @ message, "error"
    @notice: (message) ->
      new @ message, "notice"
    reference: ->
      @reference
    constructor: (@message, @type = "notice") ->
      @reference = jQuery("<div>").addClass("flash flash_#{type}").text(message)
      jQuery ".flashes"
        .append @reference
    close: ->
      @reference.remove()
{'fraction_non_alphanumeric': 0.16466346153846154, 'fraction_numerical': 0.0, 'mean_word_length': 2.838709677419355, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 14, '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': '2764515', 'n_tokens_mistral': 245, 'n_tokens_neox': 246, 'n_words': 55}