A Quick Puzzle to Test Your Problem Solving
121–130 of 311 posts
Re: A Quick Puzzle to Test Your Problem Solving
#122I ran this experiment for a while (code at https://github.com/darius/wason , derived from http://lesswrong.com/lw/g2/positive_bias_test_c_program/ ). In my logs most people seem to have gotten it right, though presumably that's because it was linked from LessWrong. For an actually-fun game like this, see https://en.wikipedia.org/wiki/Zendo_%28game%29 .
Re: A Quick Puzzle to Test Your Problem Solving
#123Re: A Quick Puzzle to Test Your Problem Solving
#124Earlier quoted context omitted.
That's exactly what I was thinking. I (sometimes) follow TDD, and I applied it to this problem. I made sure to include negatives, 0, positives, and include primes here or there to help avoid issues with multiplication/exponentiation. After a few of these, I felt pretty confident that the rule was simple.
My process was: [3 5 7] [7 5 3] [8 4 2] [5 7 3] [1 2 3] [1 1 1] [0 1 2] At that point I could've done some more to be really certain, but felt confident enough and guessed (correctly).
At that point, I correctly answered the question.
Re: A Quick Puzzle to Test Your Problem Solving
#125function judgeSentence(sentence, numNo) var probablyWrong = ["doubl", "expon", "multipl", "^", " ", "power", "two", "2", "twice", "as big", "nth", "rais"]; var seemsRight = ["larger", "increas", "greater", "small", "less", "big", ">", " Been expecting something more interesting than that
function judgeSentence(sentence, numNo) {
sentence = sentence.toLowerCase();
// no nos -> wrong.
if (numNo === 0 || sentence == "") {
return false;
}
// if have any fancy words -> wrong.
var probablyWrong = ["doubl", "expon", "multipl", "^", "**", "power", "two", "2", "twice", "as big", "nth", "rais"];
if (hasAny(probablyWrong, sentence)) {
return false;
}
// if you have the right words, and no buts.
var seemsRight = ["larger", "increas", "greater", "small", "less", "big", ">", " wrong.
// var s = nlp.pos(sentence).sentences[0],
// verbs = s.verbs().map(getWords),
// nouns = s.nouns().map(getWords),
// adj = s.adjectives().map(getWords),
// numWords = verbs.length + nouns.length + adj.length;
// if (numWords === 0) {
// return false;
// }
return false;
}Re: A Quick Puzzle to Test Your Problem Solving
#126Re: A Quick Puzzle to Test Your Problem Solving
#127The puzzle is not nearly as interesting as the code being able to understand my answer! My answer: The numbers increase from left to right Application response: As you seem to have guessed, the answer was extremely basic
I said "The numbers are in ascending order", which it didn't seem to recognise.
Re: A Quick Puzzle to Test Your Problem Solving
#128> A mere 8 percent heard at least three nos I guessed correctly with only 2 nos. Since there is no penalty for guessing incorrectly here, I felt safe enough with my theory. I might have checked for more nos, if I had to announce my theory publicly (Twitter, comment, etc). However, I also knew about Confirmation Bias beforehand.
I guessed correctly with only one no. You can enter all kinds of crazy random sequences which only have The Rule in common and get a yes, which seemed to be enough assurance. If you're trying to get it to say "no" but failing, is that still confirmation bias? Doesn't sound like it.
Re: A Quick Puzzle to Test Your Problem Solving
#129Re: A Quick Puzzle to Test Your Problem Solving
#130Anyone tried entering letters in the boxes? I didn't. I think that would have been an unexpected twist. So, after all, I think I fall in the trap of confirmation bias that the sequence must consist of numbers only.
>We’ve chosen a rule that some sequences of three numbers obey
>Now it’s your turn. Enter a number sequence in the boxes below, and we’ll tell you whether it satisfies the rule or not.