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

Version

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