Summary
For challenges with deterministic pass/fail criteria, automate winner selection and payout based on CI test results.
Rationale
Human voting creates latency and dependency. For objective challenges (code passes tests = correct), we can:
- Skip the voting phase entirely
- Auto-release escrow when CI confirms solution validity
- Reduce human-in-the-loop friction
Implementation Ideas
- Flag challenges as
deterministic at creation time
- CI workflow triggers payout on passing PR merge
- Escrow contract receives signal from trusted oracle (GitHub Actions)
Edge Cases
- Multiple valid solutions: first to merge wins, or split by contribution
- Partial solutions: configurable thresholds
Related
Addresses voting dependency gap β no human needed for objective challenges.