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

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

Version

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