<commit_before>{
  "assignments": [
    {
      "track": "ruby",
      "slug": "bob",
      "readme": "# Bob\n\nBob is a lackadaisical teenager. In conversation, his responses are very limited.\n\nBob answers 'Sure.' if you ask him a question.\n\nHe answers 'Whatever.' if you tell him something.\n\nHe answers 'Woah, chill out!' if you yell at him (ALL CAPS).\n\nHe says 'Fine. Be that way!' if you address him without actually saying anything.\n\n## Instructions\n\nRun the test file, and fix each of the errors in turn. When you get the first test to pass, go to the first pending or skipped test, and make that pass as well. When all of the tests are passing, feel free to submit.\n\nRemember that passing code is just the first step. The goal is to work towards a solution that is as readable and expressive as you can make it.\n\nHave fun!\n\n\n\n## Source\n\nInspired by the 'Deaf Grandma' exercise in <NAME>'s Learn to Program tutorial. [view source](http://pine.fm/LearnToProgram/?Chapter=06)\n",
      "test_file": "bob_test.rb",
      "tests": "require 'minitest/autorun'\n\nbegin\n  require_relative 'bob'\n\n  class TeenagerTest < MiniTest::Unit::TestCase\n    attr_reader :teenager\n\n    def setup\n      @teenager = Bob.new\n    end\n\n    def test_stating_something\n      assert_equal 'Whatever.', teenager.hey('Tom-ay-to, tom-aaaah-to.')\n    end\n\n    def test_shouting\n      skip\n      assert_equal 'Woah, chill out!', teenager.hey('WATCH OUT!')\n    end\n\n    def test_asking_a_question\n      skip\n      assert_equal 'Sure.', teenager.hey('Does this cryogenic chamber make me look fat?')\n    end\n\n    def test_talking_forcefully\n      skip\n      assert_equal 'Whatever.', teenager.hey(\"Let's go make out behind the gym!\")\n    end\n\n    def test_shouting_numbers\n      skip\n      assert_equal 'Woah, chill out!', teenager.hey('1, 2, 3 GO!')\n    end\n\n    def test_shouting_with_special_characters\n      skip\n      assert_equal 'Woah, chill out!', teenager.hey('ZOMG THE %^*@#$(*^ ZOMBIES ARE COMING!!11!!1!')\n    end\n\n    def test_shouting_with_no_exclamation_mark\n      skip\n      assert_equal 'Woah, chill out!', teenager.hey('I HATE YOU')\n    end\n\n    def test_statement_containing_question_mark\n      skip\n      assert_equal 'Whatever.', teenager.hey('Ending with ? means a question.')\n    end\n\n    def test_silence\n      skip\n      assert_equal 'Fine. Be that way.', teenager.hey('')\n    end\n\n    def test_more_silence\n      skip\n      assert_equal 'Fine. Be that way.', teenager.hey(nil)\n    end\n  end\n\nrescue LoadError => e\n\n  def explain(something)\n    7.times { puts }\n    puts \"Hit enter to continue...\"\n    gets\n    7.times { puts }\n    puts something\n    puts\n  end\n\n  zomg = <<-ERROR\n######## ########  ########   #######  ########  \n##       ##     ## ##     ## ##     ## ##     ## \n##       ##     ## ##     ## ##     ## ##     ## \n######   ########  ########  ##     ## ########  \n##       ##   ##   ##   ##   ##     ## ##   ##   \n##       ##    ##  ##    ##  ##     ## ##    ##  \n######## ##     ## ##     ##  #######  ##     ## \n\n  ERROR\n  puts\n  puts zomg\n\n  explain \"I'm going to\\n* show you an error message,\\n* then explain what you're seeing\\n* then tell you how to fix it.\"\n  explain \"Seriously, don't freak out. It's not that bad.\"\n  explain \"OK, this is it:\\n\\n#{e.backtrace.first} #{e.message}\"\n  explain \"First it tells you the name of the file where the error is occurring.\\n\\n\\n\\tbob_test.rb\"\n  explain \"Then it tells you which line that error is on.\\n\\n\\n\\tbob_test.rb:5\"\n\n  explain \"After that, it tells you the name of the method where the error is occurring.\\n\\n\\n\\tin `require_relative'.\"\n  explain \"Next, it tells you exactly what the error is.\\n\\n\\n\\tcannot load such file\"\n  explain \"Finally, it tells you which file is missing.\\n\\n\\n\\t/path/to/your/code/ruby/bob/bob\"\n  explain \"So the error is that on line 5. What's on line 5?\\n\\n\\n\\trequire_relative 'bob'\"\n  explain \"Essentially, when we try to require the file, it says it's not there. You can fix the problem by creating an empty file named bob.rb inside of the ruby/bob directory.\"\n  explain \"Now take another look at the error message.\\nDoes it make more sense?\\n\\n\\n#{e.backtrace.first} #{e.message}\"\n  10.times { puts }\n  exit!\nend\n"
    },
    {
      "track": "javascript",
      "slug": "bob",
      "readme": "# Bob\n\nBob is a lackadaisical teenager. In conversation, his responses are very limited.\n\nBob answers 'Sure.' if you ask him a question.\n\nHe answers 'Whatever.' if you tell him something.\n\nHe answers 'Woah, chill out!' if you yell at him (ALL CAPS).\n\nHe says 'Fine. Be that way!' if you address him without actually saying anything.\n\n## Instructions\n\nRun the test file, and fix each of the errors in turn. When you get the first test to pass, go to the first pending or skipped test, and make that pass as well. When all of the tests are passing, feel free to submit.\n\nRemember that passing code is just the first step. The goal is to work towards a solution that is as readable and expressive as you can make it.\n\nHave fun!\n\n\n\n## Source\n\nInspired by the 'Deaf Grandma' exercise in Chris Pine's Learn to Program tutorial. [view source](http://pine.fm/LearnToProgram/?Chapter=06)\n",
      "test_file": "bob_test.spec.js",<commit_msg>Fix broken smoke test<commit_after>{
  "assignments": [
    {
      "track": "ruby",
      "slug": "bob",
      "readme": "# Bob\n\nBob is a lackadaisical teenager. In conversation, his responses are very limited.\n\nBob answers 'Sure.' if you ask him a question.\n\nHe answers 'Whatever.' if you tell him something.\n\nHe answers 'Woah, chill out!' if you yell at him (ALL CAPS).\n\nHe says 'Fine. Be that way!' if you address him without actually saying anything.\n\n## Instructions\n\nRun the test file, and fix each of the errors in turn. When you get the first test to pass, go to the first pending or skipped test, and make that pass as well. When all of the tests are passing, feel free to submit.\n\nRemember that passing code is just the first step. The goal is to work towards a solution that is as readable and expressive as you can make it.\n\nHave fun!\n\n\n\n## Source\n\nInspired by the 'Deaf Grandma' exercise in Chris Pine's Learn to Program tutorial. [view source](http://pine.fm/LearnToProgram/?Chapter=06)\n",
      "test_file": "bob_test.rb",
      "tests": "require 'minitest/autorun'\n\nbegin\n  require_relative 'bob'\n\n  class TeenagerTest < MiniTest::Unit::TestCase\n    attr_reader :teenager\n\n    def setup\n      @teenager = Bob.new\n    end\n\n    def test_stating_something\n      assert_equal 'Whatever.', teenager.hey('Tom-ay-to, tom-aaaah-to.')\n    end\n\n    def test_shouting\n      skip\n      assert_equal 'Woah, chill out!', teenager.hey('WATCH OUT!')\n    end\n\n    def test_asking_a_question\n      skip\n      assert_equal 'Sure.', teenager.hey('Does this cryogenic chamber make me look fat?')\n    end\n\n    def test_talking_forcefully\n      skip\n      assert_equal 'Whatever.', teenager.hey(\"Let's go make out behind the gym!\")\n    end\n\n    def test_using_acronyms_in_regular_speech\n      skip\n      assert_equal 'Whatever.', teenager.hey(\"It's OK if you don't want to go to the DMV.\")\n    end\n\n    def test_forceful_questions\n      skip\n      assert_equal 'Woah, chill out!', teenager.hey('WHAT THE HELL WERE YOU THINKING?')\n    end\n\n    def test_shouting_numbers\n      skip\n      assert_equal 'Woah, chill out!', teenager.hey('1, 2, 3 GO!')\n    end\n\n    def test_shouting_with_special_characters\n      skip\n      assert_equal 'Woah, chill out!', teenager.hey('ZOMG THE %^*@#$(*^ ZOMBIES ARE COMING!!11!!1!')\n    end\n\n    def test_shouting_with_no_exclamation_mark\n      skip\n      assert_equal 'Woah, chill out!', teenager.hey('I HATE YOU')\n    end\n\n    def test_statement_containing_question_mark\n      skip\n      assert_equal 'Whatever.', teenager.hey('Ending with ? means a question.')\n    end\n\n    def test_silence\n      skip\n      assert_equal 'Fine. Be that way.', teenager.hey('')\n    end\n\n    def test_more_silence\n      skip\n      assert_equal 'Fine. Be that way.', teenager.hey(nil)\n    end\n  end\n\nrescue LoadError => e\n\n  def explain(something)\n    7.times { puts }\n    puts \"Hit enter to continue...\"\n    gets\n    7.times { puts }\n    puts something\n    puts\n  end\n\n  zomg = <<-ERROR\n######## ########  ########   #######  ########  \n##       ##     ## ##     ## ##     ## ##     ## \n##       ##     ## ##     ## ##     ## ##     ## \n######   ########  ########  ##     ## ########  \n##       ##   ##   ##   ##   ##     ## ##   ##   \n##       ##    ##  ##    ##  ##     ## ##    ##  \n######## ##     ## ##     ##  #######  ##     ## \n\n  ERROR\n  puts\n  puts zomg\n\n  explain \"I'm going to\\n* show you an error message,\\n* then explain what you're seeing\\n* then tell you how to fix it.\"\n  explain \"Seriously, don't freak out. It's not that bad.\"\n  explain \"OK, this is it:\\n\\n#{e.backtrace.first} #{e.message}\"\n  explain \"First it tells you the name of the file where the error is occurring.\\n\\n\\n\\tbob_test.rb\"\n  explain \"Then it tells you which line that error is on.\\n\\n\\n\\tbob_test.rb:5\"\n\n  explain \"After that, it tells you the name of the method where the error is occurring.\\n\\n\\n\\tin `require_relative'.\"\n  explain \"Next, it tells you exactly what the error is.\\n\\n\\n\\tcannot load such file\"\n  explain \"Finally, it tells you which file is missing.\\n\\n\\n\\t/path/to/your/code/ruby/bob/bob\"\n  explain \"So the error is that on line 5. What's on line 5?\\n\\n\\n\\trequire_relative 'bob'\"\n  explain \"Essentially, when we try to require the file, it says it's not there. You can fix the problem by creating an empty file named bob.rb inside of the ruby/bob directory.\"\n  explain \"Now take another look at the error message.\\nDoes it make more sense?\\n\\n\\n#{e.backtrace.first} #{e.message}\"\n  10.times { puts }\n  exit!\nend\n"
    },
    {
      "track": "javascript",
      "slug": "bob",
      "readme": "# Bob\n\nBob is a lackadaisical teenager. In conversation, his responses are very limited.\n\nBob answers 'Sure.' if you ask him a question.\n\nHe answers 'Whatever.' if you tell him something.\n\nHe answers 'Woah, chill out!' if you yell at him (ALL CAPS).\n\nHe says 'Fine. Be that way!' if you address him without actually saying anything.\n\n## Instructions\n\nRun the test file, and fix each of the errors in turn. When you get the first test to pass, go to the first pending or skipped test, and make that pass as well. When all of the tests are passing, feel free to submit.\n\nRemember that passing code is just the first step. The goal is to work towards a solution that is as readable and expressive as you can make it.\n\nHave fun!\n\n\n\n## Source\n\nInspired by the '<NAME>' exercise in <NAME>'s Learn to Program tutorial. [view source](http://pine.fm/LearnToProgram/?Chapter=06)\n",
      "test_file": "bob_test.spec.js",
{'fraction_non_alphanumeric': 0.15399069434502505, 'fraction_numerical': 0.003042233357193987, 'mean_word_length': 2.8225034199726404, 'pattern_counts': {'":': 20, '<': 12, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2758948', 'n_tokens_mistral': 3802, 'n_tokens_neox': 3613, 'n_words': 1266}