jiebi/CodeConvo huggingface dataset:
Change:
This should have all four elements in the final array but it does not. Have to beef up the validation on the tests.
Correct code for testing purposes.
It looks like this is for

Discussion:
"assert.deepEqual(diff(["andesite", "grass", "dirt", "dead shrub"], ["andesite", "grass", "dirt", "dead shrub"]), [], 'message: <code>["andesite", "grass", "dirt", "dead shrub"], ["andesite", "grass", "dirt", "dead shrub"]</code> should return <code>[]</code>.');", "assert.deepEqual(diff([1, 2, 3, 5], [1, 2, 3, 4, 5]), [4], 'message: <code>[1, 2, 3, 5], [1, 2, 3, 4, 5]</code> should return <code>[4]</code>.');", "assert.includeMembers(diff([1, "calf", 3, "piglet"], [1, "calf", 3, 4]), ["piglet", 4], 'message: <code>[1, "calf", 3, "piglet"], [1, "calf", 3, 4]</code> should return <code>["piglet", 4]</code>.');", <del> "assert.deepEqual(diff([], ["snuffleupagus", "cookie monster", "elmo"]), ["snuffleupagus", "cookie monster", "elmo"], 'message: <code>[], ["snuffleupagus", "cookie monster", "elmo"]</code> should return <code>["snuffleupagus", "cookie monster", "elmo"]</code>.');" </del> <ins> "assert.deepEqual(diff([], ["snuffleupagus", "cookie monster", "elmo"]), ["snuffleupagus", "cookie monster", "elmo"], 'message: <code>[], ["snuffleupagus", "cookie monster", "elmo"]</code> should return <code>["snuffleupagus", "cookie monster", "elmo"]</code>.');", "assert.includeMembers(diff([1, "calf", 3, "piglet"], [7, "filly"]), [1, "calf", 3, "piglet", 7, "filly"], 'message: <code>[1, "calf", 3, "piglet"], [7, "filly"]</code> should return <code>[1, "calf", 3, "piglet", 7, "filly"]</code>.');" </ins> ], "MDNlinks": [ "Comparison Operators",
Change:
Having experienced some issues in correctly understanding what is actually requested in the instructions of Bonfire , I'd like to suggest a minor update to its description as follows: Do note that not understanding the current instructions may be language barrier related, and once you actually understand what is being asked the current instructions do seem clear. However, searching the Gitter chat logs does reveal that other people seem to be struggling with the aforementioned as well.
I did not understand the directions either. This makes more sense.

Discussion:
"title": "Smallest Common Multiple", "difficulty": "2.11", "description": [ <del> "Find the smallest number that is evenly divisible by all numbers in the provided range.", "In other words, given the range [3,7], you will need to find the least common multiple of 3, 4, 5, 6, and 7.", </del> <ins> "Find the smallest common multiple of the provided parameters that can be evenly divided by both, as well as by all sequential numbers in the range between these parameters.", </ins> "The range will be an array of two numbers that will not necessarily be in numerical order.", <ins> "e.g. for 1 and 3 - find the smallest common multiple of both 1 and 3 that is evenly divisible by all numbers <em>between</em> 1 and 3.", </ins> "Remember to use <a href='//github.com/FreeCodeCamp/freecodecamp/wiki/How-to-get-help-when-you-get-stuck' target='_blank'>Read-Search-Ask</a> if you get stuck. Try to pair program. Write your own code." ], "challengeSeed": [
Change:
The instinct on this bonfire is to total up all the change in the drawer to determine whether this is greater than the amount required. This will, however, miss the case where you don't have sufficient lower denominations to make change. In this case, we have a total of 2.50. A test should be written to check for a return value of 'Insufficient Funds' in this case.
I agree, I notice this today so it's still hasn't been resolved. I tested one where I was short two pennies... should I just give the customer back a nickel? ha! FYI that I created an "if" statement at the end that if the amount due doesn't equal zero, then it returns "Insufficient Funds" instead of the array of denominations.

Discussion:
"assert.deepEqual(drawer(19.50, 20.00, [["PENNY", 1.01], ["NICKEL", 2.05], ["DIME", 3.10], ["QUARTER", 4.25], ["ONE", 90.00], ["FIVE", 55.00], ["TEN", 20.00], ["TWENTY", 60.00], ["ONE HUNDRED", 100.00]]), [["QUARTER", 0.50]], 'message: <code>drawer(19.50, 20.00, [["PENNY", 1.01], ["NICKEL", 2.05], ["DIME", 3.10], ["QUARTER", 4.25], ["ONE", 90.00], ["FIVE", 55.00], ["TEN", 20.00], ["TWENTY", 60.00], ["ONE HUNDRED", 100.00]])</code> should return <code>[["QUARTER", 0.50]]</code>.');", "assert.deepEqual(drawer(3.26, 100.00, [["PENNY", 1.01], ["NICKEL", 2.05], ["DIME", 3.10], ["QUARTER", 4.25], ["ONE", 90.00], ["FIVE", 55.00], ["TEN", 20.00], ["TWENTY", 60.00], ["ONE HUNDRED", 100.00]]), [["TWENTY", 60.00], ["TEN", 20.00], ["FIVE", 15], ["ONE", 1], ["QUARTER", 0.50], ["DIME", 0.20], ["PENNY", 0.04]], 'message: <code>drawer(3.26, 100.00, [["PENNY", 1.01], ["NICKEL", 2.05], ["DIME", 3.10], ["QUARTER", 4.25], ["ONE", 90.00], ["FIVE", 55.00], ["TEN", 20.00], ["TWENTY", 60.00], ["ONE HUNDRED", 100.00]])</code> should return <code>[["TWENTY", 60.00], ["TEN", 20.00], ["FIVE", 15], ["ONE", 1], ["QUARTER", 0.50], ["DIME", 0.20], ["PENNY", 0.04]]</code>.');", "assert.deepEqual(drawer(19.50, 20.00, [["PENNY", 0.01], ["NICKEL", 0], ["DIME", 0], ["QUARTER", 0], ["ONE", 0], ["FIVE", 0], ["TEN", 0], ["TWENTY", 0], ["ONE HUNDRED", 0]]), "Insufficient Funds", 'message: <code>drawer(19.50, 20.00, [["PENNY", 0.01], ["NICKEL", 0], ["DIME", 0], ["QUARTER", 0], ["ONE", 0], ["FIVE", 0], ["TEN", 0], ["TWENTY", 0], ["ONE HUNDRED", 0]])</code> should return "Insufficient Funds".');", <ins> "assert.deepEqual(drawer(19.50, 20.00, [["PENNY", 0.01], ["NICKEL", 0], ["DIME", 0], ["QUARTER", 0], ["ONE", 1.00], ["FIVE", 0], ["TEN", 0], ["TWENTY", 0], ["ONE HUNDRED", 0]]), "Insufficient Funds", 'message: <code>drawer(19.50, 20.00, [["PENNY", 0.01], ["NICKEL", 0], ["DIME", 0], ["QUARTER", 0], ["ONE", 1.00], ["FIVE", 0], ["TEN", 0], ["TWENTY", 0], ["ONE HUNDRED", 0]])</code> should return "Insufficient Funds".');", </ins> "assert.deepEqual(drawer(19.50, 20.00, [["PENNY", 0.50], ["NICKEL", 0], ["DIME", 0], ["QUARTER", 0], ["ONE", 0], ["FIVE", 0], ["TEN", 0], ["TWENTY", 0], ["ONE HUNDRED", 0]]), "Closed", 'message: <code>drawer(19.50, 20.00, [["PENNY", 0.50], ["NICKEL", 0], ["DIME", 0], ["QUARTER", 0], ["ONE", 0], ["FIVE", 0], ["TEN", 0], ["TWENTY", 0], ["ONE HUNDRED", 0]])</code> should return "Closed".');" ], "MDNlinks": [
Change:
A camper relayed this to me: There is some problem with the first challenge ending button on android with firefox browser. And in this moment I tried in chrome too, the issue is the same, the button is not active after the challenge is done. Xperia Z1 compact, android: 5.0.2, firefox: 39.0 Chrome: 43.0.2357.93
This is an issue whenever the screen size is small. It will also happen on a desktop if you resize the window to half screen or less.

Discussion:
script(type='text/javascript', src='/js/lib/jailed/jailed.js') .row(ng-controller="pairedWithController") <del> .col-xs-12.col-sm-12.col-md-4.col-lg-3 </del> <ins> .col-md-4.col-lg-3 </ins> .scroll-locker(id = "scroll-locker") .innerMarginFix(style=' width: 99%') #testCreatePanel.well

var _ = R; var dashed = !{JSON.stringify(dashedName)}; <del> .col-xs-12.col-sm-12.col-md-8 </del> <ins> .col-md-8.col-lg-9 </ins> .editorScrollDiv(style = "overflow-y: auto; overflow-x: hidden;") #mainEditorPanel form.code

script(src='/js/lib/codemirror/mode/htmlmixed/htmlmixed.js') script(src='/js/lib/codemirror/addon/emmet/emmet.js') .row.courseware-height <del> .col-xs-12.col-sm-12.col-md-3.col-lg-3 </del> <ins> .col-md-3.col-lg-3 </ins> .scroll-locker(id = "scroll-locker") .innerMarginFix(style = "width: 99%;") .well

var dashedName = !{JSON.stringify(dashedName)}; var challengeType = !{JSON.stringify(challengeType)}; var started = Math.floor(Date.now()); <del> .col-xs-12.col-sm-12.col-md-5.col-lg-6 </del> <ins> .col-md-5.col-lg-6 </ins> .editorScrollDiv(style = "overflow-y: auto; overflow-x: hidden;") #mainEditorPanel form.code

script(type='text/javascript', src='/js/lib/codemirror/mode/javascript/javascript.js') script(type='text/javascript', src='/js/lib/jailed/jailed.js') .row(ng-controller="pairedWithController") <del> .col-xs-12.col-sm-12.col-md-4.col-lg-3 </del> <ins> .col-md-4.col-lg-3 </ins> .scroll-locker(id = "scroll-locker") .innerMarginFix(style = "width: 99%;") #testCreatePanel.well

var challengeType = !{JSON.stringify(challengeType)}; var _ = R; var dashed = !{JSON.stringify(dashedName)}; <del> .col-xs-12.col-sm-12.col-md-8 </del> <ins> .col-md-8.col-lg-9 </ins> .editorScrollDiv(style = "overflow-y: auto; overflow-x: hidden;") #mainEditorPanel form.code

extends ../layout-wide block content .row <del> .col-xs-12.col-sm-12.col-md-4.bonfire-top </del> <ins> .col-md-4.bonfire-top </ins> h1.text-center= name .well h4

input(type='checkbox' class='challenge-list-checkbox') .col-xs-9.col-sm-11.col-md-10 li.step-text.wrappable!= step <del> .col-xs-12.col-sm-12.col-md-8 </del> <ins> .col-md-8 </ins> .embed-responsive.embed-responsive-16by9 iframe.embed-responsive-item(src='//player.vimeo.com/video/#{video}') br
Change:
Challenge has an issue. In JavaScript whole numbers (called integers) can be easily used to preform mathematical functions <-- Let's try a few of the most commonly used ones now <--- We use * for multiplication <---
merged to

Discussion:
"dashedName": "waypoint-add-two-numbers-with-javascript", "difficulty": "9.98141", "description": [ <del> "In JavaScript whole numbers (called integers) can be easily used to preform mathematical functions", "Let's try a few of the most commonly used ones now", "We use <code>+</code>for addition", </del> <ins> "In JavaScript whole numbers (called integers) can be easily used to perform mathematical functions.", "Let's try a few of the most commonly used ones now.", "We use <code>+</code>for addition.", </ins> "Replace the <code>0</code>with correct number to achieve the result in the comment." ], "tests": [

"dashedName": "waypoint-subtract-one-number-from-another-with-javascript", "difficulty": "9.98142", "description": [ <del> "In JavaScript whole numbers (called integers) can be easily used to preform mathematical functions", "Let's try a few of the most commonly used ones now", "We use <code>-</code>for subtraction", </del> <ins> "In JavaScript whole numbers (called integers) can be easily used to perform mathematical functions.", "Let's try a few of the most commonly used ones now.", "We use <code>-</code>for subtraction.", </ins> "Replace the <code>0</code>with correct number to achieve the result in the comment." ], "tests": [

"dashedName": "waypoint-multiply-two-numbers-with-javascript", "difficulty": "9.98143", "description": [ <del> "In JavaScript whole numbers (called integers) can be easily used to preform mathematical functions", "Let's try a few of the most commonly used ones now", "We use <code>*</code>for multiplication", </del> <ins> "In JavaScript whole numbers (called integers) can be easily used to perform mathematical functions.", "Let's try a few of the most commonly used ones now.", "We use <code>*</code>for multiplication.", </ins> "Replace the <code>0</code>with correct number to achieve the result in the comment." ], "tests": [

"dashedName": "waypoint-divide-one-number-by-another-with-javascript", "difficulty": "9.9814", "description": [ <del> "In JavaScript whole numbers (called integers) can be easily used to preform mathematical functions", "Let's try a few of the most commonly used ones now", "We use <code>/</code>for division", </del> <ins> "In JavaScript whole numbers (called integers) can be easily used to perform mathematical functions.", "Let's try a few of the most commonly used ones now.", "We use <code>/</code>for division.", </ins> "Replace the <code>0</code>with correct number to achieve the result in the comment." ], "tests": [

"dashedName": "waypoint-create-decimal-numbers-with-javascript", "difficulty": "9.9815", "description": [ <del> "in JavaScript we can can work with decimal numbers", </del> <ins> "In JavaScript we can can work with decimal numbers.", </ins> "Let's create a variable <code>myDecimal</code> and give it a decimal value." ], "tests": [
Change:
Challenge has an issue. Please describe how to reproduce it, and include links to screen shots if possible. The instruction on the bonfire says It might be better to reword this as array since in JavaScript there is nothing called list and also it might mean different thing in different context (Data Structures!). !

Discussion:
"dashedName": "bonfire-where-art-thou", "difficulty": "1.55", "description": [ <del> "Make a function that looks through a list (first argument) and returns an array of all objects that have equivalent property values (second argument).", </del> <ins> "Make a function that looks through an array (first argument) and returns an array of all objects that have equivalent property values (second argument).", </ins> "Remember to use <a href='//github.com/FreeCodeCamp/freecodecamp/wiki/How-to-get-help-when-you-get-stuck' target='_blank'>RSAP</a> if you get stuck. Try to pair program. Write your own code." ], "challengeSeed": [
Change:
Challenge has an issue. Please describe how to reproduce it, and include links to screen shots if possible. The capital letter versions of HTML entities are not valid for the tests. Perhaps you could or them through. Also maybe you could remind users to include the ";" at the end of their entities in the description. Thanks for all your teams great work! I'm loving
I fixed the allowed capitalization. The shows every entity with a semicolon at the end, so I don't think it's necessary to add a reminder.

Discussion:
"convert('Dolce & Gabbana');" ], "tests": [ <del> "assert.strictEqual(convert('Dolce & Gabbana'), 'Dolce &amp; Gabbana', 'should escape characters');", "assert.strictEqual(convert('Hamburgers < Pizza < Tacos'), 'Hamburgers &lt; Pizza &lt; Tacos', 'should escape characters');", "assert.strictEqual(convert('Sixty > twelve'), 'Sixty &gt; twelve', 'should escape characters');", "assert.strictEqual(convert('Stuff in "quotation marks"'), 'Stuff in &quot;quotation marks&quot;', 'should escape characters');", "assert.strictEqual(convert("Shindler's List"), 'Shindler&apos;s List', 'should escape characters');", "assert.strictEqual(convert('<>'), '&lt;&gt;', 'should escape characters');", </del> <ins> "assert.match(convert('Dolce & Gabbana'), /Dolce &(amp|AMP|#x00026|#38); Gabbana/, 'should escape characters');", "assert.match(convert('Hamburgers < Pizza < Tacos'), /Hamburgers &(lt|LT|#x0003C|#60); Pizza &(lt|LT|#x0003C|#60); Tacos/, 'should escape characters');", "assert.match(convert('Sixty > twelve'), /Sixty &(gt|GT|#x0003E|#62); twelve/, 'should escape characters');", "assert.match(convert('Stuff in "quotation marks"'), /Stuff in &(quot|QUOT|#x00022|#34);quotation marks&(quot|QUOT|#x00022|#34);/, 'should escape characters');", "assert.match(convert("Shindler's List"), /Shindler&(apos|#x00027|#39);s List/, 'should escape characters');", "assert.match(convert('<>'), /&(lt|LT|#x0003C|#60);&(gt|GT|#x0003E|#62);/, 'should escape characters');", </ins> "assert.strictEqual(convert('abc'), 'abc', 'should handle strings with nothing to escape');" ], "MDNlinks": [
Change:
Challenge has an issue. The commented code sample at the top of the challenge is missing commas between properties. <img width="1158" alt="screen shot 2015-08-16 at 5 01 57 pm" src=""
And on this challenge, too.

Discussion:
], "challengeSeed":[ "//var ourDog = {", <del> "//   "name": "Camper"", "//   "legs": 4", "//   "tails": 1", </del> <ins> "//   "name": "Camper",", "//   "legs": 4,", "//   "tails": 1,", </ins> "//   "friends": ["everything!"]", "//};", "",

], "challengeSeed":[ "// var ourDog = {", <del> "//   "name": "Camper"", "//   "legs": 4", "//   "tails": 1", </del> <ins> "//   "name": "Camper",", "//   "legs": 4,", "//   "tails": 1,", </ins> "//   "friends": ["everything!"]", "// };", "",
Change:
Challenge has an issue. The original text is, "Regular expressions are way to find certain words or patterns inside of strings." It should instead read, "Regular expressions are a way to find certain words or patterns inside of strings." I would instead write, "Regular expressions are used to find certain words or patterns inside of strings."

Discussion:
"title": "Sift through Text with Regular Expressions", "difficulty":"9.984", "description":[ <del> "<code>Regular expressions</code> are way to find certain words or patterns inside of <code>strings</code>.", </del> <ins> "<code>Regular expressions</code> are used to find certain words or patterns inside of <code>strings</code>.", </ins> "For example, if we wanted to find the number of times the word <code>the</code> occurred in the string <code>The dog chased the cat</code>, we could use the following <code>regular expression</code>: <code>/the+/gi</code>", "Let's break this down a bit:", "<code>the</code> is the pattern we want to match.",
Change:
Challenge has an issue. Please describe how to reproduce it, and include links to screenshots if possible.

Discussion:
], "challengeSeed":[ "function myFunction(){", <del> "  // Make myFunction return a random number between zero and nine instead of a decimal", </del> <ins> "  // Make myFunction return a random number between 'min' and 'max' instead of a decimal", </ins> "", "  // Only change code below this line.", "",
Change:
! Hi I have found this on my Learning Map... Hope this can help you all in solving bugs... :)
! Note: it seems to appear only on the section of lessons that I have completed.
This was fixed in and can be closed.
after reloading the page, I still get this - has the fix not been pushed to the server yet?
It got pushed just there folks!

Discussion:
.col-xs-12.col-sm-9.col-md-10 li.large-p.faded.negative-10 a(href='#' + challengeBlock.dashedName)= challengeBlock.name <del> h3= challengeBlock </del> else .hidden-xs.col-sm-3.col-md-2 .progress.progress-bar-padding.text-center.thin-progress-bar
Change:
Challenge has an issue. With this code It validate the task "Use the (".btn").
Created PR

Discussion:
], "tests": [ "assert(editor.match(/$(.*button/g), 'Use the <code>$&#40"button"&#41</code> selector.')", <del> "assert(editor.match(/$(.*.btn/g), 'Use the <code>$&#40".btn"&#41</code> selector.')", </del> <ins> "assert(editor.match(/$(.*.btn/g), 'Use the <code>$&#40".btn"&#41</code> selector.')", </ins> "assert(editor.match(/$(.*#target1/g), 'Use the <code>$&#40"#target1"&#41</code> selector.')", "assert(editor.match(/addClass/g) && editor.match(/addClass/g).length > 2, 'Only add one class with each of your three selectors.')", "assert($("#target1").hasClass("animated") && $("#target1").hasClass("shake") && $("#target1").hasClass("btn-primary"), 'Your <code>#target1</code> element should have the classes <code>animated</code>&#130; <code>shake</code> and <code>btn-primary</code>.')",
Change:
Challenge has an issue. Please describe how to reproduce it, and include links to screenshots if possible. Should that '' be there at the end of Here's an example of how you can take your element with the id attribute of cat-photo-element and give it the background color of green. In your style element: #cat-photo-element { background-color: green; }? <img width="271" alt="screenshot 2015-08-17 14 56 24" src=""
No, it shouldn't. I can take care of this if that's not a problem.
If you want to take a stab go for it!

Discussion:
"difficulty": 1.392, "description": [ "One cool thing about <code>id</code> attributes is that, like classes, you can style them using CSS.", <del> "Here's an example of how you can take your element with the <code>id</code> attribute of <code>cat-photo-element</code> and give it the background color of green. In your <code>style</code> element: <code>#cat-photo-element { background-color: green; }></code>", </del> <ins> "Here's an example of how you can take your element with the <code>id</code> attribute of <code>cat-photo-element</code> and give it the background color of green. In your <code>style</code> element: <code>#cat-photo-element { background-color: green; }</code>", </ins> "Note that inside your <code>style</code> element, you always reference classes by putting a <code>.</code> in front of their names. You always reference ids by putting a <code>#</code> in front of their names.", "Try giving your form, which now has the <code>id</code> attribute of <code>cat-photo-form</code>, a green background." ],
Change:
Challenge has an issue. Please describe how to reproduce it, and include links to screenshots if possible. <img width="328" alt="screenshot 2015-08-17 14 58 06" src="""Make sure your form element has both an id attribute." if you say 'both', it would mean an id attribute AND something else, right?
On it.

Discussion:
"tests": [ "assert($("form").attr("id") === "cat-photo-form", 'Give your <code>form</code> element the id of <code>cat-photo-form</code>.')", "assert($("#cat-photo-form").css("background-color") === "rgb(0, 128, 0)", 'Your <code>form</code> element should have the <code>background-color</code> of green.')", <del> "assert(editor.match(/<form.*cat-photo-form.*>/gi) && editor.match(/<form.*cat-photo-form.*>/gi).length > 0, 'Make sure your <code>form</code> element has both an <code>id</code> attribute.')", </del> <ins> "assert(editor.match(/<form.*cat-photo-form.*>/gi) && editor.match(/<form.*cat-photo-form.*>/gi).length > 0, 'Make sure your <code>form</code> element has an <code>id</code> attribute.')", </ins> "assert(!editor.match(/<form.*style.*>/gi) && !editor.match(/<form.*class.*>/gi), 'Do not give your <code>form</code> any <code>class</code> or <code>style</code> attributes.')" ], "challengeSeed": [
Change:
The variable "firstLetterOfLastName" is declared twice and the variable "firstLetterOfFirstName" is undeclared. !

Discussion:
"assert((function(){if(typeof(firstLetterOfLastName) !== "undefined" && editor.getValue().match(/[0]/gi) && typeof(firstLetterOfLastName) === "string" && firstLetterOfLastName === "L"){return(true);}else{return(false);}})(), 'The first letter of firstLetterOfLastName should be a L');" ], "challengeSeed": [ <del> "var firstLetterOfLastName = "";", </del> <ins> "var firstLetterOfFirstName = "";", </ins> "var firstLetterOfLastName = "";", "", "var firstName = "Ada";",
Change:
Challenge has an issue: ! The directions should state that myRemoved should contain the first element of myArray.
Related to:
Thanks this should be an easy fix.

Discussion:
"difficulty": "9.9817", "description": [ "<code>pop()</code> always removes the last element of an array. What if you want to remove the first? That's where <code>.shift()</code> comes in.", <del> "Take the myArray array and <code>shift()</code> the first value off of it." </del> <ins> "Take the myArray array and <code>shift()</code> the first value off of it.  Set <code>myRemoved</code> to the first value of <code>myArray</code> using <code>shift()</code>." </ins> ], "tests": [ "assert((function(d){if(d[0] == 23 && d[1][0] == 'dog' && d[1][1] == 3 && d[2] == undefined){return true;}else{return false;}})(myArray), 'myArray should only have the last two values left([23, ["dog", 3]])');",
Change:
Challenge has an issue: ! It looks to me as if this code is missing a closing code bracket:

Discussion:
"We can use if statements in JavaScript to only execute code if a certain condition is met.", "if statements require some sort of boolean condition evaluate.", "Example:", <del> "<code> if (1 == 2) {", </del> <ins> "<code> if (1 == 2) {</code>", </ins> "<code>&thinsp;&thinsp;return(true);</code>", "<code>}</code>", "<code>else {</code>",