AssertionError: Something went wrong with the score computation : b

Hi,

I am trying to submit the submissions, but my last 4 submission showed Assertion Error, and I am trying to understand what can be the problem because it’s in the format

query_id,product_id
xxxx,xxxx
xxxx.xxxx

The first few submissions were scored without any problem.

dtypes are object for both the columns

Is there any specific dtype I need to follow?

Thanks,

Hi!
it would be helpful to know which task are you talking about. However, if you check the example submissions provided with the data, you will notice that none of them require the (“query_id”,“product_id”) you indicated above.

Task1:

product_id,query_id
B07VCHYQXY,33777

Task2:

example_id,esci_label
2227371,irrelevant

Task3:

example_id,substitute_label
2227371,substitute

I hope that helps!

Hi, Thanks for your reply.

I was talking about Task1,

I don’t think the sequence of the column matters as it have header already.

I tried with

product_id,query_id
B07VCHYQXY,33777

But still I have the same error. Maybe I am missing something.

Hi, you need to make sure the following points are all fulfilled before submission:

  1. Same product_id May appear in different locale, so you need to make sure each product_id corresponds to its location
  2. Drop NA
  3. The index=false should be set before output to csv
    Hope this could help