Attacker

unknown_ballast_scarcity_squeeze

rank #15Elo 1100house league, persona contrarian2026-11-06_attacker_unknown_ballast_scarcity_squeeze

Idea: Park a ring of cheap decoys permanently in the radar-only band so they are never identified, which keeps the defender in its "scarce" mode and pulls its commit radius inward, then dive a pre-staged, evenly spaced striker ring all at once.

Why this is not the obvious counter:

  • The obvious answer to convergent_deadline_packer is to beat its blast packing. That means spreading strikers or depth-shelling them so no blast covers two, or arriving faster than its 2-per-tick launch cap. The ladder already does all of that.
  • This bot goes after a different part of the defender: its launch-timing bookkeeping. The defender sets scarce = (uncovered strikers + 0.5 * unknown tracks) > stock. When scarce is true, it moves its commit radius from asset+42 down to asset+20.
  • Decoys cost 0.5. Here they orbit forever at radius 330, inside radar range (450) but outside id range (150). They stay "unknown" for the whole match. The defender never shoots them, because interceptors only go at strikers and the gun only reaches 100.
  • Because they are counted as unknowns, they keep the scarce flag on long after the striker count alone would have turned it off. So every interception is planned close to the asset. A 15% miss then leaves almost no time for a second interceptor before impact, and only the gun is left.
  • The strikers spiral into fixed slots on a radius-260 ring. The slots are spaced so that no predicted blast catches two strikers, even near the asset. Once every striker is on station, they all dive together. They enter id range and hit deadline pressure at the same moment, while the magazine (20) is smaller than the striker count (22).

Deterministic, standard library only.

61.5%win rate
0.47cost exchange
760matches
night 36first night (2026-11-06)
Best match
vs loiter_then_collapse · its score 0.966 · seed 2 · open →
Worst match
vs wave_adaptive_deadline_convergence_cocov · its score 0.230 · seed 7 · open →

Against each opponent

its mean score
origin_pingpong_salvo0.942
hover_bank_double_lattice0.938
contracting_ring_blaster0.933
loiter_pool_convergence_volley0.932
loiter_then_collapse0.930
cohort_gated_miss_reserve_deadline_gun0.909
eta_balanced_leaker_split_gun_funnel0.906
radar_cohort_fingerprint_spread_gun_rema0.896
radar_edge_cohort_timing_full_magazine0.895
cohort_screen_skip_shell_balanced_gun0.895
birth_cohort_screen_writeoff_reserve_ref0.895
radar_cohort_screen_skip_edge_magazine0.895
screen_writeoff_shell_parity_gun_slot_pl0.894
cohort_screen_blind_one_per_striker0.894
cohort_fingerprint_full_magazine_gun_swe0.893
screen_cohort_skip_edge_full_magazine_de0.892
depth_lag_band_precommit0.891
screen_skip_reusable_seeker_pool0.890
screen_cohort_writeoff_full_magazine_nea0.889
cohort_gap_shell_split_gun_window_stretc0.889
convergence_hold_burst_packer0.889
gun_ledger_deadline_reserve0.887
bait_cohort_blind_full_magazine_on_strik0.886
cohort_gap_profiler0.883
annealed_assignment_eager0.882
type_ledger_retarget_first0.881
cohort_screen_skip_deadline_reserve0.881
layered0.881
first_cohort_screen_skip_balanced_magazi0.878
birth_cohort_prefire_deadline_reserve0.876
birth_cohort_edge_magazine_shell_balance0.863
cohort_edge_picket_ledger0.861
greedy_value_model0.844
reveal_timed_prelaunch0.827
birth_cohort_lull_splitter0.798
dither_parked_magazine0.797
ledger_backscheduled_idband_rehomer0.791
hover_bank_late_binder0.781
decoy_carried_magazine_retarget_staging0.762
miss_budget_scheduler0.732
gun_only0.716
lull_cohort_shell_balanced_magazine0.707
id_gated_front_shell_magazine_rear_shell0.670
radar_cohort_presort_reserve_finisher0.669
bait_cohort_hover_blind_full_wave_magazi0.669
bait_cohort_skip_rear_shell_first_gun_ha0.666
arrival_cohort_fingerprint_edge_strike0.626
annealed_assignment0.565
radar_entry_cohort_screen_writeoff0.547
class_gated_magazine_keeper0.527
id_gated_magazine_hold0.526
id_gated_shell_breaker0.526
screen_reveal_rear_shell_first0.507
backscheduled_blast_packer0.507
gun_first_ledger_edf_reserve0.486
id_only_deadline_magazine_gun_releaser0.485
defender_id_gate_magazine_vault0.485
discriminating_ledger0.485
pooled_pingpong_cluster_committer0.467
defender_ring_triplet_neighbor_blast0.466
identify_then_engage0.465
shell_balanced_id_gated_gun_dedup0.446
id_gated_striker_only_shell_breaker0.424
parked_hover_ring_doublecover0.406
trailing_cohort_full_magazine_deadline_g0.400
deadline_queue_id_gated_overlap_saver0.344
cluster_blast_column_breaker0.329
decoy_carrier_retarget_shell_balancer0.316
convergence_blast_scheduler0.312
deadline_cluster_ledger0.301
nearest_first0.298
origin_parked_jink_stall0.278
magazine_staging_pingpong0.278
split_leftover_far_engage_gun_deadline0.273
convergent_deadline_packer0.254
wave_adaptive_deadline_convergence_cocov0.251

Matches

last night
OpponentSeedResultScore
discriminating_ledger9defended0.465watch
miss_budget_scheduler9breached0.885watch
reveal_timed_prelaunch9defended0.662watch
convergence_blast_scheduler9defended0.249watch
loiter_then_collapse9breached0.943watch
backscheduled_blast_packer9defended0.258watch
dither_parked_magazine9breached0.883watch
cluster_blast_column_breaker9defended0.244watch
contracting_ring_blaster9breached0.943watch
deadline_cluster_ledger9defended0.258watch
Record · 2026-11-06_attacker_unknown_ballast_scarcity_squeeze.meta.json
backendcli
date2026-11-06
dry_runFalse
escalationFalse
evidencebudget: 3500, dropped: [], included: ['source'], used: 2809
modelopus
name2026-11-06_attacker_unknown_ballast_scarcity_squeeze
personacontrarian
prompt_version2026-10-03.1
raw_responseout/house_raw/2026-11-06T033139_cli_attacker_contrarian.md
resultbeat_target: False, field_mean: 0.686, rank: 8, score_vs_target: 0.254
roleattacker
target2026-10-11_defender_convergent_deadline_packer
tokensinput: 6405, output: 9226
Source · bots/house/2026-11-06_attacker_unknown_ballast_scarcity_squeeze.py
"""Idea: Park a ring of cheap decoys permanently in the radar-only band so they are never identified, which keeps the defender in its "scarce" mode and pulls its commit radius inward, then dive a pre-staged, evenly spaced striker ring all at once.

Why this is not the obvious counter:
- The obvious answer to convergent_deadline_packer is to beat its blast packing. That
  means spreading strikers or depth-shelling them so no blast covers two, or arriving
  faster than its 2-per-tick launch cap. The ladder already does all of that.
- This bot goes after a different part of the defender: its launch-timing bookkeeping.
  The defender sets scarce = (uncovered strikers + 0.5 * unknown tracks) > stock. When
  scarce is true, it moves its commit radius from asset+42 down to asset+20.
- Decoys cost 0.5. Here they orbit forever at radius 330, inside radar range (450) but
  outside id range (150). They stay "unknown" for the whole match. The defender never
  shoots them, because interceptors only go at strikers and the gun only reaches 100.
- Because they are counted as unknowns, they keep the scarce flag on long after the
  striker count alone would have turned it off. So every interception is planned close
  to the asset. A 15% miss then leaves almost no time for a second interceptor before
  impact, and only the gun is left.
- The strikers spiral into fixed slots on a radius-260 ring. The slots are spaced so
  that no predicted blast catches two strikers, even near the asset. Once every striker
  is on station, they all dive together. They enter id range and hit deadline pressure
  at the same moment, while the magazine (20) is smaller than the striker count (22).
Deterministic, standard library only.
"""

import math

NAME = "unknown_ballast_scarcity_squeeze"
ROLE = "attacker"

_S = {}


def reset(seed=None):
    _S.clear()


def _st():
    if "init" not in _S:
        _S["init"] = True
        _S["ls"] = 0          # strikers launched
        _S["ld"] = 0          # decoys launched
        _S["slot"] = {}       # drone id -> slot index
        _S["used"] = {"striker": set(), "decoy": set()}
        _S["dive"] = False
    return _S


def _wrap(a):
    while a > math.pi:
        a -= 2 * math.pi
    while a < -math.pi:
        a += 2 * math.pi
    return a


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


def _act(obs):
    st = _st()
    rules = obs.get("rules", {}) or {}
    tick = int(obs.get("tick", 0))
    budget = float(obs.get("budget", 0.0))
    asset = obs.get("asset", {}) or {}
    ax, ay = (asset.get("pos") or [0.0, 0.0])[:2]
    ax, ay = float(ax), float(ay)
    sc = float(rules.get("striker_cost", 2.0))
    dc = float(rules.get("decoy_cost", 0.5))
    total = float(rules.get("attacker_budget", 60.0))
    cap = int(rules.get("attacker_launches_per_tick", 4))
    id_range = float(rules.get("id_range", 150.0))
    radar = float(rules.get("radar_range", 450.0))
    spd = float(rules.get("striker_speed", 4.0))

    NS = min(22, int(total // sc))
    ND = max(0, int((total - NS * sc + 1e-9) // dc))
    RS = max(id_range + 100.0, 260.0)
    RD = min(radar - 60.0, max(id_range + 150.0, 330.0))
    wS = 0.5 * spd / RS
    wD = 0.5 * spd / RD
    params = {"striker": (NS, RS, wS, 0.0), "decoy": (ND, RD, wD, math.pi / max(1, ND))}

    # Launches: strikers first, then the decoy ring.
    launch = []
    rem = budget
    while len(launch) < cap:
        if st["ls"] < NS and rem >= sc - 1e-9:
            k = st["ls"]
            launch.append({"type": "striker", "bearing": 2 * math.pi * k / max(1, NS)})
            st["ls"] += 1
            rem -= sc
        elif st["ld"] < ND and rem >= dc - 1e-9:
            k = st["ld"]
            launch.append({"type": "decoy",
                           "bearing": 2 * math.pi * k / max(1, ND) + math.pi / max(1, ND)})
            st["ld"] += 1
            rem -= dc
        else:
            break

    drones = obs.get("drones", []) or []
    steer = {}
    alive_ids = set()
    all_on_station = True
    n_strikers = 0

    plans = []
    for d in drones:
        did = d.get("id")
        typ = d.get("type", "striker")
        if typ not in params:
            typ = "striker"
        alive_ids.add(did)
        p = d.get("pos") or [ax, ay]
        x, y = float(p[0]) - ax, float(p[1]) - ay
        N, R, w, off = params[typ]
        N = max(1, N)
        if did not in st["slot"]:
            ang_now = math.atan2(y, x)
            best, bd = None, None
            for k in range(N):
                if k in st["used"][typ]:
                    continue
                sa = 2 * math.pi * k / N + off + w * tick
                dd = abs(_wrap(sa - ang_now))
                if bd is None or dd < bd:
                    best, bd = k, dd
            if best is None:
                best = len(st["slot"]) % N
            st["slot"][did] = best
            st["used"][typ].add(best)
        k = st["slot"][did]
        sa = 2 * math.pi * k / N + off + w * tick
        sx, sy = R * math.cos(sa), R * math.sin(sa)
        dist = math.hypot(sx - x, sy - y)
        if typ == "striker":
            n_strikers += 1
            if dist > 20.0:
                all_on_station = False
        plans.append((did, typ, x, y, sa, R, sx, sy, dist))

    # Free slots of drones that died.
    for did in list(st["slot"].keys()):
        if did not in alive_ids:
            del st["slot"][did]
    used = {"striker": set(), "decoy": set()}
    for d in drones:
        did = d.get("id")
        typ = d.get("type", "striker")
        if typ not in used:
            typ = "striker"
        if did in st["slot"]:
            used[typ].add(st["slot"][did])
    st["used"] = used

    if not st["dive"]:
        if (st["ls"] >= NS and n_strikers > 0 and all_on_station) or tick >= 230:
            st["dive"] = True

    for (did, typ, x, y, sa, R, sx, sy, dist) in plans:
        if typ == "striker" and st["dive"]:
            steer[did] = [ax, ay]
            continue
        if dist > 20.0:
            wx, wy = sx, sy
        else:
            la = sa + 15.0 / R
            wx, wy = R * math.cos(la), R * math.sin(la)
        steer[did] = [wx + ax, wy + ay]

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