or run

tessl search
Log in

Version

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

tessl/pypi-bleak

tessl install tessl/pypi-bleak@1.1.0

Cross-platform Bluetooth Low Energy GATT client library for asynchronous BLE communication

Agent Success

Agent success rate when using this tile

97%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.07x

Baseline

Agent success rate without this tile

91%

rubric.jsonevals/scenario-7/

{
  "context": "This evaluation assesses how well the engineer uses Bleak's BleakClient class to manage BLE device connections, particularly focusing on proper disconnection handling, connection status tracking, and async context manager implementation for automatic lifecycle management.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "BleakClient instantiation",
      "description": "Creates and stores a BleakClient instance in __init__ using the provided device address",
      "max_score": 15
    },
    {
      "name": "Connect method",
      "description": "Implements connect() method that calls BleakClient.connect() to establish connection",
      "max_score": 15
    },
    {
      "name": "Disconnect method",
      "description": "Implements disconnect() method that calls BleakClient.disconnect() to properly disconnect from the device",
      "max_score": 20
    },
    {
      "name": "Connection status check",
      "description": "Implements is_connected() method that returns BleakClient.is_connected property value",
      "max_score": 15
    },
    {
      "name": "Context manager entry",
      "description": "Implements __aenter__ that calls connect() method and returns self",
      "max_score": 15
    },
    {
      "name": "Context manager exit",
      "description": "Implements __aexit__ that calls disconnect() method for automatic cleanup",
      "max_score": 20
    }
  ]
}