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

{
  "context": "This criteria evaluates how well the engineer uses @lightdash/common's warehouse adapter abstraction layer to implement multi-warehouse SQL formatting utilities. The focus is on utilizing the package's warehouse-specific utilities for field quoting, string escaping, and SQL generation.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Warehouse type handling",
      "description": "Uses @lightdash/common's WarehouseType or equivalent type system to handle different warehouse types (BigQuery, Postgres, Snowflake, etc.) rather than implementing custom type checking",
      "max_score": 15
    },
    {
      "name": "Field quoting utilities",
      "description": "Uses @lightdash/common's field quoting utilities (e.g., quoteFieldName, getQuoteChar, or similar functions) to implement warehouse-specific field name quoting instead of manually handling quote characters",
      "max_score": 25
    },
    {
      "name": "String escaping functions",
      "description": "Uses @lightdash/common's string escaping utilities (e.g., escapeStringLiteral, quoteStringLiteral, or similar functions) for handling SQL string literals with proper escaping",
      "max_score": 20
    },
    {
      "name": "Date truncation utilities",
      "description": "Uses @lightdash/common's date/time SQL generation utilities (e.g., getDateTruncSql, generateTimestampSql, or warehouse adapter methods) for creating warehouse-specific date truncation SQL",
      "max_score": 20
    },
    {
      "name": "String concatenation helpers",
      "description": "Uses @lightdash/common's string concatenation utilities (e.g., getConcatSql, warehouse adapter methods, or similar functions) for generating warehouse-specific concatenation SQL",
      "max_score": 20
    }
  ]
}

Version

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