or run

npx @tessl/cli init
Log in

Version

Files

tile.json

rubric.jsonevals/scenario-7/

{
  "context": "This criteria evaluates how well the engineer uses the pdf2pic package to convert PDF pages to base64-encoded images, specifically testing their proficiency with the base64 output format capability.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Input method usage",
      "description": "Uses fromPath() or fromBuffer() or fromBase64() to initialize the PDF converter",
      "max_score": 15
    },
    {
      "name": "Base64 response type",
      "description": "Specifies responseType: 'base64' in the convert options to get base64 output instead of image files",
      "max_score": 25
    },
    {
      "name": "Single page conversion",
      "description": "Uses the convert() method with a page number to convert individual pages to base64",
      "max_score": 20
    },
    {
      "name": "Multiple page conversion",
      "description": "Uses the bulk() method with an array of page numbers to convert multiple specific pages to base64",
      "max_score": 20
    },
    {
      "name": "Dimension configuration",
      "description": "Configures width and preserveAspectRatio options in the converter initialization to control output dimensions",
      "max_score": 15
    },
    {
      "name": "Base64 result access",
      "description": "Correctly accesses the base64 property from the conversion result object (ToBase64Response)",
      "max_score": 5
    }
  ]
}