Practical Data / tests

Recorded answers from jev-latest

Testing data decisions about tables

The extension pings a decision model (Jev, Clef, etc.) with short questions about each table; this determines which columns to shade, which direction is better, and a handful of other useful things.

These pages serve as both an overview of the kinds of coverage and decisions Practical Data makes about tables, and as a sort of set of evals for the extension's performance going forward. I hope you find them useful for understanding how the tool works.

I copied the tables from 20 public pages during build-out and hand-labeled their columns. Each check compares one decision with how I labelled it. The checks answers were recorded, so you don't need a model key to run them again: npm run eval -- --offline.

Practical Data handles 361 of 365 hand-labeled checks. The 4 failures show 4 known limitations of the tool.

Checks

CheckQuestionPass
Shade or ignore a table?Is it useful to compare the values in this column?207 / 209
Which direction is better?Is a higher value better, a lower value better, or neither?121 / 121
Log or linear scale?Are ratios more important than differences?13 / 13
Order of labelsWhich label is the lower grade?5 / 6
Totals and averagesIs this row a total?3 / 3
Shared scalesDo columns in two tables use one scale?9 / 10
Rows or columns?Do you compare values down a column or across a row?3 / 3

More

CI also runs 584 checks on 40 synthetic pages, for layouts such as dark pages and tables that change after load. This site does not show them.