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

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

Install with Tessl CLI

npx tessl i tessl/npm-lightdash--common

tile.json