GradePublisher

Publishes grades to A+ and checks whether a specific publication was accepted.

A failure that does not implement DefiniteGradePublicationRejection may be ambiguous. Callers must query confirmation before releasing a send claim or retrying with different content.

Functions

Link copied to clipboard
abstract suspend fun confirmation(token: String, grade: GradePublication): GradeConfirmation?

Returns the matching A+ submission when the publication ID and points both agree.

Link copied to clipboard
abstract suspend fun publish(token: String, grade: GradePublication)

Posts grade using token.