or run

npx @tessl/cli init
Log in

Version

Files

tile.json

rubric.jsonevals/scenario-6/

{
  "context": "Evaluates how well the solution configures plotly.js-dist to accept custom trace/transform modules and a registered locale, then renders charts through the provided helpers. Checks focus purely on correct Plotly API usage for module/locale registration and rendering.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Trace registration",
      "description": "Calls Plotly.register with the provided trace module before any render and feeds data whose type matches that module so Plotly keeps the custom trace on the created figure.",
      "max_score": 25
    },
    {
      "name": "Transform support",
      "description": "When a transform module is supplied, registers it with Plotly.register and renders data that references the transform type so Plotly applies it without errors.",
      "max_score": 15
    },
    {
      "name": "Locale registration",
      "description": "Registers the locale object via Plotly.register and sets it as the default (using Plotly.setPlotConfig or per-render config.locale/layout.locale) so returned figures report the provided locale name.",
      "max_score": 25
    },
    {
      "name": "Render with customizations",
      "description": "Creates the chart with Plotly.newPlot or Plotly.react after setup, returning the plotting element and ensuring layout/config carry the locale and the first trace uses the custom type and transform.",
      "max_score": 20
    },
    {
      "name": "Idempotent setup",
      "description": "Prevents duplicate registrations on repeated preparePlotting calls (e.g., tracks registration state instead of calling Plotly.register every time) while still keeping the custom trace and locale active on subsequent renders.",
      "max_score": 15
    }
  ]
}