Context quality: find gaps and test answers
Context Metrics shows where your tables, definitions and verified queries need attention. Use Improve to fix those gaps and replay questions in Eval Lab to see how well Rig answers them.
What the score measures
Open Context Studio → Context Metrics to see your score out of 100, its letter grade and the target of 80. Rig calculates the score from four measurements of your context inventory and query activity. A table counts as actively queried once it has had at least one warehouse query in the last 30 days.
Area coverage · 30%
Share of actively queried tables tagged to at least one business area.
Metric coverage · 25%
Share of actively queried tables that at least one draft or certified metric reads.
Documentation · 25%
Average of the share of all tables described and the share of all columns described.
Verification · 20%
Average of the share of metrics certified and the share of query patterns that executed successfully.
Hover over a score to see how Rig calculated it. The Biggest gap banner shows which measured component could add the most points if it reached target. Follow its suggested action to see where to start.
Quality by area
Filter or sort the area table to find gaps in a business area. Click a row to open its details, including its tables, questions and suggested next moves. Click a table count to browse those tables in Context Studio. The Untagged row opens suggestions for tables with no area. Context editors can tag tables there, one at a time or in bulk.
An area score uses its table descriptions (40%), metric coverage (40%) and successfully executed query patterns (20%, scaled to the area with the most). The table shows two other signals separately: Governed tracks answers attributed to the area that used a certified metric over the last 30 days, and Eval uses the latest grade for each graded question in the area.
Find gaps and contributors
Open Gap tables for the busiest tables missing an area tag, a metric or column descriptions. The default sort puts the highest query volume over the last 30 days first. Click a table name to open it in Studio.
Top contributors shows the most queried tables. With context editing access, you can also see who contributed edits and who asked the most questions.
Prioritize fixes in Improve
Improve → Path to 80 ranks suggested edits by estimated score points per minute. Context editors can tag tables, fill in descriptions and certify metrics in the guided steps. Open All actions to filter the full list.
Use Workbench to investigate a specific issue across tables, areas and evals. Pick a preset or narrow the list yourself. For example, type:table missing:area finds unassigned tables. Copy link shares the current filters and selection.
Grade real answers with Eval Lab
Improve → Eval Lab replays questions through Rig's chat engine as a dedicated test user. With context editing access, add your own questions or bring recurring ones over from What people ask. Run the full benchmark, filter to an area, or rerun a single question. The default test role is viewer. If the role picker is available, choose the role whose access you want to test.
Results can be Good answer, Flagged or No answer. Open a result to review its reasoning, answer and generated SQL when available. Timeouts and system failures are shown separately and excluded from the pass rate.
For a question with a known correct answer, add canonical SQL. A different editor must approve it before Rig can compare query results against it. When that comparison can't grade a result, or there's no approved SQL, an AI judge assesses the answer.
Review questions, pushback and access
- In What people ask, context editors can search and filter questions from MCP traffic and add recurring questions to the eval set.
- MCP pushback rate shows how often people correct or doubt an answer in their follow-up, with trends by week and area. The rate uses only the turns Rig has classified so far.
- In Access check, context editors can choose a role and check which tables and virtual data models it can see and read, and which columns are masked.
A simple weekly workflow
- Check the biggest gap in Context Metrics, then pick an area or a busy table to improve.
- Use Path to 80 for a guided edit or Workbench to find related gaps.
- Replay a few questions that matter to your team. If one is flagged, check the result before deciding what to change. A wrong join and a wrong time period need different fixes.
Keep improving your context
Use Context Studio to edit definitions, or mark the tables your team endorses with Gold star.