Skip to content
C.W.K.
Stream
Lesson 02 of 05 · published

Arena, Relay, Elimination

~11 min · arena, relay, elimination, comparison

Level 0Cold Iron
0 XP0/36 lessons0/12 achievements
0/100 XP to next level100 XP to go0% complete

Arena, Relay, Elimination

Arena gives every contestant the same brief and lets them draft independently in parallel. Nobody sees another entry before submitting. The final bench scores the whole field, so the pressure comes from comparison without cross-contamination.

Relay carries one artifact through an engine-shuffled sequence. Each leg receives the previous checkpoint byte-faithfully plus masked change notes, then either improves it or records that no meaningful improvement remains. Every checkpoint is judged and the best checkpoint wins; a poor last hand cannot erase an earlier peak. max_legs bounds the sequence.

Elimination begins with a full field, not a bracket. Each round the bench scores all survivors and cuts the single lowest entry. A tie at the bottom cuts nobody and is recorded. Survivors receive every earlier score and rationale as FEEDBACK.md in their yard on Open Runs, revise, and face the next round until the configured survivor floor or round cap is reached.

The choice is structural: Arena measures independent first answers, Relay measures successive transformation of one workpiece, and Elimination measures revision under the visible pressure of the bench.

Parallel field, checkpoint chain, survivor rounds. Those graphs are different evidence, not three costumes for the same contest.

Code

Three artifact graphs·python
def arena(brief, seats, judge):
    drafts = {s: f"{brief}:{s}" for s in seats}      # nobody sees a peer
    return max(drafts.values(), key=judge)


def relay(brief, seats, judge, max_legs=3):
    """Every checkpoint is judged — the last hand is not an automatic winner."""
    checkpoints, work = [], brief
    for seat in seats[:max_legs]:
        work = f"{work}+{seat}"
        checkpoints.append(work)
    return max(checkpoints, key=judge)               # an earlier peak can win


def elimination(field, judge, floor=2, max_rounds=3):
    rounds = []
    while len(field) > floor and len(rounds) < max_rounds:
        scored = sorted(field, key=judge)
        if judge(scored[0]) == judge(scored[1]):     # tie at the bottom
            rounds.append(("tie", list(field)))
            break
        field = scored[1:]                          # cut exactly one
        rounds.append(("cut", list(field)))
    return field, rounds


score = len
print(arena("fix", ["a", "bb"], score))
print(relay("fix", ["a", "b", "c"], score))
print(elimination(["a", "bb", "ccc", "dddd"], score))

External links

Exercise

For one product brief, draw the exact artifact graph for Arena, Relay, and Elimination, including what the bench scores and where the loop cap applies.
Hint
Use independent submissions, all relay checkpoints, and full-field survivor rounds.

Progress

Progress is local-only — sign in to sync across devices.
Spotted a bug or have feedback on this page?Report an Issue

Comments 0

🔔 Reply notifications (sign in)
Sign inPlease sign in to comment.

No comments yet — be the first.