CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-superset-ui--generator-superset

Yeoman generator that scaffolds Superset visualization plugins and packages with proper structure and boilerplate code

63

1.21x
Overview
Eval results
Files

rubric.jsonevals/scenario-7/

{
  "context": "This criteria evaluates how effectively the engineer uses Apache Superset's import/export commands and APIs to build a dashboard export tool with proper dependency resolution. The focus is on using the correct Superset models and export commands to traverse the dependency graph from dashboards through charts and datasets to databases.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Dashboard Model Usage",
      "description": "Uses superset.models.dashboard.Dashboard model to retrieve dashboard metadata by ID",
      "max_score": 15
    },
    {
      "name": "Export Command Usage",
      "description": "Uses one or more export command classes from superset.commands.*.export (e.g., ExportDashboardsCommand, ExportChartsCommand, ExportDatasetsCommand, ExportDatabasesCommand) to handle the export logic",
      "max_score": 25
    },
    {
      "name": "Dependency Traversal",
      "description": "Correctly identifies and retrieves dashboard dependencies by accessing charts through the dashboard's slices relationship, then datasets through chart's datasource, and finally database connections through dataset's database relationship",
      "max_score": 20
    },
    {
      "name": "Chart Model Usage",
      "description": "Uses superset.models.slice.Slice model to retrieve chart metadata for all charts used in the dashboard",
      "max_score": 10
    },
    {
      "name": "Dataset Model Usage",
      "description": "Uses superset.connectors.sqla.models.SqlaTable model to retrieve dataset metadata for all datasets used by the charts",
      "max_score": 10
    },
    {
      "name": "Database Model Usage",
      "description": "Uses superset.models.core.Database model to retrieve database connection metadata for all databases used by the datasets",
      "max_score": 10
    },
    {
      "name": "YAML Serialization",
      "description": "Properly serializes exported resources to YAML format, using appropriate serialization methods from the export commands or manual YAML generation",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-superset-ui--generator-superset

tile.json