Attacker

outside_radar_dual_shell_simultaneous_re

rank #22Elo 855house league, persona generalist2026-11-13_attacker_outside_radar_dual_shell_simultaneous_re

Idea: Park the whole swarm in two depth-offset shells just outside radar range, then release every drone at once so they arrive as one blast-proof, interleaved striker/decoy wave.

Why it holds up across the defender field:

  • Staging out of sight: drones spawn at radius 490 and are held at radii 462 and 488. Both are beyond radar range (450), so defenders see nothing while the ring fills. Defenders that fire early at a trickle ("prelaunch", "edge strike", "cohort fingerprint" types) have no early cohort to profile or pick off.
  • One synchronized release: all drones enter radar within about 7 ticks of each other. This is the same compression that lets synchronized/phase-locked rings hold defenders near 0.14. It also limits the gun to roughly one burst window and forces the 2-per-tick interceptor cap to saturate.
  • Blast-proof spacing: there are 48 evenly spaced bearings, and neighbours sit on alternating shells about 26 units apart in depth. One 10-unit blast almost never catches two drones, even while the ring converges. Cluster/convergence "packers" therefore get about one kill per interceptor at best.
  • Budget split (24 strikers, 24 decoys = 60):
    • Against defenders that fire blind, decoys soak about half the 20 interceptors.
    • Against ID-gated defenders that wait for the 150-unit reveal, 24 strikers still exceed 20 interceptors x 0.85 plus gun kills. At least 3 strikers (30 hp) usually get through.
  • Hover/loiter/parked-ring defenders gain little: the attack is a single simultaneous wave from all bearings, so pre-positioned interceptors cover only a few sectors.
  • Robust to engine conventions:
    • Bearing units (radians or degrees) are detected from where the first drones appear.
    • Hold slots are tracked against the observed asset position.
    • A timeout guarantees release even if staging stalls.
13.4%win rate
0.63cost exchange
760matches
night 41first night (2026-11-13)

Beats

wins–losses, last night
Best match
vs decoy_carrier_retarget_shell_balancer · its score 0.904 · seed 7 · open →
Worst match
vs origin_pingpong_salvo · its score 0.169 · seed 7 · open →

Against each opponent

its mean score
nearest_first0.866
reveal_timed_prelaunch0.703
gun_only0.701
greedy_value_model0.682
annealed_assignment0.641
layered0.634
cohort_gap_profiler0.597
cluster_blast_column_breaker0.591
id_gated_magazine_hold0.578
cohort_gated_miss_reserve_deadline_gun0.557
backscheduled_blast_packer0.556
defender_id_gate_magazine_vault0.538
arrival_cohort_fingerprint_edge_strike0.536
ledger_backscheduled_idband_rehomer0.533
annealed_assignment_eager0.520
type_ledger_retarget_first0.520
id_only_deadline_magazine_gun_releaser0.517
id_gated_front_shell_magazine_rear_shell0.517
shell_balanced_id_gated_gun_dedup0.517
screen_writeoff_shell_parity_gun_slot_pl0.514
cohort_fingerprint_full_magazine_gun_swe0.494
contracting_ring_blaster0.483
eta_balanced_leaker_split_gun_funnel0.477
id_gated_shell_breaker0.476
id_gated_striker_only_shell_breaker0.476
convergence_hold_burst_packer0.475
defender_ring_triplet_neighbor_blast0.475
decoy_carrier_retarget_shell_balancer0.463
bait_cohort_hover_blind_full_wave_magazi0.455
gun_ledger_deadline_reserve0.454
identify_then_engage0.451
birth_cohort_lull_splitter0.436
discriminating_ledger0.435
cohort_gap_shell_split_gun_window_stretc0.435
radar_edge_cohort_timing_full_magazine0.435
miss_budget_scheduler0.416
radar_cohort_fingerprint_spread_gun_rema0.412
split_leftover_far_engage_gun_deadline0.410
gun_first_ledger_edf_reserve0.394
first_cohort_screen_skip_balanced_magazi0.391
screen_reveal_rear_shell_first0.375
birth_cohort_edge_magazine_shell_balance0.373
radar_cohort_screen_skip_edge_magazine0.372
class_gated_magazine_keeper0.369
birth_cohort_screen_writeoff_reserve_ref0.353
lull_cohort_shell_balanced_magazine0.353
birth_cohort_prefire_deadline_reserve0.351
decoy_carried_magazine_retarget_staging0.350
loiter_then_collapse0.335
loiter_pool_convergence_volley0.333
radar_cohort_presort_reserve_finisher0.333
cohort_screen_skip_shell_balanced_gun0.333
screen_skip_reusable_seeker_pool0.333
trailing_cohort_full_magazine_deadline_g0.312
radar_entry_cohort_screen_writeoff0.312
bait_cohort_blind_full_magazine_on_strik0.311
depth_lag_band_precommit0.311
screen_cohort_skip_edge_full_magazine_de0.311
screen_cohort_writeoff_full_magazine_nea0.311
hover_bank_double_lattice0.295
bait_cohort_skip_rear_shell_first_gun_ha0.292
cohort_edge_picket_ledger0.291
cohort_screen_blind_one_per_striker0.290
magazine_staging_pingpong0.289
cohort_screen_skip_deadline_reserve0.283
dither_parked_magazine0.271
pooled_pingpong_cluster_committer0.268
origin_parked_jink_stall0.268
parked_hover_ring_doublecover0.259
hover_bank_late_binder0.252
wave_adaptive_deadline_convergence_cocov0.252
deadline_queue_id_gated_overlap_saver0.249
convergent_deadline_packer0.228
deadline_cluster_ledger0.226
convergence_blast_scheduler0.216
origin_pingpong_salvo0.209

Matches

last night
OpponentSeedResultScore
discriminating_ledger9defended0.659watch
miss_budget_scheduler9defended0.252watch
reveal_timed_prelaunch9defended0.657watch
convergence_blast_scheduler9defended0.198watch
loiter_then_collapse9defended0.258watch
backscheduled_blast_packer9breached0.862watch
dither_parked_magazine9defended0.251watch
cluster_blast_column_breaker9defended0.448watch
contracting_ring_blaster9defended0.257watch
deadline_cluster_ledger9defended0.216watch
Record · 2026-11-13_attacker_outside_radar_dual_shell_simultaneous_re.meta.json
backendcli
date2026-11-13
dry_runFalse
escalationFalse
evidencebudget: 3000, dropped: ['top_three'], included: ['matrix (cut)'], used: 3000
modelopus
name2026-11-13_attacker_outside_radar_dual_shell_simultaneous_re
personageneralist
prompt_version2026-10-03.1
raw_responseout/house_raw/2026-11-13T033123_cli_attacker_generalist.md
resultbeat_target: False, field_mean: 0.424, rank: 13
roleattacker
targetfield
tokensinput: 7780, output: 6576
Source · bots/house/2026-11-13_attacker_outside_radar_dual_shell_simultaneous_re.py
"""Idea: Park the whole swarm in two depth-offset shells just outside radar range, then release every drone at once so they arrive as one blast-proof, interleaved striker/decoy wave.

Why it holds up across the defender field:
- Staging out of sight: drones spawn at radius 490 and are held at radii 462 and 488.
  Both are beyond radar range (450), so defenders see nothing while the ring fills.
  Defenders that fire early at a trickle ("prelaunch", "edge strike", "cohort
  fingerprint" types) have no early cohort to profile or pick off.
- One synchronized release: all drones enter radar within about 7 ticks of each
  other. This is the same compression that lets synchronized/phase-locked rings
  hold defenders near 0.14. It also limits the gun to roughly one burst window and
  forces the 2-per-tick interceptor cap to saturate.
- Blast-proof spacing: there are 48 evenly spaced bearings, and neighbours sit on
  alternating shells about 26 units apart in depth. One 10-unit blast almost never
  catches two drones, even while the ring converges. Cluster/convergence "packers"
  therefore get about one kill per interceptor at best.
- Budget split (24 strikers, 24 decoys = 60):
  - Against defenders that fire blind, decoys soak about half the 20 interceptors.
  - Against ID-gated defenders that wait for the 150-unit reveal, 24 strikers still
    exceed 20 interceptors x 0.85 plus gun kills. At least 3 strikers (30 hp)
    usually get through.
- Hover/loiter/parked-ring defenders gain little: the attack is a single
  simultaneous wave from all bearings, so pre-positioned interceptors cover only a
  few sectors.
- Robust to engine conventions:
  - Bearing units (radians or degrees) are detected from where the first drones appear.
  - Hold slots are tracked against the observed asset position.
  - A timeout guarantees release even if staging stalls.
"""

import math

NAME = "outside_radar_dual_shell_simultaneous_release"
ROLE = "attacker"

_N = 48
_R_SHELL = (462.0, 488.0)


def _new_state():
    slots = []
    off = math.pi / _N
    for i in range(_N):
        a = 2.0 * math.pi * i / _N + off
        k = i // 2
        if i % 2 == 0:
            typ = "striker"
            shell = k % 2
        else:
            typ = "decoy"
            shell = (k + 1) % 2
        slots.append({"type": typ, "angle": a, "r": _R_SHELL[shell]})
    return {
        "slots": slots,
        "next": 0,
        "launched": [],      # slot indices launched but not yet matched to a drone
        "assign": {},        # drone id -> slot index
        "deg": None,         # bearing unit detection
        "released": False,
        "last_new_tick": 0,
    }


_S = _new_state()


def reset(seed=None):
    global _S
    _S = _new_state()


def _angdiff(a, b):
    d = (a - b) % (2.0 * math.pi)
    if d > math.pi:
        d -= 2.0 * math.pi
    return abs(d)


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


def _act(obs):
    S = _S
    tick = int(obs.get("tick", 0))
    budget = float(obs.get("budget", 0.0))
    rules = obs.get("rules", {}) or {}
    asset = obs.get("asset", {}) or {}
    ax, ay = (asset.get("pos") or [0.0, 0.0])[:2]
    ax = float(ax)
    ay = float(ay)
    drones = obs.get("drones", []) or []
    cost = {
        "striker": float(rules.get("striker_cost", 2.0)),
        "decoy": float(rules.get("decoy_cost", 0.5)),
    }
    cap = int(rules.get("attacker_launches_per_tick", 4))

    # Match newly seen drones to the slots that were launched.
    for d in drones:
        did = d.get("id")
        if did is None or did in S["assign"]:
            continue
        px, py = d.get("pos", [0.0, 0.0])[:2]
        ang = math.atan2(py - ay, px - ax)
        typ = d.get("type")
        best = None
        bestd = 1e9
        for si in S["launched"]:
            if S["slots"][si]["type"] != typ:
                continue
            dd = _angdiff(ang, S["slots"][si]["angle"])
            if dd < bestd:
                bestd = dd
                best = si
        if best is None and S["launched"]:
            best = S["launched"][0]
        if best is None:
            continue
        if S["deg"] is None:
            a_rad = S["slots"][best]["angle"]
            e_rad = _angdiff(ang, a_rad)
            e_deg = _angdiff(ang, math.radians(a_rad))
            S["deg"] = bool(e_deg + 0.05 < e_rad and e_rad > 0.3)
        S["launched"].remove(best)
        S["assign"][did] = best
        S["last_new_tick"] = tick

    # Launch the next planned slots.
    launch = []
    if not S["released"]:
        n = 0
        while n < cap and S["next"] < len(S["slots"]):
            sl = S["slots"][S["next"]]
            c = cost[sl["type"]]
            if budget + 1e-9 < c:
                break
            b = sl["angle"]
            if S["deg"]:
                b = math.degrees(b)
            launch.append({"type": sl["type"], "bearing": float(b)})
            budget -= c
            S["launched"].append(S["next"])
            S["next"] += 1
            n += 1

    steer = {}
    if S["released"]:
        return {"launch": launch, "steer": steer}

    done_launching = S["next"] >= len(S["slots"]) or budget + 1e-9 < min(cost.values())
    all_settled = True
    for d in drones:
        did = d.get("id")
        si = S["assign"].get(did)
        if si is None:
            all_settled = False
            continue
        sl = S["slots"][si]
        hx = ax + sl["r"] * math.cos(sl["angle"])
        hy = ay + sl["r"] * math.sin(sl["angle"])
        px, py = d.get("pos", [0.0, 0.0])[:2]
        dist = math.hypot(px - hx, py - hy)
        if dist > 10.0:
            all_settled = False
        if dist < 5.0:
            da = 0.02 if tick % 2 == 0 else -0.02
            hx = ax + sl["r"] * math.cos(sl["angle"] + da)
            hy = ay + sl["r"] * math.sin(sl["angle"] + da)
        steer[did] = [hx, hy]

    pending = len(S["launched"]) > 0 and tick - S["last_new_tick"] < 5
    release = (done_launching and not launch and all_settled and not pending
               and len(drones) > 0) or tick >= 90
    if release:
        S["released"] = True
        steer = {d.get("id"): None for d in drones if d.get("id") is not None}

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