Codeforces / polygon-issue-tracking

polygon-issue-tracking
16 stars 2 forks source link

problem.viewTestGroup always returns code 400 saying there are no test groups #460

Closed jvmusin closed 3 years ago

jvmusin commented 3 years ago

The method problem.viewTestGroup always returns code 400 saying there are no test groups no matter if the problem has test groups enabled or not. The response body is:

{
  "status": "FAILED",
  "comment": "testset: Test groups are disabled for the specified testset"
}

The problem (id 144845) for which I'm trying to get test groups has this testset: image

geranazavr555 commented 3 years ago

Will be fixed soon, thanks

geranazavr555 commented 3 years ago

Seems to be fixed, check please

jvmusin commented 3 years ago

It works, thank you. It would be great if you also update the TestGroup description in the documentation since it doesn't include the field named feedbackPolicy, but the response has this field.

geranazavr555 commented 3 years ago

Done, @MikeMirzayanov

jvmusin commented 3 years ago

Thanks.

And I'd also report some inaccuracies according docs

There are two fields in the documentation of the Test entity: inputForStatements outputForStatements But API returns this: inputForStatement outputForStatement (without s at the and)

There is a field revision in the Package entity, but it's not decribed in the documentation.

jvmusin commented 3 years ago

Seems to be fixed, thank you.