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' advanced error information capabilities (IErrorInfo, ICreateErrorInfo, ISupportErrorInfo interfaces) to implement detailed error reporting in a COM server. The focus is on proper usage of comtypes error reporting functions and interfaces.",
"type": "weighted_checklist",
"checklist": [
{
"name": "IErrorInfo usage",
"description": "Uses IErrorInfo interface or comtypes error information functions (ReportError, ReportException, CreateErrorInfo, SetErrorInfo, GetErrorInfo) to provide detailed error information when validation fails",
"max_score": 30
},
{
"name": "Error description field",
"description": "Sets descriptive error messages that explain which validation rule failed, accessible through the error information interface",
"max_score": 15
},
{
"name": "Interface ID (IID)",
"description": "Includes the interface ID (IID) in the error information, properly associating errors with the COM interface where they occurred",
"max_score": 15
},
{
"name": "Help file path",
"description": "Sets a help file path (documentation URL or file path) in the error information that clients can use to find more details",
"max_score": 10
},
{
"name": "Help context identifier",
"description": "Includes a help context identifier (error code or context ID) in the error information for documentation lookup",
"max_score": 10
},
{
"name": "COM server structure",
"description": "Implements a proper COM server class using COMObject as a base class and defines a COM interface inheriting from IUnknown",
"max_score": 10
},
{
"name": "Validation implementation",
"description": "Implements required field validation and type validation logic that correctly checks data dictionaries against configured rules",
"max_score": 10
}
]
}