CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-stencil--core

A comprehensive web component compiler that transforms TypeScript and JSX code into standards-compliant web components with complete development toolchain.

75

1.44x
Overview
Eval results
Files

rubric.jsonevals/scenario-4/

{
  "context": "This evaluation assesses the engineer's ability to configure Stencil's development server with HTTPS support and custom certificates. The focus is on proper use of Stencil's configuration API, specifically the devServer configuration object and its HTTPS-related properties.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Config export",
      "description": "Uses 'Config' type from @stencil/core and exports a proper configuration object",
      "max_score": 10
    },
    {
      "name": "devServer configuration",
      "description": "Includes a 'devServer' property in the configuration object with appropriate settings",
      "max_score": 15
    },
    {
      "name": "HTTPS enablement",
      "description": "Sets the 'https' property in devServer configuration to enable HTTPS mode",
      "max_score": 20
    },
    {
      "name": "Custom certificate support",
      "description": "Configures 'cert' and 'key' properties within the https configuration to accept custom certificate file paths",
      "max_score": 25
    },
    {
      "name": "Environment variable integration",
      "description": "Reads certificate and key file paths from environment variables (CERT_PATH and KEY_PATH) using process.env",
      "max_score": 20
    },
    {
      "name": "Server configuration",
      "description": "Correctly sets 'port' to 3333 and includes output target with 'www' directory in the configuration",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-stencil--core

tile.json