Task 17: IndexError: boolean index did not match indexed array along axis 0; size of axis is 3 but size of corresponding boolean axis is 15

Task 17: IndexError: boolean index did not match indexed array along axis 0; size of axis is 3 but size of corresponding boolean axis is 15  

  By: aditya.vartak on June 17, 2025, 4:34 a.m.

I am unable to decipher what this error corresponds to.

Surprisingly, i cannot see the entry for this submission in my algorithm results page too. hence i dont have any logs to share for this issue

Re: Task 17: IndexError: boolean index did not match indexed array along axis 0; size of axis is 3 but size of corresponding boolean axis is 15  

  By: aditya.vartak on June 17, 2025, 5:45 a.m.

Similar Error observed for task 18

ValueError: operands could not be broadcast together with shapes (9,) (3,)

Note: The Results section now show the execution of Task 17 and 18 as successful, but submission to leaderboard failed due to these errors.

Re: Task 17: IndexError: boolean index did not match indexed array along axis 0; size of axis is 3 but size of corresponding boolean axis is 15  

  By: LucBuiltjes on June 17, 2025, 1:33 p.m.

Hi,

The issues lies in the format of your output. For Task17, each output value should be a list of floats with length 5. For Task18, the same with length 3. Your output is a list of length 1.

Hope this helps!