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-10/

{
  "context": "This criteria evaluates how effectively the engineer uses comtypes for COM automation with Excel, specifically focusing on method calling and property access patterns. The evaluation assesses proper usage of comtypes.client functions, COM object creation, property access syntax, method invocation, and indexed property access for cell manipulation.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "COM Object Creation",
      "description": "Uses comtypes.client.CreateObject() to instantiate the Excel.Application COM object correctly",
      "max_score": 15
    },
    {
      "name": "Workbook Creation",
      "description": "Accesses the Workbooks property and calls the Add() method to create a new workbook",
      "max_score": 10
    },
    {
      "name": "Worksheet Access",
      "description": "Accesses worksheet objects through property access (e.g., ActiveSheet, Worksheets, or Sheets properties)",
      "max_score": 10
    },
    {
      "name": "Worksheet Naming",
      "description": "Sets the Name property of the worksheet to 'Sales Report' using attribute assignment syntax",
      "max_score": 5
    },
    {
      "name": "Cell Value Setting",
      "description": "Uses indexed property access via Cells(row, column) to set cell values for headers and data rows",
      "max_score": 20
    },
    {
      "name": "Cell Formatting",
      "description": "Accesses and modifies Font.Bold property for header and grand total rows using property access syntax",
      "max_score": 10
    },
    {
      "name": "Number Format",
      "description": "Sets the NumberFormat property on Range or Cells objects to apply currency formatting (e.g., '$#,##0.00')",
      "max_score": 15
    },
    {
      "name": "File Saving",
      "description": "Calls the SaveAs() or Close() method on the workbook object with appropriate parameters to save the file",
      "max_score": 10
    },
    {
      "name": "Application Cleanup",
      "description": "Calls the Quit() method on the Excel.Application object to properly close Excel",
      "max_score": 5
    }
  ]
}