All evidence cases
DeepSWE v1.1repositoryPython

Add single-active-consumer priority and cancel tracking to virtual transports

Add single-active-consumer semantics, consumer priority selection, cancel notifications, and lifecycle tracking to virtual transports.

kombu-single-active-consumer-priority

Normalized profile

What this task asks for

Add single-active-consumer semantics, consumer priority selection, cancel notifications, and lifecycle tracking to virtual transports. When a queue is declared with `x-single-active-consumer: True` in its queue arguments, at most one consumer receives messages at a time. `Channel.basic_consume` supports consumer priority via `x-priority` in consumer arguments (default 0) and an optional `on_cancel` callback. Consumer state must live in `BrokerState` (shared across channels), not per-channel. The `connection._callbacks[queue]` entry must dispatch to the correct consumer at delivery time, not simply store the last registered callback. When a higher-priority consumer registers on a SAC queue where a lower-priority consumer is active, the lower-priority consumer is demoted and its `on_cancel` fires. Transports with class-level `global_state` (memory, filesystem, pyro) must clear consumer state when a new Transport is created, since registrations must not leak across connections.

  • feature implementation
  • configuration tuning
  • data transformation
  • bug repair
  • filesystem
  • Kombu
  • repository patch
  • quantitative performance, accuracy, or resource constraints

Published evidence

Model × harness outcomes

Counts are tied to these exact configurations. Harnesses are not treated as equivalent across benchmarks.

Models
13
Configurations
41
Trials
164

Showing 41 of 41 configurations

ModelHarnessEffortResultPasses
claude-fable-5vertex_aimini-swe-agentpublished configurationlowMixed2/4
claude-fable-5vertex_aimini-swe-agentpublished configurationmediumMixed2/4
claude-fable-5vertex_aimini-swe-agentpublished configurationhighMixed3/4
claude-fable-5vertex_aimini-swe-agentpublished configurationxhighMixed2/4
claude-fable-5vertex_aimini-swe-agentpublished configurationmaxAll passed4/4
claude-opus-4-8anthropicmini-swe-agentpublished configurationlowAll passed4/4
claude-opus-4-8anthropicmini-swe-agentpublished configurationmediumAll passed4/4
claude-opus-4-8anthropicmini-swe-agentpublished configurationhighMixed3/4
claude-opus-4-8anthropicmini-swe-agentpublished configurationxhighMixed3/4
claude-opus-4-8anthropicmini-swe-agentpublished configurationmaxMixed1/4
claude-sonnet-4-6anthropicmini-swe-agentpublished configurationhighNo passes0/4
claude-sonnet-5anthropicmini-swe-agentpublished configurationlowNo passes0/4
claude-sonnet-5anthropicmini-swe-agentpublished configurationmediumNo passes0/4
claude-sonnet-5anthropicmini-swe-agentpublished configurationhighNo passes0/4
claude-sonnet-5anthropicmini-swe-agentpublished configurationxhighNo passes0/4
claude-sonnet-5anthropicmini-swe-agentpublished configurationmaxNo passes0/4
gemini-3-1-pro-previewvertex_aimini-swe-agentpublished configurationhighNo passes0/4
gemini-3-5-flashvertex_aimini-swe-agentpublished configurationmediumMixed2/4
glm-5-2zaimini-swe-agentpublished configurationhighMixed1/4
glm-5-2zaimini-swe-agentpublished configurationmaxNo passes0/4
gpt-5-4openaimini-swe-agentpublished configurationxhighMixed1/4
gpt-5-5openaimini-swe-agentpublished configurationlowMixed3/4
gpt-5-5openaimini-swe-agentpublished configurationmediumAll passed4/4
gpt-5-5openaimini-swe-agentpublished configurationhighMixed3/4
gpt-5-5openaimini-swe-agentpublished configurationxhighAll passed4/4
gpt-5-6-lunaopenaimini-swe-agentpublished configurationlowNo passes0/4
gpt-5-6-lunaopenaimini-swe-agentpublished configurationmediumMixed1/4
gpt-5-6-lunaopenaimini-swe-agentpublished configurationhighMixed3/4
gpt-5-6-lunaopenaimini-swe-agentpublished configurationxhighMixed3/4
gpt-5-6-lunaopenaimini-swe-agentpublished configurationmaxMixed2/4
gpt-5-6-solopenaimini-swe-agentpublished configurationlowAll passed4/4
gpt-5-6-solopenaimini-swe-agentpublished configurationmediumAll passed4/4
gpt-5-6-solopenaimini-swe-agentpublished configurationhighAll passed4/4
gpt-5-6-solopenaimini-swe-agentpublished configurationxhighAll passed4/4
gpt-5-6-solopenaimini-swe-agentpublished configurationmaxAll passed4/4
gpt-5-6-terraopenaimini-swe-agentpublished configurationlowNo passes0/4
gpt-5-6-terraopenaimini-swe-agentpublished configurationmediumMixed2/4
gpt-5-6-terraopenaimini-swe-agentpublished configurationhighMixed1/4
gpt-5-6-terraopenaimini-swe-agentpublished configurationxhighMixed2/4
gpt-5-6-terraopenaimini-swe-agentpublished configurationmaxAll passed4/4
kimi-k2-7-codeopenroutermini-swe-agentpublished configurationdefaultMixed1/4