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-9/

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

Version

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