or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/asyncstdlib@3.13.x
tile.json

tessl/pypi-asyncstdlib

tessl install tessl/pypi-asyncstdlib@3.13.0

The missing async toolbox - re-implements functions and classes of the Python standard library to make them compatible with async callables, iterables and context managers

Agent Success

Agent success rate when using this tile

84%

Improvement

Agent success rate improvement when using this tile compared to baseline

3.36x

Baseline

Agent success rate without this tile

25%

rubric.jsonevals/scenario-1/

{
  "context": "This criteria evaluates how well the engineer uses asyncstdlib's ExitStack to implement dynamic context manager lifecycle management, focusing specifically on the usage of ExitStack's key methods for entering context managers, registering callbacks, and ensuring proper LIFO cleanup.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "ExitStack instantiation",
      "description": "Uses asyncstdlib.ExitStack() to create an exit stack instance for managing multiple context managers",
      "max_score": 15
    },
    {
      "name": "Dynamic context entry",
      "description": "Uses ExitStack.enter_context() method to dynamically add and enter async context managers at runtime",
      "max_score": 25
    },
    {
      "name": "Callback registration",
      "description": "Uses ExitStack.callback() method to register cleanup callbacks that execute during teardown",
      "max_score": 20
    },
    {
      "name": "Manual cleanup",
      "description": "Uses ExitStack.aclose() method to manually trigger immediate cleanup of all registered resources",
      "max_score": 15
    },
    {
      "name": "Context manager integration",
      "description": "Properly integrates ExitStack within __aenter__ and __aexit__ methods to provide context manager protocol support",
      "max_score": 15
    },
    {
      "name": "LIFO cleanup order",
      "description": "Leverages ExitStack's built-in LIFO (Last In First Out) cleanup ordering, allowing the stack to automatically handle reverse-order resource cleanup",
      "max_score": 10
    }
  ]
}