What it shows
Query Lab is a two-pane workspace rather than a chart:- Editor pane: a SQL editor where you write DuckDB SQL against any registered table.
- Results grid: the rows your query returns, rendered as a sortable table.
- Registered tables: every gold mart published by the dbt pipeline is registered by name (
fct_lap_residuals,fct_driver_skill_features,fct_cliff_prediction_features,dim_compounds_season, and the dimension tables), queryable exactly as they appear in the warehouse.
Query Lab is the one shipped feature that is not a FeaturePage module it is a bespoke editor page (
/query) with no chart methodology drawer. It is documented here by hand rather than harvested from a methodology.tsx.How to use it
- Open Query Lab from the sidebar (or at
/query). - Wait for the engine indicator in the top bar to turn green DuckDB-Wasm has finished loading the Parquet files.
- Write a query against any registered table and run it; results render in the grid below.
- Iterate locally every run executes in your browser, so there is no rate limit and nothing leaves the page.
Reading the signal correctly
Query Lab queries the published gold marts, the same tables the charts read so a number you compute here will match the corresponding chart when you apply the same filters (clean-lap gates, anomaly exclusions, minimum samples). If a hand query disagrees with a chart, the difference is almost always an inclusion filter the chart applies that your query does not.Data source
Query Lab registers the full set of published gold marts via DuckDB-Wasm in the browser; there is no single backing model. The complete column-level catalog for every table lives in the Reference tab.
The data window covers 2018–2024.
For the full table and column catalog, browse the model reference and the other entries in the Reference tab.