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

72

1.09x
Quality

Pending

Does it follow best practices?

Impact

72%

1.09x

Average score across 20 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-7/

{
  "context": "This criteria evaluates how well the engineer uses the @lightdash/common package's email and organization validation utilities. The focus is on correct usage of the package's API functions for extracting email domains, validating organization names, and checking organization domains against public email providers.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses getEmailDomain",
      "description": "Uses the getEmailDomain() function from @lightdash/common to extract the domain from an email address in the extractEmailDomain() implementation",
      "max_score": 30
    },
    {
      "name": "Uses validateOrganizationName",
      "description": "Uses the validateOrganizationName() function from @lightdash/common to check organization name validity in the isValidOrganizationName() implementation",
      "max_score": 30
    },
    {
      "name": "Uses validateOrganizationEmailDomains",
      "description": "Uses the validateOrganizationEmailDomains() function from @lightdash/common to validate organization email domains in the checkOrganizationDomains() implementation",
      "max_score": 30
    },
    {
      "name": "Proper error handling",
      "description": "Correctly propagates errors from getEmailDomain() in extractEmailDomain() without suppressing or mishandling them",
      "max_score": 10
    }
  ]
}

tile.json