Skip to content

Complete select-winners API for all supported methods #280

@3m1n3nc3

Description

@3m1n3nc3

Problem

Winner selection endpoint supports only part of the required selection methods and has ambiguous input behavior.

Current State

  • Method handling is random/manual only.
  • Manual mode accepts mixed IDs without strict contract validation.
  • Merit-based and first-come parity logic is incomplete.

Acceptance Criteria

  • Define strict request schema per method (entry IDs vs user IDs).
  • Add explicit support for required selection modes and deterministic validations.
  • Prevent duplicate or out-of-scope winner assignment in a single transaction.
  • Emit post status and notifications consistently after winner selection.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions