Skip to content

Add fast_forward mode to CC:Ladder#120

Merged
john-b-yang merged 2 commits into
mainfrom
john/ladder-fast-forward
Jul 11, 2026
Merged

Add fast_forward mode to CC:Ladder#120
john-b-yang merged 2 commits into
mainfrom
john/ladder-fast-forward

Conversation

@john-b-yang

Copy link
Copy Markdown
Contributor

Optional CC:Ladder mode that skips playing rungs the climber's carried-over bot already dominates — faster eval, same "highest rung reached" north-star metric.

Usage (nested under ladder_rules, off by default)

ladder_rules:
  min_round_wins: 2
  win_last_k: 0
  fast_forward:
    enabled: true
    min_sim_win_rate: 0.9   # skip a rung if the bot wins >= 90% of its round-0 sims

How it works

  • At each rung, a round-0-only probe (rounds: 0 PvpTournament) runs the carried-over bot vs the opponent.
  • If the climber's share of round-0 sims (ties count as non-wins) ≥ min_sim_win_rate, the rung is cleared without edit rounds, recorded as ladder_advancement.fast_forwarded: true.
  • Anything not cleanly won plays in full under the normal ladder_rules — so it's safe under non-transitive matchups and never skips a rung it would lose.
  • Rung 1 is identical-code (~coin flip), so it never fast-forwards; the climber always earns the first rung.

Interactions

  • Resume-safe: fast-forwarded rungs make no code change (no round tags), so _scan_resume keeps the carry-over seed from the last played rung.
  • Summary gains rungs_fast_forwarded.

Validation

enabled (bool, required if block present); min_sim_win_rate (number in (0.5, 1.0], required when enabled).

Notes

@Muhtasham Muhtasham self-requested a review July 11, 2026 01:14

@Muhtasham Muhtasham left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@john-b-yang

Copy link
Copy Markdown
Contributor Author

tysm for review @Muhtasham!! Will dm you and sync on the status of the changes i've been making the past couple days :)

@john-b-yang john-b-yang merged commit 1557e6b into main Jul 11, 2026
5 checks passed
@john-b-yang john-b-yang deleted the john/ladder-fast-forward branch July 11, 2026 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants