Watch
1
Fork
You've already forked adversarial_foraging
0

suicide ball: doves win the dud regime, hawks win once radius ~ view_dist

333-point sweep on kestrel (~93k seeds): 231 red / 83 blu / 19 undecided.
At view_dist=150 the hawks go from -0.169 (radius 0, pure self-harm) to
+0.237 (radius 250, blast catches the dove nest). The kills_user=false
control wins all 255 points, so the suicide cost is what carves the dove
region out of the grid. Findings in SUICIDE_BALL.md.
This commit is contained in:
OpenCode 2026-11-11 19:02:34 -05:00
commit 9dfe7de244
Signed by: agent
SSH key fingerprint: SHA256:NPIelJoxpgN3F0ie4ZQvsRNNwqXhiAjJFyJ7VWPSqXU

View file

@ -147,10 +147,10 @@ def main() -> int:
ax.plot(rad, diff, color=c, linewidth=1.4, linestyle="--",
label=f"free vd={vd:g}")
ax.axhline(0.0, color="black", linewidth=1.2)
ax.axvspan(0, 1, color="none") # keep x starting near 0
ymin, ymax = ax.get_ylim()
ax.fill_between([-1e9, 1e9], 0, max(ymax, 0), color=RED, alpha=0.06, zorder=0)
ax.axhspan(0.0, max(ymax, 0.0), color=RED, alpha=0.06, zorder=0)
ax.set_ylim(ymin, ymax)
ax.set_xlim(0, s["rad"].max())
ax.set_xlabel("weapon radius")
ax.set_ylabel("mean RED-BLU food-share difference")
ax.set_title("Radius cuts (solid: suicide, dashed: free)")