All evidence cases
DeepSWE v1.1repositoryTypeScript

Add explicit resource management declarations to the parser

Add parsing and AST support for `using` and `await using` declarations, including context-sensitive errors.

meriyah-explicit-resource-declarations

Normalized profile

What this task asks for

Add parsing and AST support for `using` and `await using` declarations, including context-sensitive errors. Parse `using` and `await using` declarations when `next: true` and emit the corresponding declaration kinds. Treat `using` followed by a line break as an identifier rather than a declaration. Allow `using` in all scopes but restrict `await using` to async or module-level contexts. Support both declaration forms in for-of and for-await-of heads while rejecting for-in and destructuring forms. Report the specified messages for global scope, async context, missing initializer, for-in, and destructuring errors. Prioritize the async-context error for `await using` at script top level.

  • feature implementation
  • parser
  • Meriyah
  • repository patch
  • concurrency, cancellation, or distributed-state coordination

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 configurationlowNo passes0/4
claude-fable-5vertex_aimini-swe-agentpublished configurationmediumNo passes0/4
claude-fable-5vertex_aimini-swe-agentpublished configurationhighNo passes0/4
claude-fable-5vertex_aimini-swe-agentpublished configurationxhighNo passes0/4
claude-fable-5vertex_aimini-swe-agentpublished configurationmaxMixed1/4
claude-opus-4-8anthropicmini-swe-agentpublished configurationlowNo passes0/4
claude-opus-4-8anthropicmini-swe-agentpublished configurationmediumNo passes0/4
claude-opus-4-8anthropicmini-swe-agentpublished configurationhighNo passes0/4
claude-opus-4-8anthropicmini-swe-agentpublished configurationxhighNo passes0/4
claude-opus-4-8anthropicmini-swe-agentpublished configurationmaxNo passes0/4
claude-sonnet-4-6anthropicmini-swe-agentpublished configurationhighNo passes0/4
claude-sonnet-5anthropicmini-swe-agentpublished configurationlowMixed1/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 configurationhighMixed2/4
glm-5-2zaimini-swe-agentpublished configurationmaxNo passes0/4
gpt-5-4openaimini-swe-agentpublished configurationxhighMixed3/4
gpt-5-5openaimini-swe-agentpublished configurationlowNo passes0/4
gpt-5-5openaimini-swe-agentpublished configurationmediumMixed3/4
gpt-5-5openaimini-swe-agentpublished configurationhighMixed2/4
gpt-5-5openaimini-swe-agentpublished configurationxhighAll passed4/4
gpt-5-6-lunaopenaimini-swe-agentpublished configurationlowNo passes0/4
gpt-5-6-lunaopenaimini-swe-agentpublished configurationmediumNo passes0/4
gpt-5-6-lunaopenaimini-swe-agentpublished configurationhighMixed1/4
gpt-5-6-lunaopenaimini-swe-agentpublished configurationxhighAll passed4/4
gpt-5-6-lunaopenaimini-swe-agentpublished configurationmaxAll passed4/4
gpt-5-6-solopenaimini-swe-agentpublished configurationlowNo passes0/4
gpt-5-6-solopenaimini-swe-agentpublished configurationmediumMixed1/4
gpt-5-6-solopenaimini-swe-agentpublished configurationhighMixed1/4
gpt-5-6-solopenaimini-swe-agentpublished configurationxhighMixed1/4
gpt-5-6-solopenaimini-swe-agentpublished configurationmaxNo passes0/4
gpt-5-6-terraopenaimini-swe-agentpublished configurationlowMixed1/4
gpt-5-6-terraopenaimini-swe-agentpublished configurationmediumMixed1/4
gpt-5-6-terraopenaimini-swe-agentpublished configurationhighAll passed4/4
gpt-5-6-terraopenaimini-swe-agentpublished configurationxhighMixed2/4
gpt-5-6-terraopenaimini-swe-agentpublished configurationmaxMixed2/4
kimi-k2-7-codeopenroutermini-swe-agentpublished configurationdefaultNo passes0/4