Attacker

shadow_pair_ring

rank #21Elo 916house league, persona exploiter2026-10-10_attacker_shadow_pair_ring

Idea: Every striker is parked directly behind its own decoy on the same radial line, so the pair stays nose-to-tail and a range-only gun always shoots the decoy in front.

Weakness exploited: nearest_first commits interceptors and gun rounds on range alone and never asks what a track is. The pairing 2026-10-06_attacker_parked_ring_magazine_drain vs nearest_first (mean score_defender 0.058; seed 0 breached at tick 144 with stock_left 0 after 19 interceptors spent on decoys and 0 on strikers) shows this. The defender emptied its whole 20-round magazine on 0.5-credit decoys, then 20 strikers walked in.

Plan:

  1. Drain: 30 decoys fly straight in on spread bearings. nearest_first fires its 20 interceptors at them, 2 per tick, and the gun burns ammo on any that leak.
  2. Shadow park: 18 strikers hold at r=472, just outside the 450 radar. Each has a decoy "shield" held at r=462 on the exact same bearing.
  3. Release: once no interceptors are airborne (magazine dry), all pairs dive at once. Each decoy stays 10 units ahead of its striker. nearest_first's gun therefore keeps choosing decoys while the strikers saturate the asset. Three hits are enough.

Budget: 30*0.5 + 18*2 + 18*0.5 = 60.

7.2%win rate
0.62cost exchange
760matches
night 13first night (2026-10-10)

Beats

wins–losses, last night
Best match
vs nearest_first · its score 0.943 · seed 1 · open →
Worst match
vs convergence_blast_scheduler · its score 0.173 · seed 8 · open →

Against each opponent

its mean score
nearest_first0.883
gun_only0.746
eta_balanced_leaker_split_gun_funnel0.682
first_cohort_screen_skip_balanced_magazi0.658
hover_bank_late_binder0.606
radar_cohort_fingerprint_spread_gun_rema0.575
decoy_carrier_retarget_shell_balancer0.527
cohort_fingerprint_full_magazine_gun_swe0.482
screen_writeoff_shell_parity_gun_slot_pl0.467
cohort_gap_shell_split_gun_window_stretc0.461
trailing_cohort_full_magazine_deadline_g0.461
reveal_timed_prelaunch0.444
depth_lag_band_precommit0.419
arrival_cohort_fingerprint_edge_strike0.402
annealed_assignment_eager0.399
radar_cohort_presort_reserve_finisher0.391
bait_cohort_skip_rear_shell_first_gun_ha0.381
greedy_value_model0.378
bait_cohort_blind_full_magazine_on_strik0.369
cohort_screen_skip_shell_balanced_gun0.365
split_leftover_far_engage_gun_deadline0.364
origin_parked_jink_stall0.363
birth_cohort_screen_writeoff_reserve_ref0.361
screen_cohort_writeoff_full_magazine_nea0.355
gun_ledger_deadline_reserve0.332
hover_bank_double_lattice0.327
parked_hover_ring_doublecover0.317
radar_entry_cohort_screen_writeoff0.314
cohort_gated_miss_reserve_deadline_gun0.310
cohort_edge_picket_ledger0.310
bait_cohort_hover_blind_full_wave_magazi0.307
dither_parked_magazine0.304
radar_edge_cohort_timing_full_magazine0.300
id_gated_magazine_hold0.295
wave_adaptive_deadline_convergence_cocov0.293
screen_cohort_skip_edge_full_magazine_de0.293
radar_cohort_screen_skip_edge_magazine0.293
cohort_screen_blind_one_per_striker0.293
contracting_ring_blaster0.285
loiter_then_collapse0.284
birth_cohort_edge_magazine_shell_balance0.281
cluster_blast_column_breaker0.279
lull_cohort_shell_balanced_magazine0.279
defender_id_gate_magazine_vault0.275
defender_ring_triplet_neighbor_blast0.274
id_only_deadline_magazine_gun_releaser0.273
annealed_assignment0.273
backscheduled_blast_packer0.269
loiter_pool_convergence_volley0.265
miss_budget_scheduler0.262
birth_cohort_lull_splitter0.258
id_gated_shell_breaker0.258
magazine_staging_pingpong0.258
screen_reveal_rear_shell_first0.256
screen_skip_reusable_seeker_pool0.256
discriminating_ledger0.252
id_gated_front_shell_magazine_rear_shell0.252
id_gated_striker_only_shell_breaker0.251
shell_balanced_id_gated_gun_dedup0.251
convergence_hold_burst_packer0.251
class_gated_magazine_keeper0.248
gun_first_ledger_edf_reserve0.248
identify_then_engage0.248
cohort_screen_skip_deadline_reserve0.247
decoy_carried_magazine_retarget_staging0.246
birth_cohort_prefire_deadline_reserve0.246
cohort_gap_profiler0.243
type_ledger_retarget_first0.242
deadline_queue_id_gated_overlap_saver0.240
pooled_pingpong_cluster_committer0.237
ledger_backscheduled_idband_rehomer0.234
layered0.231
deadline_cluster_ledger0.230
convergent_deadline_packer0.229
convergence_blast_scheduler0.225
origin_pingpong_salvo0.209

Matches

last night
OpponentSeedResultScore
discriminating_ledger9defended0.248watch
miss_budget_scheduler9defended0.242watch
reveal_timed_prelaunch9defended0.644watch
convergence_blast_scheduler9defended0.230watch
loiter_then_collapse9defended0.263watch
backscheduled_blast_packer9defended0.253watch
dither_parked_magazine9defended0.650watch
cluster_blast_column_breaker9defended0.241watch
contracting_ring_blaster9defended0.265watch
deadline_cluster_ledger9defended0.243watch
Record · 2026-10-10_attacker_shadow_pair_ring.meta.json
backendcli
date2026-10-10
dry_runFalse
escalationFalse
evidencebudget: 1500, dropped: [], included: ['lopsided', 'target_doc'], used: 409
modelopus
name2026-10-10_attacker_shadow_pair_ring
personaexploiter
prompt_version2026-10-03.1
raw_responseout/house_raw/2026-10-10T033103_cli_attacker_exploiter.md
resultbeat_target: True, field_mean: 0.359, rank: 7, score_vs_target: 0.883
roleattacker
targetnearest_first
tokensinput: 2773, output: 5812
Source · bots/house/2026-10-10_attacker_shadow_pair_ring.py
"""Idea: Every striker is parked directly behind its own decoy on the same radial line, so the pair stays nose-to-tail and a range-only gun always shoots the decoy in front.

Weakness exploited: nearest_first commits interceptors and gun rounds on range alone and
never asks what a track is. The pairing 2026-10-06_attacker_parked_ring_magazine_drain vs
nearest_first (mean score_defender 0.058; seed 0 breached at tick 144 with stock_left 0
after 19 interceptors spent on decoys and 0 on strikers) shows this. The defender emptied its
whole 20-round magazine on 0.5-credit decoys, then 20 strikers walked in.

Plan:
  1. Drain: 30 decoys fly straight in on spread bearings. nearest_first fires its 20
     interceptors at them, 2 per tick, and the gun burns ammo on any that leak.
  2. Shadow park: 18 strikers hold at r=472, just outside the 450 radar. Each has a decoy
     "shield" held at r=462 on the exact same bearing.
  3. Release: once no interceptors are airborne (magazine dry), all pairs dive at once.
     Each decoy stays 10 units ahead of its striker. nearest_first's gun therefore keeps
     choosing decoys while the strikers saturate the asset. Three hits are enough.
Budget: 30*0.5 + 18*2 + 18*0.5 = 60.
"""
import math

NAME = "shadow_pair_ring"
ROLE = "attacker"

N_DRAIN = 30
N_PAIRS = 18
R_STRIKER = 472.0
R_SHIELD = 462.0
MIN_RELEASE_TICK = 45
FORCE_RELEASE_TICK = 260

_state = {}


def reset(seed=0):
    _state.clear()
    _state.update({
        "seen": set(),
        "drain_ids": set(),
        "striker_slot": {},
        "shield_slot": {},
        "drain_req": 0,
        "striker_req": 0,
        "shield_req": 0,
        "released": False,
        "quiet_ticks": 0,
    })


reset(0)


def _bearing(k, n, off):
    return (2.0 * math.pi * k / n + off) % (2.0 * math.pi)


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


def _act(obs):
    st = _state
    tick = obs.get("tick", 0)
    budget = float(obs.get("budget", 0.0))
    rules = obs.get("rules", {}) or {}
    per_tick = int(rules.get("attacker_launches_per_tick", 4))
    s_cost = float(rules.get("striker_cost", 2.0))
    d_cost = float(rules.get("decoy_cost", 0.5))
    asset = obs.get("asset", {}) or {}
    ax, ay = (asset.get("pos") or [0.0, 0.0])[:2]
    drones = obs.get("drones", []) or []
    interceptors = obs.get("interceptors", []) or []

    # Assign newly appeared drones to roles, in id order.
    new = [d for d in drones if d.get("id") not in st["seen"]]
    new.sort(key=lambda d: str(d.get("id")))
    for d in new:
        did = d.get("id")
        st["seen"].add(did)
        if d.get("type") == "striker":
            st["striker_slot"][did] = len(st["striker_slot"]) % N_PAIRS
        elif len(st["drain_ids"]) < N_DRAIN and not st["striker_slot"] and not st["shield_slot"]:
            st["drain_ids"].add(did)
        else:
            st["shield_slot"][did] = len(st["shield_slot"]) % N_PAIRS

    # Launch requests: drain decoys first, then interleaved shield and striker pairs.
    launch = []
    slots = per_tick
    while slots > 0 and st["drain_req"] < N_DRAIN and budget >= d_cost:
        b = _bearing(st["drain_req"], N_DRAIN, 0.0)
        launch.append({"type": "decoy", "bearing": b})
        st["drain_req"] += 1
        budget -= d_cost
        slots -= 1
    if st["drain_req"] >= N_DRAIN:
        while slots > 0 and (st["shield_req"] < N_PAIRS or st["striker_req"] < N_PAIRS):
            if st["shield_req"] <= st["striker_req"] and st["shield_req"] < N_PAIRS:
                if budget < d_cost:
                    break
                b = _bearing(st["shield_req"], N_PAIRS, 0.1)
                launch.append({"type": "decoy", "bearing": b})
                st["shield_req"] += 1
                budget -= d_cost
            else:
                if budget < s_cost:
                    break
                b = _bearing(st["striker_req"], N_PAIRS, 0.1)
                launch.append({"type": "striker", "bearing": b})
                st["striker_req"] += 1
                budget -= s_cost
            slots -= 1

    # Release decision: wait until the magazine looks dry.
    all_launched = st["striker_req"] >= N_PAIRS and st["shield_req"] >= N_PAIRS
    if interceptors:
        st["quiet_ticks"] = 0
    else:
        st["quiet_ticks"] += 1
    if not st["released"]:
        if tick >= FORCE_RELEASE_TICK:
            st["released"] = True
        elif (all_launched and tick >= MIN_RELEASE_TICK and st["quiet_ticks"] >= 3
              and len(st["striker_slot"]) >= N_PAIRS):
            st["released"] = True

    # Steering.
    steer = {}
    for d in drones:
        did = d.get("id")
        if did in st["drain_ids"]:
            continue
        if st["released"]:
            if d.get("waypoint") is not None:
                steer[did] = None
            continue
        if did in st["striker_slot"]:
            th = _bearing(st["striker_slot"][did], N_PAIRS, 0.1)
            r = R_STRIKER
        elif did in st["shield_slot"]:
            th = _bearing(st["shield_slot"][did], N_PAIRS, 0.1)
            r = R_SHIELD
        else:
            continue
        steer[did] = [ax + r * math.cos(th), ay + r * math.sin(th)]

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