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-5/

{
  "context": "This evaluation assesses how effectively the engineer uses the bleak package to implement a BLE device unpairing workflow. The focus is specifically on proper usage of bleak's device discovery, connection management, and unpairing APIs to accomplish the task specified in the problem.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "BleakScanner usage",
      "description": "Uses BleakScanner.find_device_by_address() or similar scanner functionality to locate the device by its Bluetooth address. The implementation should properly handle the timeout parameter and return the discovered device object.",
      "max_score": 25
    },
    {
      "name": "BleakClient connection",
      "description": "Creates a BleakClient instance with the discovered device and uses it to establish a connection. Should use either the connect() method or async context manager (async with BleakClient(...)) to manage the connection lifecycle.",
      "max_score": 25
    },
    {
      "name": "Connection verification",
      "description": "Uses the is_connected property or is_connected() method of BleakClient to verify that the connection is active before proceeding with unpair operation.",
      "max_score": 15
    },
    {
      "name": "Unpair method",
      "description": "Calls the unpair() method on the BleakClient instance to remove the device pairing. This is the core capability being tested and should be explicitly invoked.",
      "max_score": 25
    },
    {
      "name": "Error handling",
      "description": "Properly handles bleak-specific exceptions such as BleakDeviceNotFoundError, BleakError, or connection-related exceptions. Should catch and report errors appropriately for each stage of the workflow.",
      "max_score": 10
    }
  ]
}