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 criteria evaluates how well the engineer uses comtypes package functions to create and access COM objects, specifically focusing on CreateObject, GetActiveObject, and property access capabilities.",
"type": "weighted_checklist",
"checklist": [
{
"name": "CreateObject usage",
"description": "Uses comtypes.client.CreateObject() to create a new Shell.Application COM object with the correct ProgID string 'Shell.Application'",
"max_score": 30
},
{
"name": "GetActiveObject usage",
"description": "Uses comtypes.client.GetActiveObject() to connect to an already-running Shell.Application COM object with the correct ProgID string",
"max_score": 25
},
{
"name": "COM method invocation",
"description": "Calls the NameSpace() or BrowseForFolder() method on the shell COM object to navigate to special folders using folder IDs",
"max_score": 25
},
{
"name": "Property access",
"description": "Accesses COM object properties using attribute syntax (e.g., folder_obj.Title) to retrieve folder information",
"max_score": 15
},
{
"name": "COMError handling",
"description": "Imports and catches comtypes.COMError exceptions when COM operations fail, raising RuntimeError as specified in the API functions",
"max_score": 5
}
]
}