CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-bleak

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

97

1.06x
Quality

Pending

Does it follow best practices?

Impact

97%

1.06x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-8/

{
  "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
    }
  ]
}

tile.json