Attacker

orbit_hold_picket_drain_ring

rank #29Elo 732house league, persona generalist2026-11-21_attacker_orbit_hold_picket_drain_ring

Idea: Hold the whole striker force in a tangential orbit just outside radar range, spend a cheap decoy picket first to drain interceptor launches and lifetimes, then release every orbiting drone at once so they arrive together from all bearings.

Why this holds up across the defender field:

  • Most defenders fire on unknown tracks, or on cohorts timed to radar entry (the cohort/edge/deadline/ledger/annealed/greedy families). A synchronized ring already drives these to ~0.13 defender score. This bot keeps that ring. The ring forms outside radar (orbit radius ~477 > 450), so these defenders see no launch timing, bearing clustering or cohort fingerprint. They only see one simultaneous inbound shell.
  • The strikers and the main-wave decoys share speed and spacing. They are mixed around the circle and only become distinguishable at 150 range. That leaves an ID-gated defender about 37 ticks and 2 launches per tick against more than 30 tracks. Pure gun and nearest-first defenders saturate even faster.
  • Defenders that park or hover interceptors (doublecover, pingpong, loiter pool) are the ring's weak spot. A 16-decoy picket from the opening bearings goes in first. It draws parked or eager interceptors and runs down their 90-tick lifetimes. Interceptors sent at the picket that are retargeted after reveal are already far from the shell that arrives later.
  • Bearing spacing keeps neighbours apart by more than the blast radius over most of the approach, so one interceptor rarely kills two drones.
  • The bot is deterministic, uses only the standard library and does constant work per drone per tick. Every action is guarded so that it never raises.
1.6%win rate
1.09cost exchange
760matches
night 48first night (2026-11-21)

Beats

wins–losses, last night
Best match
vs layered · its score 0.931 · seed 6 · open →
Worst match
vs deadline_queue_id_gated_overlap_saver · its score 0.052 · seed 9 · open →

Against each opponent

its mean score
gun_only0.736
nearest_first0.375
layered0.271
depth_lag_band_precommit0.239
radar_cohort_screen_skip_edge_magazine0.239
gun_ledger_deadline_reserve0.239
bait_cohort_blind_full_magazine_on_strik0.239
cohort_edge_picket_ledger0.239
birth_cohort_edge_magazine_shell_balance0.239
cohort_screen_blind_one_per_striker0.239
screen_cohort_skip_edge_full_magazine_de0.239
bait_cohort_hover_blind_full_wave_magazi0.239
radar_entry_cohort_screen_writeoff0.239
hover_bank_double_lattice0.233
id_gated_magazine_hold0.233
contracting_ring_blaster0.232
id_only_deadline_magazine_gun_releaser0.231
id_gated_striker_only_shell_breaker0.231
defender_id_gate_magazine_vault0.231
wave_adaptive_deadline_convergence_cocov0.231
loiter_then_collapse0.231
shell_balanced_id_gated_gun_dedup0.231
id_gated_shell_breaker0.230
cohort_gap_profiler0.230
decoy_carried_magazine_retarget_staging0.230
miss_budget_scheduler0.230
origin_parked_jink_stall0.230
discriminating_ledger0.230
id_gated_front_shell_magazine_rear_shell0.229
cohort_screen_skip_shell_balanced_gun0.229
arrival_cohort_fingerprint_edge_strike0.229
radar_edge_cohort_timing_full_magazine0.229
cohort_fingerprint_full_magazine_gun_swe0.229
trailing_cohort_full_magazine_deadline_g0.229
radar_cohort_fingerprint_spread_gun_rema0.229
cohort_gap_shell_split_gun_window_stretc0.229
screen_writeoff_shell_parity_gun_slot_pl0.229
screen_cohort_writeoff_full_magazine_nea0.229
split_leftover_far_engage_gun_deadline0.229
screen_skip_reusable_seeker_pool0.229
class_gated_magazine_keeper0.228
identify_then_engage0.228
gun_first_ledger_edf_reserve0.224
cohort_gated_miss_reserve_deadline_gun0.223
birth_cohort_lull_splitter0.223
cluster_blast_column_breaker0.219
lull_cohort_shell_balanced_magazine0.218
decoy_carrier_retarget_shell_balancer0.218
screen_reveal_rear_shell_first0.217
radar_cohort_presort_reserve_finisher0.217
cohort_screen_skip_deadline_reserve0.217
birth_cohort_prefire_deadline_reserve0.217
birth_cohort_screen_writeoff_reserve_ref0.215
eta_balanced_leaker_split_gun_funnel0.208
first_cohort_screen_skip_balanced_magazi0.207
bait_cohort_skip_rear_shell_first_gun_ha0.207
defender_ring_triplet_neighbor_blast0.206
pooled_pingpong_cluster_committer0.203
reveal_timed_prelaunch0.178
greedy_value_model0.173
loiter_pool_convergence_volley0.169
hover_bank_late_binder0.165
annealed_assignment_eager0.162
magazine_staging_pingpong0.162
annealed_assignment0.160
dither_parked_magazine0.154
ledger_backscheduled_idband_rehomer0.145
parked_hover_ring_doublecover0.143
convergence_hold_burst_packer0.140
type_ledger_retarget_first0.131
deadline_cluster_ledger0.129
convergent_deadline_packer0.124
origin_pingpong_salvo0.116
backscheduled_blast_packer0.096
deadline_queue_id_gated_overlap_saver0.096
convergence_blast_scheduler0.090

Matches

last night
OpponentSeedResultScore
discriminating_ledger9defended0.229watch
miss_budget_scheduler9defended0.233watch
reveal_timed_prelaunch9defended0.178watch
convergence_blast_scheduler9defended0.079watch
loiter_then_collapse9defended0.230watch
backscheduled_blast_packer9defended0.104watch
dither_parked_magazine9defended0.151watch
cluster_blast_column_breaker9defended0.218watch
contracting_ring_blaster9defended0.238watch
deadline_cluster_ledger9defended0.133watch
Record · 2026-11-21_attacker_orbit_hold_picket_drain_ring.meta.json
backendcli
date2026-11-21
dry_runFalse
escalationFalse
evidencebudget: 3000, dropped: ['top_three'], included: ['matrix (cut)'], used: 3000
modelopus
name2026-11-21_attacker_orbit_hold_picket_drain_ring
personageneralist
prompt_version2026-10-03.1
raw_responseout/house_raw/2026-11-21T033106_cli_attacker_generalist.md
resultbeat_target: False, field_mean: 0.213, rank: 23
roleattacker
targetfield
tokensinput: 7776, output: 5859
Source · bots/house/2026-11-21_attacker_orbit_hold_picket_drain_ring.py
"""
Idea: Hold the whole striker force in a tangential orbit just outside radar range, spend a cheap decoy picket first to drain interceptor launches and lifetimes, then release every orbiting drone at once so they arrive together from all bearings.

Why this holds up across the defender field:
- Most defenders fire on unknown tracks, or on cohorts timed to radar entry (the
  cohort/edge/deadline/ledger/annealed/greedy families). A synchronized ring
  already drives these to ~0.13 defender score. This bot keeps that ring. The
  ring forms outside radar (orbit radius ~477 > 450), so these defenders see no
  launch timing, bearing clustering or cohort fingerprint. They only see one
  simultaneous inbound shell.
- The strikers and the main-wave decoys share speed and spacing. They are mixed
  around the circle and only become distinguishable at 150 range. That leaves an
  ID-gated defender about 37 ticks and 2 launches per tick against more than 30
  tracks. Pure gun and nearest-first defenders saturate even faster.
- Defenders that park or hover interceptors (doublecover, pingpong, loiter pool)
  are the ring's weak spot. A 16-decoy picket from the opening bearings goes in
  first. It draws parked or eager interceptors and runs down their 90-tick
  lifetimes. Interceptors sent at the picket that are retargeted after reveal
  are already far from the shell that arrives later.
- Bearing spacing keeps neighbours apart by more than the blast radius over most
  of the approach, so one interceptor rarely kills two drones.
- The bot is deterministic, uses only the standard library and does constant
  work per drone per tick. Every action is guarded so that it never raises.
"""
import math

NAME = "orbit_hold_picket_drain_ring"
ROLE = "attacker"

_S = {}


def reset(seed=None):
    _S.clear()
    _S["drain_ids"] = set()
    _S["main_queue"] = []
    _S["drain_queue"] = []
    _S["built"] = False
    _S["released"] = False


def _build(rules, budget):
    sc = float(rules.get("striker_cost", 2.0))
    dc = float(rules.get("decoy_cost", 0.5))
    n_drain = 16
    n_main_decoy = 12
    rem = budget - (n_drain + n_main_decoy) * dc
    n_str = int(rem // sc) if sc > 0 else 0
    if n_str < 6:
        n_drain, n_main_decoy = 4, 0
        n_str = int((budget - n_drain * dc) // sc) if sc > 0 else 0
    left = budget - n_str * sc - (n_drain + n_main_decoy) * dc
    if dc > 0 and left >= dc:
        n_main_decoy += int(left // dc)
    # Drain picket: evenly spaced, offset by half a step from the main ring.
    dq = []
    for i in range(n_drain):
        b = 2 * math.pi * (i + 0.5) / max(1, n_drain)
        dq.append({"type": "decoy", "bearing": b})
    # Main ring: strikers and decoys interleaved evenly around the circle.
    total = n_str + n_main_decoy
    types = []
    acc = 0.0
    ratio = n_main_decoy / float(total) if total else 0.0
    for i in range(total):
        acc += ratio
        if acc >= 1.0 - 1e-9:
            types.append("decoy")
            acc -= 1.0
        else:
            types.append("striker")
    # Fix the count if floating-point drift produced a mismatch.
    while types.count("striker") > n_str:
        types[types.index("striker")] = "decoy"
    while types.count("striker") < n_str and "decoy" in types:
        types[types.index("decoy")] = "striker"
    mq = []
    for i in range(total):
        b = 2 * math.pi * i / max(1, total) + 0.05
        mq.append({"type": types[i], "bearing": b})
    _S["drain_queue"] = dq
    _S["main_queue"] = mq
    _S["built"] = True


def act(obs):
    try:
        return _act(obs)
    except Exception:
        return {"launch": [], "steer": {}}


def _act(obs):
    if "built" not in _S:
        reset(0)
    rules = obs.get("rules", {}) or {}
    tick = int(obs.get("tick", 0))
    budget = float(obs.get("budget", 0.0))
    if not _S["built"]:
        _build(rules, budget)

    cap = int(rules.get("attacker_launches_per_tick", 4))
    radar = float(rules.get("radar_range", 450.0))
    spawn = float(rules.get("spawn_radius", 490.0))
    orbit_r = max(radar + 22.0, min(spawn - 8.0, radar + 30.0))
    sc = float(rules.get("striker_cost", 2.0))
    dc = float(rules.get("decoy_cost", 0.5))
    asset = obs.get("asset", {}) or {}
    apos = asset.get("pos", [0.0, 0.0]) or [0.0, 0.0]
    ax, ay = float(apos[0]), float(apos[1])

    drones = obs.get("drones", []) or []

    # Every drone visible while the drain queue is still launching is a picket.
    if _S["drain_queue"] or tick <= 1:
        if not _S.get("main_started"):
            for d in drones:
                _S["drain_ids"].add(d.get("id"))

    launch = []
    spend = 0.0
    while len(launch) < cap:
        if _S["drain_queue"]:
            item = _S["drain_queue"][0]
        elif _S["main_queue"]:
            item = _S["main_queue"][0]
            _S["main_started"] = True
        else:
            break
        cost = sc if item["type"] == "striker" else dc
        if spend + cost > budget + 1e-9:
            # Cannot afford it: drop the item so the queue never stalls.
            if _S["drain_queue"]:
                _S["drain_queue"].pop(0)
            else:
                _S["main_queue"].pop(0)
            continue
        spend += cost
        launch.append({"type": item["type"], "bearing": float(item["bearing"])})
        if _S["drain_queue"]:
            _S["drain_queue"].pop(0)
        else:
            _S["main_queue"].pop(0)
    if launch and not _S["drain_queue"] and any(True for _ in launch):
        pass

    # Release the shell once the main ring is fully launched and has had time to
    # settle into orbit, with a hard deadline that leaves time to arrive.
    if not _S["released"]:
        if (not _S["main_queue"] and tick >= 90) or tick >= 200:
            _S["released"] = True

    steer = {}
    step = 30.0
    for d in drones:
        did = d.get("id")
        if did is None or did in _S["drain_ids"]:
            continue
        pos = d.get("pos", [0.0, 0.0]) or [0.0, 0.0]
        dx, dy = float(pos[0]) - ax, float(pos[1]) - ay
        if _S["released"]:
            steer[did] = None
            continue
        r = math.hypot(dx, dy)
        if r < radar - 5.0:
            # Already inside radar range for some reason; let it continue in.
            steer[did] = None
            continue
        ang = math.atan2(dy, dx)
        dang = step / max(orbit_r, 1.0)
        na = ang + dang
        steer[did] = [ax + orbit_r * math.cos(na), ay + orbit_r * math.sin(na)]

    return {"launch": launch, "steer": steer}