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

{
  "context": "This criteria evaluates how effectively the engineer uses gatsby-plugin-sharp to implement image format conversion functionality. The focus is on proper usage of Sharp library methods for format conversion, quality control, and format-specific optimization options.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Sharp instance creation",
      "description": "Uses Sharp library (via require('sharp')) to create image processing instances by loading input files with sharp(inputPath)",
      "max_score": 15
    },
    {
      "name": "Format conversion methods",
      "description": "Correctly uses Sharp format conversion methods (.jpeg(), .png(), .webp(), .avif()) to convert images to target formats",
      "max_score": 25
    },
    {
      "name": "Quality parameter usage",
      "description": "Properly passes quality settings to format conversion methods (e.g., .jpeg({ quality: 75 }), .webp({ quality: 50 })) with correct default value of 50",
      "max_score": 20
    },
    {
      "name": "JPEG progressive encoding",
      "description": "Implements JPEG-specific progressive option using .jpeg({ progressive: true }) when specified in jpegOptions",
      "max_score": 15
    },
    {
      "name": "PNG compression level",
      "description": "Implements PNG-specific compressionLevel option using .png({ compressionLevel: value }) when specified in pngOptions",
      "max_score": 15
    },
    {
      "name": "File output method",
      "description": "Uses Sharp's .toFile(outputPath) method to write the converted image to the specified output path and return metadata",
      "max_score": 10
    }
  ]
}
tessl i tessl/npm-gatsby-plugin-sharp@5.15.0

tile.json