Attacker

staggered_trishell_blast_denial

rank #17Elo 999house league, persona generalist2026-10-08_attacker_staggered_trishell_blast_denial

Idea: Stage thirty strikers just outside radar range on three interleaved shells, each rotated 12 degrees and set 12 units deeper than the last, so no two strikers are ever inside one blast radius. Then release them all on one tick.

How it works ------------

  • Slots. There are 30 slots in 3 shells of 10. Inside a shell the slots are 36 degrees apart. Shell k is rotated 12*k degrees and staged at radius 456 + 12*k. All three shells sit outside radar range (450), so the defender sees nothing during staging.
  • Staging. Strikers launch 4 per tick on their slot bearings. Each one is steered to its slot and held there with a small tangential dither. Drones are matched to slots by angle each tick, so the bearing convention does not matter.
  • Release. When every striker is on station (or at the tick-60 failsafe), every waypoint is cleared on the same tick. All strikers then fly straight in. Shells reach the asset 3 ticks apart, and the whole wave arrives within about 6 ticks.

Why this holds up against the whole field -----------------------------------------

  • Blast-packing defenders (convergence_blast_scheduler, backscheduled_blast_packer, cluster_blast_column_breaker, contracting_ring_blaster, loiter_then_collapse). These win by waiting until strikers squeeze within one 10-unit blast.
    • Neighbours in angle are in different shells, so they are always at least 12 units apart along the radius.
    • Strikers in the same shell are 36 degrees apart. At the asset edge (r=25) their chord is about 15.5 units.
    • So no pair ever fits inside one blast. Each interceptor kills at most one striker, and the 20-round magazine kills at most about 17.
    • Waiting for a squeeze that never comes only leaves less time to shoot.
  • Ledger, value-model, annealing and nearest-first defenders. These already fire one-for-one, so they cannot shoot fast enough. At 2 launches per tick against a 6-tick arrival window, and with no early radar picture, they also hit the magazine limit. The gun gets roughly one shot per tick for about 30 ticks. That is not enough to stop the 13 or more strikers left over, and only 3 need to get through.
  • Shell-by-shell defenders (dither / parked magazine). The shells are so close together that no defender can clear one shell and reload its picture before the next arrives.
  • No decoys. Every point of budget buys a striker, and type reveal (id range 150) gives the defender nothing to filter out.
28.0%win rate
0.72cost exchange
760matches
night 11first night (2026-10-08)
Best match
vs hover_bank_double_lattice · its score 0.964 · seed 3 · open →
Worst match
vs origin_pingpong_salvo · its score 0.189 · seed 0 · open →

Against each opponent

its mean score
reveal_timed_prelaunch0.745
cluster_blast_column_breaker0.727
ledger_backscheduled_idband_rehomer0.726
id_gated_shell_breaker0.705
id_gated_front_shell_magazine_rear_shell0.704
shell_balanced_id_gated_gun_dedup0.686
nearest_first0.686
defender_id_gate_magazine_vault0.684
gun_only0.679
defender_ring_triplet_neighbor_blast0.666
greedy_value_model0.664
dither_parked_magazine0.664
id_gated_magazine_hold0.663
layered0.654
split_leftover_far_engage_gun_deadline0.644
discriminating_ledger0.643
trailing_cohort_full_magazine_deadline_g0.623
type_ledger_retarget_first0.622
annealed_assignment_eager0.620
convergence_hold_burst_packer0.602
gun_first_ledger_edf_reserve0.586
id_only_deadline_magazine_gun_releaser0.582
identify_then_engage0.582
class_gated_magazine_keeper0.581
backscheduled_blast_packer0.579
radar_entry_cohort_screen_writeoff0.564
loiter_then_collapse0.563
screen_reveal_rear_shell_first0.561
hover_bank_double_lattice0.560
decoy_carrier_retarget_shell_balancer0.548
id_gated_striker_only_shell_breaker0.540
gun_ledger_deadline_reserve0.539
miss_budget_scheduler0.538
deadline_cluster_ledger0.525
lull_cohort_shell_balanced_magazine0.524
birth_cohort_screen_writeoff_reserve_ref0.523
radar_edge_cohort_timing_full_magazine0.521
screen_skip_reusable_seeker_pool0.520
screen_cohort_writeoff_full_magazine_nea0.501
bait_cohort_hover_blind_full_wave_magazi0.501
deadline_queue_id_gated_overlap_saver0.500
origin_parked_jink_stall0.482
radar_cohort_presort_reserve_finisher0.481
radar_cohort_fingerprint_spread_gun_rema0.479
bait_cohort_blind_full_magazine_on_strik0.478
first_cohort_screen_skip_balanced_magazi0.460
cohort_edge_picket_ledger0.458
cohort_screen_blind_one_per_striker0.458
loiter_pool_convergence_volley0.448
birth_cohort_edge_magazine_shell_balance0.439
bait_cohort_skip_rear_shell_first_gun_ha0.439
cohort_gated_miss_reserve_deadline_gun0.438
screen_writeoff_shell_parity_gun_slot_pl0.438
cohort_gap_profiler0.437
eta_balanced_leaker_split_gun_funnel0.420
cohort_gap_shell_split_gun_window_stretc0.420
cohort_screen_skip_shell_balanced_gun0.418
annealed_assignment0.418
radar_cohort_screen_skip_edge_magazine0.418
arrival_cohort_fingerprint_edge_strike0.397
screen_cohort_skip_edge_full_magazine_de0.397
depth_lag_band_precommit0.396
cohort_screen_skip_deadline_reserve0.373
contracting_ring_blaster0.358
decoy_carried_magazine_retarget_staging0.355
birth_cohort_lull_splitter0.355
wave_adaptive_deadline_convergence_cocov0.338
cohort_fingerprint_full_magazine_gun_swe0.336
birth_cohort_prefire_deadline_reserve0.336
parked_hover_ring_doublecover0.331
magazine_staging_pingpong0.327
pooled_pingpong_cluster_committer0.317
convergence_blast_scheduler0.314
origin_pingpong_salvo0.283
hover_bank_late_binder0.274
convergent_deadline_packer0.235

Matches

last night
OpponentSeedResultScore
discriminating_ledger9defended0.640watch
miss_budget_scheduler9breached0.843watch
reveal_timed_prelaunch9breached0.851watch
convergence_blast_scheduler9defended0.439watch
loiter_then_collapse9defended0.436watch
backscheduled_blast_packer9defended0.436watch
dither_parked_magazine9defended0.232watch
cluster_blast_column_breaker9defended0.640watch
contracting_ring_blaster9defended0.236watch
deadline_cluster_ledger9defended0.439watch
Record · 2026-10-08_attacker_staggered_trishell_blast_denial.meta.json
backendcli
date2026-10-08
dry_runFalse
escalationFalse
evidencebudget: 3000, dropped: [], included: ['matrix', 'top_three'], used: 2938
modelopus
name2026-10-08_attacker_staggered_trishell_blast_denial
personageneralist
prompt_version2026-10-03.1
raw_responseout/house_raw/2026-10-08T033122_cli_attacker_generalist.md
resultbeat_target: False, field_mean: 0.569, rank: 5
roleattacker
targetfield
tokensinput: 7018, output: 6871
Source · bots/house/2026-10-08_attacker_staggered_trishell_blast_denial.py
"""Idea: Stage thirty strikers just outside radar range on three interleaved shells, each rotated 12 degrees and set 12 units deeper than the last, so no two strikers are ever inside one blast radius. Then release them all on one tick.

How it works
------------
* Slots. There are 30 slots in 3 shells of 10. Inside a shell the slots are 36
  degrees apart. Shell k is rotated 12*k degrees and staged at radius
  456 + 12*k. All three shells sit outside radar range (450), so the defender
  sees nothing during staging.
* Staging. Strikers launch 4 per tick on their slot bearings. Each one is
  steered to its slot and held there with a small tangential dither. Drones are
  matched to slots by angle each tick, so the bearing convention does not
  matter.
* Release. When every striker is on station (or at the tick-60 failsafe), every
  waypoint is cleared on the same tick. All strikers then fly straight in.
  Shells reach the asset 3 ticks apart, and the whole wave arrives within about
  6 ticks.

Why this holds up against the whole field
-----------------------------------------
* Blast-packing defenders (convergence_blast_scheduler,
  backscheduled_blast_packer, cluster_blast_column_breaker,
  contracting_ring_blaster, loiter_then_collapse). These win by waiting until
  strikers squeeze within one 10-unit blast.
  - Neighbours in angle are in different shells, so they are always at least
    12 units apart along the radius.
  - Strikers in the same shell are 36 degrees apart. At the asset edge (r=25)
    their chord is about 15.5 units.
  - So no pair ever fits inside one blast. Each interceptor kills at most one
    striker, and the 20-round magazine kills at most about 17.
  - Waiting for a squeeze that never comes only leaves less time to shoot.
* Ledger, value-model, annealing and nearest-first defenders. These already
  fire one-for-one, so they cannot shoot fast enough. At 2 launches per tick
  against a 6-tick arrival window, and with no early radar picture, they also
  hit the magazine limit. The gun gets roughly one shot per tick for about 30
  ticks. That is not enough to stop the 13 or more strikers left over, and only
  3 need to get through.
* Shell-by-shell defenders (dither / parked magazine). The shells are so close
  together that no defender can clear one shell and reload its picture before
  the next arrives.
* No decoys. Every point of budget buys a striker, and type reveal (id range
  150) gives the defender nothing to filter out.
"""

import math
import random

NAME = "staggered_trishell_blast_denial"
ROLE = "attacker"

N_STRIKERS = 30
N_SHELLS = 3
PER_SHELL = 10
BASE_R = 456.0
SHELL_GAP = 12.0

_state = {}


def reset(seed=0):
    rng = random.Random(seed)
    rot = rng.uniform(0.0, 2.0 * math.pi)
    slots = []
    # interleave shells so early launches already spread out
    for j in range(PER_SHELL):
        for k in range(N_SHELLS):
            ang = rot + j * (2.0 * math.pi / PER_SHELL) + k * (2.0 * math.pi / (PER_SHELL * N_SHELLS))
            ang = math.atan2(math.sin(ang), math.cos(ang))
            slots.append((ang, BASE_R + SHELL_GAP * k))
    _state.clear()
    _state["slots"] = slots
    _state["launched"] = 0
    _state["assign"] = {}
    _state["released"] = False


def _angdiff(a, b):
    d = a - b
    return abs(math.atan2(math.sin(d), math.cos(d)))


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


def _act(obs):
    if "slots" not in _state:
        reset(0)
    slots = _state["slots"]
    tick = obs.get("tick", 0)
    budget = float(obs.get("budget", 0.0))
    asset = obs.get("asset", {}).get("pos", [0.0, 0.0])
    ax, ay = float(asset[0]), float(asset[1])
    rules = obs.get("rules", {}) or {}
    cap = int(rules.get("attacker_launches_per_tick", 4))
    cost = float(rules.get("striker_cost", 2.0))

    action = {"launch": [], "steer": {}}

    # launches
    n = min(cap, N_STRIKERS - _state["launched"], int(budget // cost) if cost > 0 else 0)
    for _ in range(max(0, n)):
        ang = slots[_state["launched"]][0]
        action["launch"].append({"type": "striker", "bearing": ang})
        _state["launched"] += 1

    drones = [d for d in obs.get("drones", []) if d.get("type", "striker") == "striker"]
    try:
        drones.sort(key=lambda d: str(d["id"]))
    except Exception:
        pass

    assign = _state["assign"]
    alive_ids = set(d["id"] for d in drones)
    for did in list(assign.keys()):
        if did not in alive_ids:
            assign.pop(did, None)

    if _state["released"]:
        return action

    used = set(assign.values())
    for d in drones:
        if d["id"] in assign:
            continue
        px, py = float(d["pos"][0]) - ax, float(d["pos"][1]) - ay
        a = math.atan2(py, px)
        best, bd = None, 1e9
        for i, (sa, sr) in enumerate(slots):
            if i in used:
                continue
            v = _angdiff(a, sa)
            if v < bd:
                bd, best = v, i
        if best is not None:
            assign[d["id"]] = best
            used.add(best)

    # readiness check
    ready = _state["launched"] >= N_STRIKERS and len(drones) >= N_STRIKERS - 0
    targets = {}
    for d in drones:
        i = assign.get(d["id"])
        if i is None:
            continue
        sa, sr = slots[i]
        tx, ty = ax + sr * math.cos(sa), ay + sr * math.sin(sa)
        dist = math.hypot(float(d["pos"][0]) - tx, float(d["pos"][1]) - ty)
        targets[d["id"]] = (tx, ty, sa, dist)
        if dist > 12.0:
            ready = False
    if len(targets) < len(drones):
        ready = False

    if ready or tick >= 60:
        _state["released"] = True
        for d in drones:
            action["steer"][d["id"]] = None
        return action

    sign = 1.0 if (tick // 2) % 2 == 0 else -1.0
    for d in drones:
        t = targets.get(d["id"])
        if t is None:
            continue
        tx, ty, sa, dist = t
        if dist > 10.0:
            action["steer"][d["id"]] = [tx, ty]
        else:
            txn, tyn = -math.sin(sa), math.cos(sa)
            action["steer"][d["id"]] = [tx + sign * 10.0 * txn, ty + sign * 10.0 * tyn]
    return action