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

{
  "context": "Evaluates how well the solution relies on babel-plugin-react-transform's built-in option validation and normalization to guard configuration for transforms. Checks cover invoking the package's validators, surfacing the canonical error messaging, and using the provided normalizer to apply defaults while preserving caller overrides.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Validation call",
      "description": "Calls the package's option validator (e.g., ReactTransformBuilder.assertValidOptions or validateOptions from babel-plugin-react-transform) before processing options so invalid shapes are rejected by the plugin itself.",
      "max_score": 30
    },
    {
      "name": "Plugin error",
      "description": "Propagates the plugin's own validation error message for missing/non-array transforms (\"babel-plugin-react-transform requires that you specify options in .babelrc or from the Babel Node API, and that it is an object with a transforms property which is an array.\"), not a custom message.",
      "max_score": 20
    },
    {
      "name": "Uses normalize",
      "description": "Invokes the package's normalization routine (ReactTransformBuilder.prototype.normalizeOptions or equivalent exported helper) to apply defaults instead of hand-building factoryMethods and superClasses arrays.",
      "max_score": 30
    },
    {
      "name": "Preserves overrides",
      "description": "When custom factoryMethods or superClasses are provided, passes them through the package normalizer so caller-specified values remain unchanged while other defaults are applied.",
      "max_score": 20
    }
  ]
}
tessl i tessl/npm-babel-plugin-react-transform@3.0.0

tile.json