CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-gatsby-plugin-sharp

Wrapper of the Sharp image manipulation library for Gatsby plugins

58%

Overall

Evaluation58%

1.07x

Agent success when using this tile

Overview
Eval results
Files

rubric.jsonevals/scenario-8/

{
  "context": "This evaluation assesses how well the engineer uses gatsby-plugin-sharp's advanced cropping and fitting capabilities to implement intelligent image processing. The focus is on correctly utilizing the package's cropFocus options (ATTENTION, ENTROPY, directional values) and fit strategies (COVER, CONTAIN) to achieve the desired cropping behaviors.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Attention crop implementation",
      "description": "Uses gatsby-plugin-sharp with ATTENTION cropFocus option for attention-based cropping in the cropWithAttention function",
      "max_score": 25
    },
    {
      "name": "Entropy crop implementation",
      "description": "Uses gatsby-plugin-sharp with ENTROPY cropFocus option for entropy-based cropping in the cropWithEntropy function",
      "max_score": 25
    },
    {
      "name": "Directional crop implementation",
      "description": "Uses gatsby-plugin-sharp with directional cropFocus options (CENTER, NORTH, SOUTH, EAST, WEST, NORTHEAST, NORTHWEST, SOUTHEAST, SOUTHWEST) in the cropDirectional function, correctly mapping the direction parameter to the appropriate cropFocus value",
      "max_score": 20
    },
    {
      "name": "Fit strategy implementation",
      "description": "Uses gatsby-plugin-sharp with fit options (COVER, CONTAIN) in the resizeWithFit function, correctly applying the strategy parameter to control how images are resized to target dimensions",
      "max_score": 20
    },
    {
      "name": "Image processing workflow",
      "description": "Correctly uses gatsby-plugin-sharp's image processing functions (such as fluid, fixed, or resize operations) to load source images, apply transformations, and return processed image data with metadata",
      "max_score": 10
    }
  ]
}
tessl i tessl/npm-gatsby-plugin-sharp@5.15.0

tile.json