CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-lightdash--common

Shared TypeScript library for the Lightdash platform containing common types, utilities, and business logic for analytics workflows

Overall
score

72%

Evaluation72%

1.09x

Agent success when using this tile

Overview
Eval results
Files

rubric.jsonevals/scenario-19/

{
  "context": "This criteria evaluates how well the engineer uses @lightdash/common to implement the symbol visibility heuristic for chart visualization. The solution should import and use the CartesianSeriesType enum from the package, and correctly determine when to show or hide symbols based on data point count and chart type using the specific threshold value of 100.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "CartesianSeriesType usage",
      "description": "Imports and uses CartesianSeriesType enum from '@lightdash/common' package as the function parameter type",
      "max_score": 25
    },
    {
      "name": "LINE type check",
      "description": "Compares the chartType parameter against CartesianSeriesType.LINE to determine if symbols should be conditionally shown",
      "max_score": 25
    },
    {
      "name": "Threshold logic",
      "description": "Implements the 100 data point threshold (dataPointCount <= 100) for showing symbols on LINE charts",
      "max_score": 20
    },
    {
      "name": "Symbol configuration",
      "description": "Sets showSymbol to true and symbolSize to 4 for LINE charts with ≤100 points; sets showSymbol to false and symbolSize to 0 for all other cases",
      "max_score": 20
    },
    {
      "name": "Return structure",
      "description": "Returns an object conforming to SymbolConfig interface with both showSymbol (boolean) and symbolSize (number) properties",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-lightdash--common

tile.json