Attacker

magazine_lifetime_bleed_feint_ring

rank #16Elo 1019house league, persona contrarian2026-11-22_attacker_magazine_lifetime_bleed_feint_ring

Idea: Feint a full synchronized ring dive that stops just outside gun range inside the defender's launch window, then retreat to an orbit beyond interceptor reach so the parked magazine times out, and only then attack.

Name: "Magazine lifetime bleed".

Why this is not the obvious counter ----------------------------------- The obvious counter to parked_hover_ring_doublecover is to break the ring's geometry. That means irregular angular spacing, radial staggering wider than DR=8, or arriving in clumps, so the double-cover blasts stop catching neighbours. This bot does not contest the blast geometry at all. It attacks the clock instead.

The defender pre-launches parked interceptors whenever enough threats are "soon" (closing, eta <= 24, which means r <~ 121 at speed 4). It launches until parked >= ceil(0.8*N)+1. Those interceptors live only 90 ticks. They hover near the origin and only commit at r<=42, or at age 80, when they have just ~120 units of flight left.

So the whole ring (all budget spent on strikers) dives radially to r~99, which is outside the gun's 100 range. That keeps it in the launch window for several ticks while the defender streams up to 2 interceptors per tick into its parked hover. The ring then retreats to an orbit at r~220 and rotates evenly. The even rotation keeps the hover jitter symmetric, so the parked interceptors stay near the origin. They age out, and their age-80 commits cannot reach the ring. Interceptor counts are watched; if the magazine is not yet drained, the feint repeats.

The final attack goes in against an empty magazine and the gun alone. It uses two interleaved half-rings released 4 ticks apart, so whatever stock remains gets single kills, not triples.

71.7%win rate
0.61cost exchange
760matches
night 49first night (2026-11-22)
Best match
vs parked_hover_ring_doublecover · its score 0.937 · seed 7 · open →
Worst match
vs origin_parked_jink_stall · its score 0.193 · seed 8 · open →

Against each opponent

its mean score
origin_pingpong_salvo0.923
hover_bank_double_lattice0.922
contracting_ring_blaster0.921
parked_hover_ring_doublecover0.916
loiter_pool_convergence_volley0.913
hover_bank_late_binder0.912
pooled_pingpong_cluster_committer0.912
dither_parked_magazine0.893
bait_cohort_blind_full_magazine_on_strik0.884
birth_cohort_lull_splitter0.870
reveal_timed_prelaunch0.861
cohort_gap_profiler0.854
cohort_screen_skip_deadline_reserve0.854
backscheduled_blast_packer0.854
id_only_deadline_magazine_gun_releaser0.852
identify_then_engage0.851
id_gated_magazine_hold0.850
magazine_staging_pingpong0.841
shell_balanced_id_gated_gun_dedup0.836
defender_id_gate_magazine_vault0.834
greedy_value_model0.834
class_gated_magazine_keeper0.833
cohort_screen_blind_one_per_striker0.832
bait_cohort_hover_blind_full_wave_magazi0.831
gun_ledger_deadline_reserve0.831
radar_entry_cohort_screen_writeoff0.831
radar_cohort_presort_reserve_finisher0.831
cohort_gated_miss_reserve_deadline_gun0.830
birth_cohort_prefire_deadline_reserve0.830
id_gated_front_shell_magazine_rear_shell0.817
defender_ring_triplet_neighbor_blast0.814
annealed_assignment_eager0.813
layered0.813
miss_budget_scheduler0.812
loiter_then_collapse0.800
deadline_queue_id_gated_overlap_saver0.798
screen_reveal_rear_shell_first0.797
gun_first_ledger_edf_reserve0.795
discriminating_ledger0.793
cohort_screen_skip_shell_balanced_gun0.793
ledger_backscheduled_idband_rehomer0.793
convergence_hold_burst_packer0.792
id_gated_shell_breaker0.791
screen_writeoff_shell_parity_gun_slot_pl0.788
radar_cohort_screen_skip_edge_magazine0.786
annealed_assignment0.774
depth_lag_band_precommit0.771
nearest_first0.765
birth_cohort_screen_writeoff_reserve_ref0.754
radar_edge_cohort_timing_full_magazine0.730
cohort_edge_picket_ledger0.730
type_ledger_retarget_first0.729
screen_cohort_skip_edge_full_magazine_de0.727
gun_only0.708
id_gated_striker_only_shell_breaker0.706
cohort_fingerprint_full_magazine_gun_swe0.705
convergent_deadline_packer0.704
convergence_blast_scheduler0.666
screen_skip_reusable_seeker_pool0.664
wave_adaptive_deadline_convergence_cocov0.648
birth_cohort_edge_magazine_shell_balance0.628
bait_cohort_skip_rear_shell_first_gun_ha0.603
cohort_gap_shell_split_gun_window_stretc0.580
deadline_cluster_ledger0.545
lull_cohort_shell_balanced_magazine0.538
radar_cohort_fingerprint_spread_gun_rema0.520
first_cohort_screen_skip_balanced_magazi0.481
arrival_cohort_fingerprint_edge_strike0.478
trailing_cohort_full_magazine_deadline_g0.477
origin_parked_jink_stall0.473
eta_balanced_leaker_split_gun_funnel0.457
decoy_carried_magazine_retarget_staging0.289
screen_cohort_writeoff_full_magazine_nea0.251
split_leftover_far_engage_gun_deadline0.229
decoy_carrier_retarget_shell_balancer0.222
cluster_blast_column_breaker0.220

Matches

last night
OpponentSeedResultScore
discriminating_ledger9breached0.846watch
miss_budget_scheduler9breached0.846watch
reveal_timed_prelaunch9breached0.850watch
convergence_blast_scheduler9breached0.856watch
loiter_then_collapse9breached0.887watch
backscheduled_blast_packer9breached0.850watch
dither_parked_magazine9breached0.876watch
cluster_blast_column_breaker9defended0.229watch
contracting_ring_blaster9breached0.936watch
deadline_cluster_ledger9breached0.847watch
Record · 2026-11-22_attacker_magazine_lifetime_bleed_feint_ring.meta.json
backendcli
date2026-11-22
dry_runFalse
escalationFalse
evidencebudget: 3500, dropped: [], included: ['source'], used: 2747
modelopus
name2026-11-22_attacker_magazine_lifetime_bleed_feint_ring
personacontrarian
prompt_version2026-10-03.1
raw_responseout/house_raw/2026-11-22T033215_cli_attacker_contrarian.md
resultbeat_target: True, field_mean: 0.747, rank: 11, score_vs_target: 0.916
roleattacker
target2026-10-14_defender_parked_hover_ring_doublecover
tokensinput: 6326, output: 12019
Source · bots/house/2026-11-22_attacker_magazine_lifetime_bleed_feint_ring.py
"""Idea: Feint a full synchronized ring dive that stops just outside gun range inside the defender's launch window, then retreat to an orbit beyond interceptor reach so the parked magazine times out, and only then attack.

Name: "Magazine lifetime bleed".

Why this is not the obvious counter
-----------------------------------
The obvious counter to parked_hover_ring_doublecover is to break the ring's geometry.
That means irregular angular spacing, radial staggering wider than DR=8, or arriving in
clumps, so the double-cover blasts stop catching neighbours. This bot does not contest
the blast geometry at all. It attacks the clock instead.

The defender pre-launches parked interceptors whenever enough threats are "soon"
(closing, eta <= 24, which means r <~ 121 at speed 4). It launches until
parked >= ceil(0.8*N)+1. Those interceptors live only 90 ticks. They hover near the
origin and only commit at r<=42, or at age 80, when they have just ~120 units of
flight left.

So the whole ring (all budget spent on strikers) dives radially to r~99, which is
outside the gun's 100 range. That keeps it in the launch window for several ticks while
the defender streams up to 2 interceptors per tick into its parked hover. The ring then
retreats to an orbit at r~220 and rotates evenly. The even rotation keeps the hover
jitter symmetric, so the parked interceptors stay near the origin. They age out, and
their age-80 commits cannot reach the ring. Interceptor counts are watched; if the
magazine is not yet drained, the feint repeats.

The final attack goes in against an empty magazine and the gun alone. It uses two
interleaved half-rings released 4 ticks apart, so whatever stock remains gets single
kills, not triples.
"""
import math

NAME = "magazine_lifetime_bleed_feint_ring"
ROLE = "attacker"

R_HOLD = 220.0
LURE_MIN = 99.0
DIVE_AIM = 55.0
DRAIN_GOAL = 17
STAGGER = 4

_S = {}


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


def _st():
    if not _S:
        _S.update(phase="gather", rot=0.0, slots={}, sidx={}, assigned=False,
                  n_plan=None, launched=0, t_phase=0, out=set(), cyc_max=0,
                  zero_cnt=0, drained=0, lures=0, t_final=None)
    return _S


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


def _angdiff(a, b):
    d = abs(a - b) % (2 * math.pi)
    return min(d, 2 * math.pi - d)


def _act(obs):
    st = _st()
    tick = int(obs.get("tick", 0) or 0)
    rules = obs.get("rules", {}) or {}
    budget = float(obs.get("budget", 0.0) or 0.0)
    asset = obs.get("asset", {}) or {}
    ap = asset.get("pos", [0.0, 0.0]) or [0.0, 0.0]
    ax, ay = float(ap[0]), float(ap[1])
    cost = float(rules.get("striker_cost", 2.0))
    lpt = int(rules.get("attacker_launches_per_tick", 4))
    max_ticks = int(rules.get("max_ticks", 600))
    spd = float(rules.get("striker_speed", 4.0))
    w = 0.7 * spd / R_HOLD

    if st["n_plan"] is None:
        st["n_plan"] = max(1, int(budget // cost))
    n_plan = st["n_plan"]

    launches = []
    if budget >= cost and st["launched"] < n_plan:
        k = min(lpt, int(budget // cost), n_plan - st["launched"])
        for _ in range(k):
            b = 2 * math.pi * st["launched"] / n_plan
            launches.append({"type": "striker", "bearing": b})
            st["launched"] += 1
    launching_done = (budget < cost) or st["launched"] >= n_plan

    drones = []
    for d in obs.get("drones", []) or []:
        did = d.get("id")
        if did is None:
            continue
        p = d.get("pos") or [0.0, 0.0]
        x, y = float(p[0]) - ax, float(p[1]) - ay
        drones.append(dict(id=did, x=x, y=y, r=math.hypot(x, y), a=math.atan2(y, x)))
    ints = obs.get("interceptors", []) or []
    n_int = len(ints)

    # assign evenly spaced slots once everything is launched (robust to bearing units)
    if launching_done and not st["assigned"] and drones and tick > 2:
        ds = sorted(drones, key=lambda d: d["a"])
        base = ds[0]["a"]
        n = len(ds)
        for i, d in enumerate(ds):
            st["slots"][d["id"]] = base + 2 * math.pi * i / n
            st["sidx"][d["id"]] = i
        st["assigned"] = True

    steer = {}

    def pt(r, a):
        return [ax + r * math.cos(a), ay + r * math.sin(a)]

    def hold(d):
        s = st["slots"].get(d["id"])
        if s is None:
            return pt(R_HOLD, d["a"])
        return pt(R_HOLD, s + st["rot"] + 3 * w)

    ph = st["phase"]

    if ph != "final" and tick >= max_ticks - 95:
        ph = st["phase"] = "final"
        st["t_final"] = tick

    if ph == "gather":
        st["rot"] += w
        ready = st["assigned"] and len(drones) > 0
        for d in drones:
            steer[d["id"]] = hold(d)
            s = st["slots"].get(d["id"])
            if s is None or abs(d["r"] - R_HOLD) > 15 or _angdiff(d["a"], s + st["rot"]) > 0.2:
                ready = False
        if ready or (st["assigned"] and tick - st["t_phase"] > 170):
            st["phase"] = "dive"
            st["t_phase"] = tick
            st["out"] = set()
            st["cyc_max"] = 0
    elif ph == "dive":
        st["cyc_max"] = max(st["cyc_max"], n_int)
        for d in drones:
            if d["id"] in st["out"]:
                steer[d["id"]] = pt(R_HOLD, d["a"])
            elif d["r"] <= LURE_MIN:
                st["out"].add(d["id"])
                steer[d["id"]] = pt(R_HOLD, d["a"])
            else:
                steer[d["id"]] = pt(DIVE_AIM, d["a"])
        if all(d["id"] in st["out"] for d in drones) or tick - st["t_phase"] > 45:
            st["phase"] = "retreat"
            st["t_phase"] = tick
            st["zero_cnt"] = 0
    elif ph == "retreat":
        st["cyc_max"] = max(st["cyc_max"], n_int)
        st["rot"] += w
        st["zero_cnt"] = st["zero_cnt"] + 1 if n_int == 0 else 0
        far = True
        for d in drones:
            steer[d["id"]] = hold(d)
            if d["r"] < R_HOLD - 25:
                far = False
        el = tick - st["t_phase"]
        if (el >= 25 and st["zero_cnt"] >= 3 and far) or el > 130:
            st["drained"] += st["cyc_max"]
            st["lures"] += 1
            if st["drained"] < DRAIN_GOAL and st["lures"] < 3 and tick < max_ticks - 270:
                st["phase"] = "dive"
                st["out"] = set()
                st["cyc_max"] = 0
            else:
                st["phase"] = "final"
                st["t_final"] = tick
            st["t_phase"] = tick
    else:  # final
        tf = st["t_final"] if st["t_final"] is not None else tick
        st["rot"] += w
        for d in drones:
            i = st["sidx"].get(d["id"])
            rel = tf + (STAGGER if (i is not None and i % 2 == 1) else 0)
            if tick >= rel or i is None:
                steer[d["id"]] = None
            else:
                steer[d["id"]] = hold(d)

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