Shared TypeScript library for the Lightdash platform containing common types, utilities, and business logic for analytics workflows
72
Pending
Does it follow best practices?
Impact
72%
1.09xAverage score across 20 eval scenarios
Pending
The risk profile of this skill
{
"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