CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-lightdash--common

tessl install tessl/npm-lightdash--common@0.2231.5

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

Agent Success

Agent success rate when using this tile

72%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.09x

Baseline

Agent success rate without this tile

66%

rubric.jsonevals/scenario-18/

{
  "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
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/@lightdash/common@0.2231.x
tile.json