tessl install tessl/npm-lightdash--common@0.2231.5Shared 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%
{
"context": "This criteria evaluates how well the engineer uses the @lightdash/common package to implement tooltip formatting for charts. The focus is on using package-provided utilities for value formatting, tooltip generation, and field-specific format configurations rather than implementing these features from scratch.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses formatItemValue",
"description": "Uses the formatItemValue utility from @lightdash/common to format values according to field configurations instead of manually implementing number formatting",
"max_score": 25
},
{
"name": "Uses ItemsMap structure",
"description": "Properly constructs and uses the ItemsMap type from @lightdash/common to map field names to their format configurations",
"max_score": 15
},
{
"name": "Uses format types",
"description": "Uses the appropriate format type definitions from @lightdash/common (Format, NumberFormat, CurrencyFormat, PercentageFormat) to configure field formatting",
"max_score": 20
},
{
"name": "Handles null values",
"description": "Uses @lightdash/common utilities or patterns for handling null/undefined values in tooltip display (e.g., checking for null before formatting, using placeholder values)",
"max_score": 15
},
{
"name": "Generates HTML output",
"description": "Properly formats tooltip output as HTML string suitable for chart libraries, following patterns used in @lightdash/common's tooltip formatters",
"max_score": 10
},
{
"name": "Uses field identification",
"description": "Uses @lightdash/common utilities like getItemId or field identification patterns to match series names to ItemsMap entries for format lookup",
"max_score": 15
}
]
}docs
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