tessl install tessl/pypi-bleak@1.1.0Cross-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%
{
"context": "This criteria evaluates how well the engineer uses the Bleak library to implement connection status monitoring for Bluetooth Low Energy devices. The focus is on proper usage of BleakClient's connection management and status checking capabilities.",
"type": "weighted_checklist",
"checklist": [
{
"name": "BleakClient instantiation",
"description": "Correctly instantiates BleakClient with the device address to manage the connection lifecycle",
"max_score": 15
},
{
"name": "is_connected property",
"description": "Uses BleakClient's is_connected property to check connection status rather than implementing custom status tracking",
"max_score": 30
},
{
"name": "connect method usage",
"description": "Uses BleakClient's connect() method (or async context manager) to establish connection to the device",
"max_score": 20
},
{
"name": "disconnect method usage",
"description": "Uses BleakClient's disconnect() method to properly disconnect from the device",
"max_score": 15
},
{
"name": "Async/await pattern",
"description": "Correctly implements async/await pattern for all BleakClient operations (connect, disconnect, is_connected checks)",
"max_score": 20
}
]
}