[Week 3] Bug in Unit Test - Assignment 2 - trigger-word-detection

Hi,

Found a bug in Assignment 2 - trigger-word-detection. In Unit Test for UNQ_C3, there’s a check:

assert arr1[0][segment_end_y] == 0, f"Array at {segment_end_y} must be 1"

here the last 1 should be 0. Took me > 5 minutes to figure out what’s going on… got really confused… wrote a lot of debugging code and in the end realized the assertion is different than the text…

Br
An Chin

So, the bug is a typo, that “must be 1” should say “must be 0”?

Thanks, I have reported it to the course staff.

yes. or “must not be 1” :smiley: