or run

npx @tessl/cli init
Log in

Version

Files

docs

chart-components.mdchart-plugins.mddata-transformation.mdform-data.mdindex.mdquery-building.md
tile.json

rubric.jsonevals/scenario-7/

{
  "context": "This criteria evaluates how effectively the engineer uses Apache Superset's data exploration and query building APIs to implement an interactive data exploration tool. The evaluation focuses on proper usage of Superset's QueryContext, dataset management, and query execution capabilities.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Dataset Connection",
      "description": "Uses Superset's Dataset or SqlaTable model to connect to and define the dataset, including proper configuration of table_name, database reference, and column definitions.",
      "max_score": 12
    },
    {
      "name": "Column Metadata Retrieval",
      "description": "Uses Superset's dataset.columns or get_columns() API to retrieve column metadata (names and types) from the dataset, rather than hardcoding column information.",
      "max_score": 8
    },
    {
      "name": "Column Selection",
      "description": "Uses Superset's QueryObject with the 'columns' parameter to specify which columns to include in query results, demonstrating understanding of Superset's query specification format.",
      "max_score": 15
    },
    {
      "name": "Aggregation Metrics",
      "description": "Uses Superset's adhoc metrics or SqlMetric definitions with proper aggregate expressions (e.g., SUM, AVG, COUNT) to create aggregations on columns, using the correct metric configuration structure.",
      "max_score": 20
    },
    {
      "name": "Filter Application",
      "description": "Uses Superset's adhoc filters or filter configuration in QueryObject to apply filter conditions, with proper specification of column, operator, and value using Superset's filter format.",
      "max_score": 20
    },
    {
      "name": "Time Range Filtering",
      "description": "Uses Superset's time_range parameter in QueryObject to apply time-based filtering, supporting both relative ranges (e.g., 'Last 7 days') and absolute date ranges using Superset's time range format.",
      "max_score": 10
    },
    {
      "name": "Query Execution",
      "description": "Uses Superset's QueryContext.get_payload() or chart data API to execute the configured query and retrieve results, handling the response format correctly.",
      "max_score": 10
    },
    {
      "name": "CSV Export",
      "description": "Implements CSV export functionality, either using Superset's built-in export capabilities or properly formatting query results into CSV, including headers and data rows.",
      "max_score": 5
    }
  ]
}