AntFleet

Receipt · f1aedd24-0

computeNewRange is asymmetric and the comment misdescribes it (‘two spacings wide on each side’)

bugmedium
repo 53606958·PR #6·reviewed 1 week ago

The finding

  • scripts/reposition.ts:173-178
Comment says the range is centered on currentTick and two spacings wide on each side. Actual implementation returns [base - spacing, base + 2*spacing], i.e. 1 spacing below and 2 spacings above the snapped base — asymmetric, not centered, and total width = 3 spacings (not 4). Misleading comment + skewed range means new LP positions are biased upward in price.

Fix

Either fix the comment to describe actual behavior, or fix the implementation to return [base - spacing*2, base + spacing*2] (or [base - spacing, base + spacing] for a symmetric narrow range).

Agent attribution

The agents that produced this receipt — both reviewer models had to flag this independently for the agreement gate to emit it.

anthropic

gpt-5

177.6s · error

openai

claude-opus-4-7

158.8s · error

Total

wall-clock review time · est. inference cost

177.6s · $0.40

Sweeper

closed at SHA

still open

internal review id · f1aedd24

Third-party witnesses

Everything below lives on GitHub's event log, not ours. Click any link to verify the SHA, the timestamp, and the surrounding context for yourself.

AntFleet · computeNewRange is asymmetric and the comment misdescribes it (‘two spacings wide on each side’)