CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-ts-api-utils

tessl install tessl/npm-ts-api-utils@2.0.0

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

rubric.jsonevals/scenario-5/

{
  "context": "This evaluation criteria assesses how well the engineer uses the ts-api-utils package, specifically the modifier checking functionality (includesModifier), to analyze TypeScript class members and their modifiers. The focus is on correct package usage for identifying access modifiers, static, readonly, and abstract modifiers.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses includesModifier function",
      "description": "Solution imports and uses the includesModifier function from ts-api-utils to check for modifier kinds on class members",
      "max_score": 30
    },
    {
      "name": "Checks public modifier",
      "description": "Solution uses includesModifier with SyntaxKind.PublicKeyword to identify public members",
      "max_score": 10
    },
    {
      "name": "Checks private modifier",
      "description": "Solution uses includesModifier with SyntaxKind.PrivateKeyword to identify private members",
      "max_score": 10
    },
    {
      "name": "Checks protected modifier",
      "description": "Solution uses includesModifier with SyntaxKind.ProtectedKeyword to identify protected members",
      "max_score": 10
    },
    {
      "name": "Checks readonly modifier",
      "description": "Solution uses includesModifier with SyntaxKind.ReadonlyKeyword to identify readonly members",
      "max_score": 10
    },
    {
      "name": "Checks static modifier",
      "description": "Solution uses includesModifier with SyntaxKind.StaticKeyword to identify static members",
      "max_score": 10
    },
    {
      "name": "Checks abstract modifier",
      "description": "Solution uses includesModifier with SyntaxKind.AbstractKeyword to identify abstract members",
      "max_score": 10
    },
    {
      "name": "Handles combined modifiers",
      "description": "Solution correctly checks for multiple modifiers on a single member, allowing members to appear in multiple categories when they have combined modifiers",
      "max_score": 10
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/ts-api-utils@2.0.x
tile.json