Shared TypeScript library for the Lightdash platform containing common types, utilities, and business logic for analytics workflows
Overall
score
72%
Evaluation — 72%
↑ 1.09xAgent success when using this tile
{
"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--commondocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10
scenario-11
scenario-12
scenario-13
scenario-14
scenario-15
scenario-16
scenario-17
scenario-18
scenario-19
scenario-20