<commit_before>

#Editor = require "../editor"
#
#describe "editor", ->
  #it "should have eval", ->
    #editor = Editor
      #selector: "#not_present"
#
    #assert.equal editor.eval("5"), 5

<commit_msg>:card_index::sos: Updated in browser at strd6.github.io/editor<commit_after>

#Editor = require "../editor"
#
#describe "editor", ->
  #it "should have eval", ->
    #editor = Editor
      #selector: "#not_present"
#
    #assert.equal editor.eval("5"), 5


describe "plugins", ->
  it "should be able to load via JSON package", ->
    result = require
      distribution:
        main:
          content: "module.exports = 'the test'"

    assert.equal result, "the test"
{'fraction_non_alphanumeric': 0.1607669616519174, 'fraction_numerical': 0.007374631268436578, 'mean_word_length': 2.9707602339181287, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '1503788', 'n_tokens_mistral': 221, 'n_tokens_neox': 213, 'n_words': 62}