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 effectively the engineer utilizes @lightdash/common's filter utility functions to work with nested filter groups. The focus is on proper usage of getFilterRulesFromGroup and countTotalFilterRules functions to extract and count filter rules from complex nested structures.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses getFilterRulesFromGroup",
"description": "The extractAllFilters function correctly uses getFilterRulesFromGroup from @lightdash/common to extract all filter rules from the nested filter group structure",
"max_score": 40
},
{
"name": "Uses countTotalFilterRules",
"description": "The countFilters function correctly uses countTotalFilterRules from @lightdash/common to count all filter rules in the filter group",
"max_score": 40
},
{
"name": "Proper type imports",
"description": "Imports FilterGroup and FilterRule types from @lightdash/common and uses them correctly in function signatures",
"max_score": 10
},
{
"name": "Combines utilities correctly",
"description": "The generateFilterSummary function correctly combines both getFilterRulesFromGroup and countTotalFilterRules to produce the summary object",
"max_score": 10
}
]
}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