Rank items by pairwise comparison tournament
tournament-sortworkflowsetup L2★0
scasella/claude-dynamic-workflows-codex ↗What it does
Rank large lists via pairwise tournament without loading all in one agent
Best for
Ranking hundreds of items by a nuanced criterion without exhausting a single agent's context window.
Inputs
- · items to rank (array)
- · ranking criterion (qualitative description)
Outputs
- · globally sorted list
- · comparison matrix (optional)
Requires
- · agent()
- · parallel()
- · schema + ranking logic
Preconditions
Workflow runtime; criterion unambiguous; items hashable (for dedup)
Failure modes
- · Bucket rankings disagree on order (ties)
- · Final merge drops items or introduces duplicates
- · Criterion too subjective, judges flip-flop
Trust signals
- · Pairwise tournament avoids token budget exhaustion
- · Bucket parallelization + final merge
- · Criterion stated explicitly (repeated to judges)