Shared TypeScript library for the Lightdash platform containing common types, utilities, and business logic for analytics workflows
Overall
score
72%
Evaluation — 72%
↑ 1.09xAgent success when using this tile
{
"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--commondocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10
scenario-11
scenario-12
scenario-13
scenario-14
scenario-15
scenario-16
scenario-17
scenario-18
scenario-19
scenario-20