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

{
  "context": "This criteria evaluates how well the engineer uses @lightdash/common's field set expansion capabilities to implement order-preserving deduplication. The focus is on correctly handling set references, exclusions, nested sets, and maintaining proper field order while removing duplicates.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Set reference parsing",
      "description": "Correctly identifies and processes field references ending with '*' as set references that need expansion",
      "max_score": 15
    },
    {
      "name": "Exclusion prefix handling",
      "description": "Correctly identifies and processes field references starting with '-' as exclusions to remove from the final result",
      "max_score": 15
    },
    {
      "name": "Order preservation",
      "description": "Maintains the original order of fields as they appear during expansion, ensuring the first occurrence of each field determines its position",
      "max_score": 20
    },
    {
      "name": "Deduplication logic",
      "description": "Uses a Set or equivalent data structure to track seen fields and prevents duplicate fields from appearing in the final result",
      "max_score": 20
    },
    {
      "name": "Nested set expansion",
      "description": "Correctly handles one level of nested set references where a set can contain references to other sets (e.g., outer_set contains inner_set*)",
      "max_score": 15
    },
    {
      "name": "Error handling",
      "description": "Properly throws errors for non-existent sets, circular references, and deep nesting violations (more than one level)",
      "max_score": 10
    },
    {
      "name": "Exclusion application",
      "description": "Applies exclusions correctly by filtering out fields marked with '-' prefix from the expanded results",
      "max_score": 5
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-lightdash--common

tile.json