SetExpectedErrors allows only one error per status code
SetExpectedErrors allows only one error per status code: a task in swe-rebench-v2.1-rl-isolated-1k: SWE-rebench V2.1 RL, isolated grading (1k subset) (Harbor dataset). It would be useful to be able to document multiple reasons an endpoint request can fail with the same status code. In my use case…
The task
It would be useful to be able to document multiple reasons an endpoint request can fail with the same status code. In my use case, the client can create a "prediction" via a JSON blob, and there are a million things that can be wrong with it, but most of them will be a BadRequest.