Skip to content

The outputs parameter from an Algorithm does not raise exceptions for unknown outputs

I have an algorithm, let's say this:

class Algorithm:
    def process(self, inputs, data_loaders, outputs):
        # Writes the output
        outputs["score"].write({"value": np.int32(60)})
        return True

but the output is called scores and not score. However, the output of outputs["score"] is None instead of an exception, why?