Wrong json output format - algorithm container failed

Wrong json output format - algorithm container failed  

  By: Sdahan on April 27, 2022, 4:48 p.m.

Hello,

I am currently testing my algorithm on the plateform but I keep having this error: "The file produced at birth-age.json is not valid'.
Although, my algorithm container is passing all test from the evalutils bash test script; and is saved at the correct location '/output/birth-age.json'

The output of my algorithm is only a single float, and I have tried to save the result in a dictionnary as {'age': [float_result]}, without any luck on the grand challenge plateform.

Thank you for your help

Re: Wrong json output format - algorithm container failed  

  By: amickan on April 28, 2022, 6:45 a.m.

Hi Simon,

The json file should only contain the float, not a dictionary.

Best,
Anne