tessl install tessl/pypi-comtypes@1.4.0Pure Python COM package for Windows COM automation and interoperability
Agent Success
Agent success rate when using this tile
88%
Improvement
Agent success rate improvement when using this tile compared to baseline
0.99x
Baseline
Agent success rate without this tile
89%
{
"context": "This evaluation assesses how effectively an engineer uses the comtypes package's event handling capabilities to implement a COM event monitoring system. The focus is specifically on the correct usage of comtypes.client functions for connecting to events, discovering events, and processing messages.",
"type": "weighted_checklist",
"checklist": [
{
"name": "GetEvents usage",
"description": "Uses comtypes.client.GetEvents() to connect event handlers to COM objects in the connect_events method",
"max_score": 35
},
{
"name": "Event sink implementation",
"description": "Implements event handler as a Python class or object with methods matching event names, compatible with GetEvents()",
"max_score": 20
},
{
"name": "ShowEvents usage",
"description": "Uses comtypes.client.ShowEvents() to display available events from a COM object in the list_events method",
"max_score": 20
},
{
"name": "PumpEvents usage",
"description": "Uses comtypes.client.PumpEvents() to process Windows messages for event delivery in the process_messages method",
"max_score": 20
},
{
"name": "Timeout handling",
"description": "Correctly passes the timeout parameter to PumpEvents() to control message processing duration",
"max_score": 5
}
]
}