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

{
  "context": "This criteria evaluates how well the engineer uses Apache Superset's application configuration and initialization APIs. The focus is on correctly utilizing superset.app.create_app(), configuration management, feature flags, database connection setup, and caching configuration.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Application factory usage",
      "description": "Uses superset.app.create_app() to create the Superset application instance in the create_app() method",
      "max_score": 25
    },
    {
      "name": "Configuration loading",
      "description": "Properly loads custom configuration from the provided config_path using Flask's config.from_pyfile() or config.from_object() method",
      "max_score": 15
    },
    {
      "name": "Configuration overrides",
      "description": "Correctly applies configuration overrides using Flask's config.update() method with the config_overrides dictionary",
      "max_score": 10
    },
    {
      "name": "Feature flag manipulation",
      "description": "Modifies the FEATURE_FLAGS configuration dictionary to enable/disable feature flags in enable_feature_flags() method",
      "max_score": 15
    },
    {
      "name": "Feature flag retrieval",
      "description": "Retrieves feature flag status from the FEATURE_FLAGS configuration dictionary in get_feature_flag_status() method",
      "max_score": 10
    },
    {
      "name": "Database URI configuration",
      "description": "Sets SQLALCHEMY_DATABASE_URI configuration variable with the provided database_uri parameter",
      "max_score": 10
    },
    {
      "name": "Connection pool settings",
      "description": "Configures connection pool parameters using SQLALCHEMY_POOL_SIZE, SQLALCHEMY_POOL_TIMEOUT, and SQLALCHEMY_POOL_RECYCLE configuration variables",
      "max_score": 10
    },
    {
      "name": "Cache configuration",
      "description": "Configures Redis cache backend and cache timeouts using CACHE_CONFIG and related timeout configuration variables (CACHE_DEFAULT_TIMEOUT, DATA_CACHE_CONFIG, THUMBNAIL_CACHE_CONFIG)",
      "max_score": 5
    }
  ]
}

Install with Tessl CLI

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

tile.json