tessl install tessl/npm-ts-api-utils@2.0.0Utility functions for working with TypeScript's API, providing comprehensive tools for analyzing and manipulating TypeScript AST nodes, types, and compiler APIs.
Agent Success
Agent success rate when using this tile
79%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.98x
Baseline
Agent success rate without this tile
40%
{
"context": "This evaluation assesses how effectively the engineer uses the ts-api-utils package for syntax validation tasks. The criteria focus exclusively on the proper usage of isAssignmentKind, isNumericPropertyName, and isValidPropertyAccess functions from the package.",
"type": "weighted_checklist",
"checklist": [
{
"name": "isAssignmentKind usage",
"description": "Uses ts-api-utils's isAssignmentKind function to check if a SyntaxKind represents an assignment operation in the isAssignment implementation",
"max_score": 35
},
{
"name": "Correct operator extraction",
"description": "Properly extracts the operatorToken.kind from the BinaryExpression before passing it to isAssignmentKind",
"max_score": 10
},
{
"name": "isNumericPropertyName usage",
"description": "Uses ts-api-utils's isNumericPropertyName function to determine if a property name is numeric in the isNumericProperty implementation",
"max_score": 30
},
{
"name": "isValidPropertyAccess usage",
"description": "Uses ts-api-utils's isValidPropertyAccess function to validate property names in the recommendAccessSyntax implementation",
"max_score": 20
},
{
"name": "Correct return mapping",
"description": "Maps isValidPropertyAccess return value correctly (true -> 'dot', false -> 'bracket') in the recommendAccessSyntax function",
"max_score": 5
}
]
}