Use xpd tables when you build, revise, or review presentation tables and data grids in Python (great-tables GT, pandas Styler, Plotly go.Table, Dash AG Grid) or JavaScript and TypeScript (ag-grid-react, ag-grid-community, Plotly table traces). It checks vertical rules, zebra striping, number formatting, decimal alignment, topical row grouping, raw headers, zero-versus-missing clarity, titles and source notes, spanners, totals, and cell padding against the 44 tabular principles in rules/xpd/present.yml. See the table review guide and table gallery.
Gate a fix that is committed: run the checks, time --bench when set, count lines and compare the findings with the commit before it. Exit 1 when the fix is not kept
List only the findings of these kinds, separated by commas. Repeatable. Values: table-vertical-rules, table-zebra-striping, table-alphabetical-order, table-ungrouped-rows, table-unformatted-numbers, table-number-alignment, table-raw-header, table-missing-zero-ambiguity, table-missing-title, table-missing-source, table-flattened-heading-hierarchy, table-total-not-set-apart, table-cramped-cells, all-caps-text.
--limit <LIMIT>
20
The most findings to list of each kind, strongest first. 0 lists every finding.
--since <COMMIT>
Count the findings at this commit too, and print each count beside the count of today.
--group-by <GROUP_BY>
none
Group findings and checklist items by owning module or shared cause. Values: none (Keep the default flat per-kind listing), module (Group findings and checklist items by owning module path), cause (Group related findings by shared kind and anchor files).
--packet <N>
Emit one 1-indexed deterministic context-budgeted review packet for the Nth cluster.
--budget-lines <LINES>
300
Maximum source lines included across excerpts inside a --packet view.
--all-modules
Include checklist review items for every surveyed module, not only modules with findings.
--format <FORMAT>
Output format. Default: text on a terminal, json otherwise. Values: text, json.
--adapter <ADAPTER>
A Python adapter file or shell command that emits rendered table specs for runtime checks.
--questions
Print the inventory of table-review questions and runtime facts, with no file scan.
--book <BOOK>
Filter questions and checklist items to principles citing these books (comma-separated keys of books in rules/xpd/present.yml, such as few,jenkinson) Repeatable.
--tier <TIER>
Filter findings and checklist items to these Wilke severity tiers (comma-separated) Repeatable. Values: wrong (Mathematical or scale distortion that misstates the data), bad (Perceptual or clarity failure that impedes accurate decoding), ugly (Aesthetic or chrome flaw that leaves the data readable).