CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-babel-plugin-react-transform

Babel plugin to instrument React components with custom transforms

59%

Overall

Evaluation59%

1.48x

Agent success when using this tile

Overview
Eval results
Files

rubric.jsonevals/scenario-2/

{
  "context": "Evaluates how well the solution configures babel-plugin-react-transform to detect and wrap React-style components built with custom patterns. Emphasizes correct option usage for factoryMethods and superClasses while keeping default detection and transform application intact.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "factoryMethods",
      "description": "Adds the custom factory pattern (for example, UI.createWidget) to the plugin's factoryMethods array so those components are detected and wrapped.",
      "max_score": 25
    },
    {
      "name": "superClasses",
      "description": "Adds the custom superclass (for example, WidgetBase) to the plugin's superClasses array so class components using it are wrapped.",
      "max_score": 25
    },
    {
      "name": "Keeps defaults",
      "description": "Extends plugin defaults instead of replacing them—default React patterns still work alongside custom patterns in factoryMethods and superClasses.",
      "max_score": 15
    },
    {
      "name": "Transforms used",
      "description": "Provides a transforms array to babel-plugin-react-transform so wrapped output actually calls the configured transform module for both custom patterns.",
      "max_score": 20
    },
    {
      "name": "Render gating",
      "description": "Relies on the plugin's render-method gating so non-rendering classes or unmatched factories pass through unwrapped.",
      "max_score": 15
    }
  ]
}
tessl i tessl/npm-babel-plugin-react-transform@3.0.0

tile.json