<commit_before>Aether = require '../aether'

describe "CS test Suite!", ->
  describe "CS compilation", ->
    aether = new Aether language: "coffeescript"
    it "Should compile funcitons", ->
      code = """
        return 1000
      """
      aether.transpile(code)
      expect(aether.run()).toEqual 1000

  describe "CS compilation with lang set after contruction", ->
    aether = new Aether()
    it "Should compile funcitons", ->
      code = """
        return 2000 if false
\treturn 1000
      """
      aether.setLanguage "coffeescript"
      aether.transpile(code)
      expect(aether.run()).toEqual 1000<commit_msg>indented return statement<commit_after>Aether = require '../aether'

describe "CS test Suite!", ->
  describe "CS compilation", ->
    aether = new Aether language: "coffeescript"
    it "Should compile funcitons", ->
      code = """
        return 1000
      """
      aether.transpile(code)
      expect(aether.run()).toEqual 1000

  describe "CS compilation with lang set after contruction", ->
    aether = new Aether()
    it "Should compile funcitons", ->
      code = """
        return 2000 if false
        \treturn 1000
      """
      aether.setLanguage "coffeescript"
      aether.transpile(code)
      expect(aether.run()).toEqual 1000
{'fraction_non_alphanumeric': 0.12206572769953052, 'fraction_numerical': 0.03129890453834116, 'mean_word_length': 2.5826330532212887, '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': '4781800', 'n_tokens_mistral': 415, 'n_tokens_neox': 370, 'n_words': 105}