CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-lightdash--common

Shared TypeScript library for the Lightdash platform containing common types, utilities, and business logic for analytics workflows

Overall
score

72%

Evaluation72%

1.09x

Agent success when using this tile

Overview
Eval results
Files

rubric.jsonevals/scenario-16/

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

Install with Tessl CLI

npx tessl i tessl/npm-lightdash--common

tile.json