or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/comtypes@1.4.x
tile.json

tessl/pypi-comtypes

tessl install tessl/pypi-comtypes@1.4.0

Pure 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%

rubric.jsonevals/scenario-9/

{
  "context": "This criteria evaluates how well the engineer uses comtypes' type library access APIs (ITypeLib and ITypeInfo interfaces) to implement a COM type library inspector. The focus is on proper usage of comtypes functions like LoadTypeLib, ITypeLib methods, and ITypeInfo methods.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "LoadTypeLib usage",
      "description": "Uses comtypes.typeinfo.LoadTypeLib() or comtypes.typeinfo.LoadTypeLibEx() to load the type library from the file path in __init__",
      "max_score": 25
    },
    {
      "name": "ITypeLib attribute access",
      "description": "Correctly accesses ITypeLib attributes/methods to retrieve library information (GetDocumentation(), GetLibAttr()) in get_typelib_info() method",
      "max_score": 20
    },
    {
      "name": "Type enumeration",
      "description": "Uses ITypeLib.GetTypeInfoCount() and ITypeLib.GetTypeInfo() to iterate through all types in the library for get_type_names() method",
      "max_score": 20
    },
    {
      "name": "ITypeInfo usage",
      "description": "Uses ITypeInfo interface to retrieve detailed type information including GetDocumentation() and GetTypeAttr() in get_interface_info() method",
      "max_score": 15
    },
    {
      "name": "Function enumeration",
      "description": "Uses ITypeInfo.GetFuncDesc() or similar methods to enumerate interface methods/functions for the get_interface_info() method",
      "max_score": 10
    },
    {
      "name": "Error handling",
      "description": "Properly handles COM errors and file loading errors, converting them to appropriate Python exceptions (FileNotFoundError, OSError, ValueError)",
      "max_score": 10
    }
  ]
}