DemocracyDevelopers / colorado-rla

Colorado Risk-Limiting Audit (RLA) software – developed to support risk-limiting post-election audits of election outcomes.
Other
0 stars 0 forks source link

Responses from raire #79

Closed vteague closed 4 months ago

vteague commented 5 months ago

Implement models for responses from raire, with tests. Note that colorado-rla does not need to understand any of the file return data types (csv or json) - only the GenerateAssertionsResponse with the winner. This can probably be copied from raire-service. Error codes are returned in the http header, so possibly copy those from raire-service too.

vteague commented 5 months ago

This actually requires some carefully-designed tests, because it's important not only to understand the success path but also to respond appropriately to all of the errors that the raire-service may return. The Design Doc V1.1 gives a very good idea of what to do, but is slightly out of date wrt return types and some error codes. Make sure to read V1.2.

vteague commented 4 months ago

I have