Live data from Hacker News

Here is the 15 sec coding test I used to instantly filter out most applicants

josezarazua.com

11–20 of 111 posts

Re: Here is the 15 sec coding test I used to instantly filter out most applicants

#11
I think it’s important to test these systems. Let some % of candidates who get this wrong through to the next stage and see what happens. Does failing this test actually correlate with being a bad fit later?

If you want to ineffectivly filter out most candidates just auto-reject everything that doesn’t arrive on a timestamp ending in 1.

Re: Here is the 15 sec coding test I used to instantly filter out most applicants

#12
post #6
post #2

That was REALLY weird to read. In reader mode the comparator in the first conditional was >=. But without reader mode it was just >.

Was that the trick? When copying the text, it is also >=, which is why an online search or AI tools probably give the wrong answer as the article asserts. If you correct the code then at least Claude gives the right answer.

The trick is that the = has CSS styling with "opacity: 0; font-size: 1px;".

Re: Here is the 15 sec coding test I used to instantly filter out most applicants

#14
What most interviews get wrong is that there are usually just a few "bullet points" that if you see them, you instantly know that the the candidate at least has the technical chops.

Instead of creating a test that specifically aims for those bullet points, many technical assessments end up with convoluted scaffolding when actually, only those key bullet points really matter.

Like the OP, I can usually tell if a candidate has the technical chops in just a handful of really straightforward questions for a number of technical domains.

Re: Here is the 15 sec coding test I used to instantly filter out most applicants

#16
post #2

That was REALLY weird to read. In reader mode the comparator in the first conditional was >=. But without reader mode it was just >.

exactly the reason why you NEVER should copy-paste code from a website into your terminal, even if that has paste protection (https://lwn.net/Articles/749992/)

Re: Here is the 15 sec coding test I used to instantly filter out most applicants

#17
For anyone who missed the (poorly-explained) trick, the website uses a CSS trick to insert an equals sign, thus showing different code if read or if copied/pasted. That's how the author knows whether you solved it in your head or pasted it somewhere.

Re: Here is the 15 sec coding test I used to instantly filter out most applicants

#18

I think it’s important to test these systems. Let some % of candidates who get this wrong through to the next stage and see what happens. Does failing this test actually correlate with being a bad fit later? If you want to ineffectivly filter out most candidates just auto-reject everything that doesn’t arrive on a timestamp ending in 1.

_How_ can you be a good hire for a _software engineering_ position, if you can’t get that one correct though?

Re: Here is the 15 sec coding test I used to instantly filter out most applicants

#20
post #8
post #2

That was REALLY weird to read. In reader mode the comparator in the first conditional was >=. But without reader mode it was just >.

Which is literally the point of the post. They have the = in >= at an opacity of 0 and a font-size of 1, which means it doesn't appear if styles are used properly. And their point is that candidates that copy/paste such trivial code into an AI/interpreter will get -11 because it just sees the >=. Though a gap in their process is that, as you mentioned, various reading modes also remove styles and likewise might see i…

> into an AI solver

Not just an "AI solver", a Python interpreter will also do it "wrong". The idea is that it's so simple that anyone qualified should be able to do it in their head, so they get the answer without the equals sign (but IMO a qualified applicant might also know it takes 5 seconds to run it in the repl and it'd be better to be correct than to use the fewest tools, or might be using a screen reader).

Post reply on HN