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

{
  "context": "This criteria evaluates how well the engineer uses the @lightdash/common package to configure join relationships between tables in an Explore data model. The focus is on proper usage of join types, relationship specifications, and SQL ON clause configurations.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Join Type Configuration",
      "description": "Uses proper join type enums or constants from @lightdash/common (e.g., CompiledJoinType, SupportedJoinType) for LEFT, INNER, FULL join configurations rather than plain strings",
      "max_score": 25
    },
    {
      "name": "Relationship Type Usage",
      "description": "Correctly uses relationship type definitions from @lightdash/common (e.g., SupportedRelationshipType with values like ONE_TO_MANY, MANY_TO_ONE, ONE_TO_ONE, MANY_TO_MANY) to specify table cardinality",
      "max_score": 25
    },
    {
      "name": "Explore Structure",
      "description": "Properly structures the configuration using @lightdash/common types such as CompiledExplore, CompiledTable, or CompiledExploreJoin to represent the base table and joined tables",
      "max_score": 30
    },
    {
      "name": "SQL ON Clauses",
      "description": "Correctly implements SQL ON clause configuration by setting the sqlOn property on joined tables with proper field references following the table.field format",
      "max_score": 20
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-lightdash--common

tile.json