Skip to content

fix(swe-bench): fingerprint endpoint identity, not the time of asking - #474

Open
arekay-nv wants to merge 1 commit into
swe-layer-5from
swe-layer-6
Open

fix(swe-bench): fingerprint endpoint identity, not the time of asking#474
arekay-nv wants to merge 1 commit into
swe-layer-5from
swe-layer-6

Conversation

@arekay-nv

Copy link
Copy Markdown
Collaborator

What does this PR do?

Type of change

  • Bug fix
  • New feature
  • Documentation update
  • Refactor/cleanup

Related issues

Testing

  • Tests added/updated
  • All tests pass locally
  • Manual testing completed

Checklist

  • Code follows project style
  • Pre-commit hooks pass
  • Documentation updated (if needed)

Stack created with GitHub Stacks CLIGive Feedback 💬

EndpointFingerprintGate hashed the whole /v1/models payload. vLLM stamps that
response with a request-time `created` field and mints a fresh
`permission[].id` on every call, so two reads of one healthy, untouched engine
produce two different fingerprints -- four calls, four values.

The dispatcher records a fingerprint when a unit is claimed and re-reads it
when the unit is published, and treats any difference as `endpoint_changed`:
an infrastructure fault, which requeues the unit. With an unstable fingerprint
that comparison is always true, so every unit is retried until it exhausts
max_attempts, is published as abandoned, and the merge gate refuses the run.
The failure costs the full agent and evaluation time of every attempt first,
and reports itself as infrastructure damage rather than as a bug here.

Hash only the identity-bearing fields by dropping the per-request ones. The
gate still fails closed on an endpoint whose identity cannot be read at all,
which is the property it exists to provide.
@arekay-nv
arekay-nv requested a review from a team as a code owner August 26, 2026 03:32
@github-actions
github-actions Bot requested a review from nvzhihanj August 26, 2026 03:32
@github-actions

Copy link
Copy Markdown

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@github-actions github-actions Bot added the size/normal PR Review Policy: <=500 non-test lines & <=20 files label Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/normal PR Review Policy: <=500 non-test lines & <=20 files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants